summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-04 00:55:24 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-04 00:55:24 +0000
commitf59714c4a2a5147ea7360c2c24309429c0e9f53f (patch)
treeabbbb90016adaef3a1367aa49f7b1265ca74e450 /textw
parentce165c1a2a764c9316fe8c71a0a5a1fac7d136bd (diff)
downloadanaconda-f59714c4a2a5147ea7360c2c24309429c0e9f53f.tar.gz
anaconda-f59714c4a2a5147ea7360c2c24309429c0e9f53f.tar.xz
anaconda-f59714c4a2a5147ea7360c2c24309429c0e9f53f.zip
no lilo on x86_64
Diffstat (limited to 'textw')
-rw-r--r--textw/bootloader_text.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py
index 7b8542ab9..65197729c 100644
--- a/textw/bootloader_text.py
+++ b/textw/bootloader_text.py
@@ -44,7 +44,10 @@ class BootloaderChoiceWindow:
blradio = RadioGroup()
grub = blradio.add(_("Use GRUB Boot Loader"), "grub", useGrub)
- lilo = blradio.add(_("Use LILO Boot Loader"), "lilo", useLilo)
+ if 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 ] )
@@ -52,7 +55,8 @@ class BootloaderChoiceWindow:
"btloadinstall", 1, 5)
grid.add(t, 0, 0, (0,0,0,1))
grid.add(grub, 0, 1, (0,0,0,0))
- grid.add(lilo, 0, 2, (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)