summaryrefslogtreecommitdiff
path: root/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch')
-rw-r--r--dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch b/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch
new file mode 100644
index 00000000..17de6606
--- /dev/null
+++ b/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch
@@ -0,0 +1,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)