[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Search for the bootloader without using the root path. (#452223)
- From: Joel Granados Moreno <jgranado redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH] Search for the bootloader without using the root path. (#452223)
- Date: Wed, 7 Jan 2009 15:21:05 +0100
---
iw/upgrade_bootloader_gui.py | 6 ++++++
textw/upgrade_bootloader_text.py | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/iw/upgrade_bootloader_gui.py b/iw/upgrade_bootloader_gui.py
index b9ba540..9667fad 100644
--- a/iw/upgrade_bootloader_gui.py
+++ b/iw/upgrade_bootloader_gui.py
@@ -64,6 +64,12 @@ class UpgradeBootloaderWindow (InstallWindow):
(self.type, self.bootDev) = \
checkbootloader.getBootloaderTypeAndBoot(dispatch.instPath)
+ # We will try once more without a root path to see if we can find the bootloader.
+ if self.type is None and self.bootDev is None:
+ (self.type, self.bootDev) = \
+ checkbootloader.getBootloaderTypeAndBoot(dispatch.instPath)
+
+
self.update_radio = gtk.RadioButton(None, _("_Update boot loader configuration"))
updatestr = _("This will update your current boot loader.")
diff --git a/textw/upgrade_bootloader_text.py b/textw/upgrade_bootloader_text.py
index a332c8d..ae9af39 100644
--- a/textw/upgrade_bootloader_text.py
+++ b/textw/upgrade_bootloader_text.py
@@ -31,6 +31,12 @@ class UpgradeBootloaderWindow:
(self.type, self.bootDev) = \
checkbootloader.getBootloaderTypeAndBoot(dispatch.instPath)
+ # We will try once more without a root path to see if we can find the bootloader.
+ if self.type is None and self.bootDev is None:
+ (self.type, self.bootDev) = \
+ checkbootloader.getBootloaderTypeAndBoot(dispatch.instPath)
+
+
blradio = RadioGroup()
(update, newbl, nobl) = (0, 0, 0)
--
1.5.6.5
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]