The parted list should be pretty much in sync, but this way saves some trouble with resolving the parted partition paths to devices in the devicetree. --- pyanaconda/ui/gui/spokes/lib/resize.py | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/resize.py b/pyanaconda/ui/gui/spokes/lib/resize.py index 47054c1..7b89ea0 100644 --- a/pyanaconda/ui/gui/spokes/lib/resize.py +++ b/pyanaconda/ui/gui/spokes/lib/resize.py @@ -116,9 +116,7 @@ class ResizeDialog(GUIObject): diskReclaimableSpace = 0
# Then add all its partitions. - for part in disk.format.partitions: - dev = self.storage.devicetree.getDeviceByPath(part.path) - + for dev in self.storage.devicetree.getChildren(disk): if dev.isExtended and disk.format.logicalPartitions: continue