aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/fe/dialog/gli-dialog.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/fe/dialog/gli-dialog.py b/src/fe/dialog/gli-dialog.py
index 79e2b72..92c5c2f 100755
--- a/src/fe/dialog/gli-dialog.py
+++ b/src/fe/dialog/gli-dialog.py
@@ -1070,7 +1070,7 @@ Press OK to continue""")
# This section will be for choosing kernel sources, choosing (and specifying) a custom config or genkernel, modules to load at startup, etc.
kernel_sources = [("livecd-kernel", _(u"Copy over the current running kernel (fastest)")),
("vanilla-sources", _(u"The Unaltered Linux Kernel ver 2.6+ (safest)")),
- ("gentoo-sources", _(u"Gentoo's optimized 2.6+ kernel. (less safe)")),
+ ("gentoo-sources", _(u"Gentoo's optimized 2.6+ kernel. (less safe)")+" (RECOMMENDED)"), #FIXME LANGUAGE
("hardened-sources", _(u"Hardened sources for the 2.6 kernel tree")),
("grsec-sources",_(u"Vanilla sources with grsecurity patches")),
(_(u"Other"), _(u"Choose one of the other sources available."))]
@@ -1136,11 +1136,10 @@ Press OK to continue""")
for drive in self._drives:
boot_drive_choices.append((drive, self._devices[drive].get_model()))
arch_loaders = { 'x86': [
- ("grub",_(u"GRand Unified Bootloader, newer, RECOMMENDED"))],
+ ("grub",_(u"GRand Unified Bootloader, newer, RECOMMENDED")),
+ ("lilo",_(u"LInux LOader, older, traditional.(detects windows partitions)"))],
'amd64': [
("grub",_(u"GRand Unified Bootloader, newer, RECOMMENDED"))]} #FIXME ADD OTHER ARCHS
- if not self.networkless:
- arch_loaders['x86'].append(("lilo",_(u"LInux LOader, older, traditional.(detects windows partitions)")))
boot_loaders = arch_loaders[self._arch]
boot_loaders.append(("none", _(u"Do not install a bootloader. (System may be unbootable!)")))
boot_string1 = _(u"To boot successfully into your new Linux system, a bootloader will be needed. If you already have a bootloader you want to use you can select None here. The bootloader choices available are dependent on what GLI supports and what architecture your system is. Choose a bootloader")
@@ -1151,7 +1150,9 @@ Press OK to continue""")
self._install_profile.set_boot_loader_pkg(None, menuitem, None)
except:
self._d.msgbox(_(u"ERROR! Could not set boot loader pkg! ")+menuitem)
- if menuitem != "none" and self.advanced_mode:
+ if menuitem == "none":
+ return
+ if self.advanced_mode:
#Reset the Yes/No labels.
self._d.add_persistent_args(["--yes-label", _(u"Yes")])
self._d.add_persistent_args(["--no-label",_(u"No")])