summaryrefslogtreecommitdiffstats
path: root/textw/bootloader_text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-02 21:25:17 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-02 21:25:17 +0000
commit5959fbcbc7105ad6c7a42df5179ad1ed07e4956d (patch)
treefc60854422d29d6eb7f53c17505349d58267efca /textw/bootloader_text.py
parent3999f2873bd66f94dba992034519248406c8e6e7 (diff)
downloadanaconda-5959fbcbc7105ad6c7a42df5179ad1ed07e4956d.tar.gz
anaconda-5959fbcbc7105ad6c7a42df5179ad1ed07e4956d.tar.xz
anaconda-5959fbcbc7105ad6c7a42df5179ad1ed07e4956d.zip
make some of the bootloader bits more generic in preparation of landing the
ia64 bootloader bits. this also makes lilo work again for those poor souls who don't realize how nice grub is :)
Diffstat (limited to 'textw/bootloader_text.py')
-rw-r--r--textw/bootloader_text.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py
index 1518b7880..2ff3ff41a 100644
--- a/textw/bootloader_text.py
+++ b/textw/bootloader_text.py
@@ -189,8 +189,11 @@ class BootloaderImagesWindow:
sortedKeys.sort()
for dev in sortedKeys:
- (label, type) = images[dev]
- listbox.append(self.formatDevice(type, label, dev, default), dev)
+ (label, longlabel, type) = images[dev]
+ if not bl.useGrub():
+ listbox.append(self.formatDevice(type, label, dev, default), dev)
+ else:
+ listbox.append(self.formatDevice(type, longlabel, dev, default), dev)
listbox.setCurrent(dev)