diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-02 21:25:17 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-02 21:25:17 +0000 |
commit | 5959fbcbc7105ad6c7a42df5179ad1ed07e4956d (patch) | |
tree | fc60854422d29d6eb7f53c17505349d58267efca /textw/bootloader_text.py | |
parent | 3999f2873bd66f94dba992034519248406c8e6e7 (diff) | |
download | anaconda-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.py | 7 |
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) |