[PATCH 1/5] Let udev settle between writing partition flags and formatting. (#1109244)

David Lehman dlehman at redhat.com
Thu Oct 9 21:53:53 UTC 2014


---
 blivet/deviceaction.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/blivet/deviceaction.py b/blivet/deviceaction.py
index 8d0666b..d004bf4 100644
--- a/blivet/deviceaction.py
+++ b/blivet/deviceaction.py
@@ -543,6 +543,7 @@ class ActionCreateFormat(DeviceAction):
                 self.device.partedPartition.system = self.format.partedSystem
 
             self.device.disk.format.commitToDisk()
+            udev.settle()
 
         if isinstance(self.device.format, luks.LUKS):
             # LUKS needs to wait for random data entropy if it is too low
-- 
1.9.3



More information about the anaconda-patches mailing list