summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-05-07 00:14:42 +0000
committerJeremy Katz <katzj@redhat.com>2002-05-07 00:14:42 +0000
commitb5c7e1307f40563a6f78a47d3af29d4407e5ea3d (patch)
tree7da70c11f7fd4ab4bc0747bbd1329338c7eb9dc7 /textw
parentbea3a58a0c1325334861303210ab6da73cd9f4c5 (diff)
downloadanaconda-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.py2
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