[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH] Search for the bootloader without using the root path. (#452223)
- From: Martin Sivak <msivak redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: [PATCH] Search for the bootloader without using the root path. (#452223)
- Date: Wed, 7 Jan 2009 09:57:51 -0500 (EST)
Hi,
what bootloader will it look for in the / of installer environment? Shouldn't it be the same set of /dev files to iterate through? Moreover, the set of config files is going to be different, as installer media use syslinux or some other stuff..
Martin
----- Original Message -----
From: "Joel Granados" <jgranado redhat com>
To: "Discussion of Development and Customization of the Red Hat Linux Installer" <anaconda-devel-list redhat com>
Sent: Wednesday, January 7, 2009 3:31:25 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [PATCH] Search for the bootloader without using the root path. (#452223)
----- "Joel Granados Moreno" <jgranado redhat com> wrote:
> ---
> 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)
I just realized the obvious mistake of leaving "dispatch.instPath" as an argument. I have already modified the patch so the function call is "checkbootloader.getBootloaderTypeAndBoot()". Any other issues?
> +
> +
> 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
--
Joel Andres Granados
Red Hat / Brno Czech Republic
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]