summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py
index 74aa5e57e..e7d846519 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -40,10 +40,12 @@ def bootloaderSetupChoices(anaconda):
if flags.livecd:
return
- if anaconda.id.ksdata:
+ if anaconda.id.ksdata and anaconda.id.ksdata.bootloader.driveorder:
anaconda.id.bootloader.updateDriveList(anaconda.id.ksdata.bootloader.driveorder)
else:
- anaconda.id.bootloader.updateDriveList()
+ #We want the selected bootloader drive to be preferred
+ pref = anaconda.id.bootloader.drivelist[:1]
+ anaconda.id.bootloader.updateDriveList(pref)
# iSeries bootloader on upgrades
if iutil.getPPCMachine() == "iSeries" and not anaconda.id.bootloader.device: