[PATCH 7/7] Call udev_settle from inside udev_trigger.

David Lehman dlehman at redhat.com
Wed Dec 5 23:45:34 UTC 2012


You always want to let things settle, so just take care of it.
---
 pyanaconda/baseudev.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/baseudev.py b/pyanaconda/baseudev.py
index 3c60348..1e08da8 100644
--- a/pyanaconda/baseudev.py
+++ b/pyanaconda/baseudev.py
@@ -92,3 +92,4 @@ def udev_trigger(subsystem=None, action="add", name=None):
         argv.append("--sysname-match=%s" % name)
 
     iutil.execWithRedirect("udevadm", argv, stderr="/dev/null")
+    udev_settle()
-- 
1.7.7.6



More information about the anaconda-patches mailing list