summaryrefslogtreecommitdiff
path: root/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch
blob: 17de660676b2a015bcaf402b448b9c0fc87cdfb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/blivet/formats/disklabel.py b/blivet/formats/disklabel.py
index 5015548..9071596 100644
--- a/blivet/formats/disklabel.py
+++ b/blivet/formats/disklabel.py
@@ -304,6 +304,7 @@ class DiskLabel(DeviceFormat):
             raise DiskLabelCommitError(msg)
         else:
             self.updateOrigPartedDisk()
+            udev_settle()
 
     def addPartition(self, *args, **kwargs):
         partition = kwargs.get("partition", None)