summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-02-21 01:56:13 +0000
committerPeter Jones <pjones@redhat.com>2005-02-21 01:56:13 +0000
commite6e5d7da11b658ad6cf506bc4b648fb5945b2bed (patch)
treee4a954f35f20967d7ca0f4f0bff2eff817aa3f01 /textw
parentd6184c707a14cd28b82694a42844d9958e0e64fe (diff)
downloadanaconda-e6e5d7da11b658ad6cf506bc4b648fb5945b2bed.tar.gz
anaconda-e6e5d7da11b658ad6cf506bc4b648fb5945b2bed.tar.xz
anaconda-e6e5d7da11b658ad6cf506bc4b648fb5945b2bed.zip
No longer use lilo.
Diffstat (limited to 'textw')
-rw-r--r--textw/bootloader_text.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py
index ae39d3427..784e3ba61 100644
--- a/textw/bootloader_text.py
+++ b/textw/bootloader_text.py
@@ -30,23 +30,13 @@ class BootloaderChoiceWindow:
if dispatch.stepInSkipList("instbootloader"):
useGrub = 0
- useLilo = 0
noBl = 1
- elif not bl.useGrub():
- useGrub = 0
- useLilo = 1
- noBl = 0
else:
useGrub = 1
- useLilo = 0
noBl = 0
blradio = RadioGroup()
grub = blradio.add(_("Use GRUB Boot Loader"), "grub", useGrub)
- if bootloader.showLilo and iutil.getArch() == "i386":
- lilo = blradio.add(_("Use LILO Boot Loader"), "lilo", useLilo)
- else:
- lilo = None
skipbl = blradio.add(_("No Boot Loader"), "nobl", noBl)
buttons = ButtonBar(screen, [TEXT_OK_BUTTON, TEXT_BACK_BUTTON ] )
@@ -54,8 +44,6 @@ class BootloaderChoiceWindow:
"btloadinstall", 1, 5)
grid.add(t, 0, 0, (0,0,0,1))
grid.add(grub, 0, 1, (0,0,0,0))
- if lilo is not None:
- grid.add(lilo, 0, 2, (0,0,0,0))
grid.add(skipbl, 0, 3, (0,0,0,1))
grid.add(buttons, 0, 4, growx = 1)
@@ -88,10 +76,6 @@ class BootloaderChoiceWindow:
# kind of a hack...
bl.defaultDevice = None
- elif blradio.getSelection() == "lilo":
- bl.setUseGrub(0)
- dispatch.skipStep("instbootloader", 0)
- dispatch.skipStep("bootloaderadvanced", 0)
else:
bl.setUseGrub(1)
dispatch.skipStep("instbootloader", 0)