diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-05-07 00:14:42 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-05-07 00:14:42 +0000 |
commit | b5c7e1307f40563a6f78a47d3af29d4407e5ea3d (patch) | |
tree | 7da70c11f7fd4ab4bc0747bbd1329338c7eb9dc7 /textw | |
parent | bea3a58a0c1325334861303210ab6da73cd9f4c5 (diff) | |
download | anaconda-b5c7e1307f40563a6f78a47d3af29d4407e5ea3d.tar.gz anaconda-b5c7e1307f40563a6f78a47d3af29d4407e5ea3d.tar.xz anaconda-b5c7e1307f40563a6f78a47d3af29d4407e5ea3d.zip |
make the bootloader choices thing actually use the bootloader device order
so that we can do things like avoid saying the mbr is on a removable device.
abstract out part of the fsset.bootloaderChoices logic so that it can
be used without the bootloader object as needed
Diffstat (limited to 'textw')
-rw-r--r-- | textw/bootloader_text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py index c4a483d7f..d1f47dd21 100644 --- a/textw/bootloader_text.py +++ b/textw/bootloader_text.py @@ -153,7 +153,7 @@ class BootloaderLocationWindow: def __call__(self, screen, dispatch, bl, fsset, diskSet): if dispatch.stepInSkipList("instbootloader"): return INSTALL_NOOP - choices = fsset.bootloaderChoices(diskSet) + choices = fsset.bootloaderChoices(diskSet, bl) if len(choices.keys()) == 1: bl.setDevice(choices[choices.keys()[0]][0]) return INSTALL_NOOP |