FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 01-07-2009, 01:21 PM
Joel Granados Moreno
 
Default Search for the bootloader without using the root path. (#452223)

---
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

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

Thread Tools




All times are GMT. The time now is 12:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org