PATCH: Tell booty to rescan for bootable drivers when an extra disks get added

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

 



When manually adding an iscsi disk it will not show up in the where to
install the bootloader dropdown, this patch fixes this.
>From a2b6c75382e8c611e9520334370824e14b174596 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@xxxxxxxxxx>
Date: Wed, 17 Jun 2009 10:59:24 +0200
Subject: [PATCH 21/21] Tell booty to rescan for bootable drivers when an extra disks get added

When manually adding an iscsi disk it will not show up in the where to
install the bootloader dropdown, this patch fixes this.
---
 iw/autopart_type.py     |    1 +
 textw/partition_text.py |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 77b2980..0dfe719 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -473,6 +473,7 @@ class PartitionTypeWindow(InstallWindow):
                                      self.storage.clearPartDisks,
                                      self.drivelist,
                                      disallowDrives=[self.anaconda.updateSrc])
+            self.anaconda.id.bootloader.updateDriveList()
             self._fillBootStore()
             w.pop()
 
diff --git a/textw/partition_text.py b/textw/partition_text.py
index 452e9c7..504e25c 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -126,6 +126,7 @@ class PartitionTypeWindow:
             if rc == "F2":
                 if self.addDriveDialog(screen) != INSTALL_BACK:
                     anaconda.id.storage.reset()
+                    anaconda.id.bootloader.updateDriveList()
                 continue
 
             if res == TEXT_BACK_CHECK:
-- 
1.6.2.2

_______________________________________________
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