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

Various iSCSI fixes [PATCH 1/4]: anaconda-rh454135.patch



Hi All,

The attached patch only allows selection of devices known by booty as
bootloader target disk, fixing the crash reported in bug 454135


Regards,

Hans
The attached patch only allows selection of devices known by booty as
bootloader target disk, fixing the crash reported in bug 454135

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index c1366f7..714d04a 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -365,6 +365,8 @@ class PartitionTypeWindow(InstallWindow):
         else:
             defaultBoot = None
         for disk in self.diskset.disks.values():
+            if not disk.dev.path[5:] in self.anaconda.id.bootloader.drivelist:
+                continue
             size = partedUtils.getDeviceSizeMB(disk.dev)
             dispstr = "%s %8.0f MB %s" %(disk.dev.path[5:], size, disk.dev.model)
             i = bootstore.append(None)

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