[PATCH] We need to search by name without the "mapper" prefix.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/partitioning.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index e480842..e69ff1b 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -341,7 +341,7 @@ def removeEmptyExtendedPartitions(storage):
         log.debug("extended is %s ; logicals is %s" % (extended, [p.getDeviceNodeName() for p in logical_parts]))
         if extended and not logical_parts:
             log.debug("removing empty extended partition from %s" % disk.name)
-            extended_name = extended.getDeviceNodeName()
+            extended_name = devicePathToName(extended.getDeviceNodeName())
             extended = storage.devicetree.getDeviceByName(extended_name)
             storage.destroyDevice(extended)
             #disk.partedDisk.removePartition(extended.partedPartition)
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux