PATCH: only allow selection of devices known by booty as bootloader target disk

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

 



Hi All,

As I do not have any commit access to git as of yet, I'm sending my patches to the list for now.

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

Regards,

Hans
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)
_______________________________________________
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