summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-10-08 16:57:08 +0200
committerRadek Vykydal <rvykydal@redhat.com>2009-10-08 17:07:14 +0200
commit9a8d866fe74378918dc2db6a5f277014782f203f (patch)
tree0271bdc89455dc74120a032da1e51fd897aff29c /bootloader.py
parent468586327a4230117a253d64bad9c94d04517e4d (diff)
downloadanaconda-9a8d866fe74378918dc2db6a5f277014782f203f.tar.gz
anaconda-9a8d866fe74378918dc2db6a5f277014782f203f.tar.xz
anaconda-9a8d866fe74378918dc2db6a5f277014782f203f.zip
Default to mbr bootloader target for mdraid 1 boot device too (#526822).
It used to be so, because for boot device target (/dev/mdX) we installed into MBRs anyway. With Hans's patch 45a7048e5f56316e052e4699b5ec70aa291ddd5e we do what we promise (install to boot device) in this case, but it is a change and it doesn't seem to be expected as default by users.
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py
index 0847f7ed3..396085166 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -110,8 +110,7 @@ def bootloaderSetupChoices(anaconda):
anaconda.id.bootloader.setDevice(choices[anaconda.id.bootloader.defaultDevice][0])
elif choices and iutil.isMactel() and choices.has_key("boot"): # haccckkkk
anaconda.id.bootloader.setDevice(choices["boot"][0])
- elif choices and choices.has_key("mbr") and not \
- (choices.has_key("boot") and choices["boot"][1] == N_("RAID Device")):
+ elif choices and choices.has_key("mbr"):
anaconda.id.bootloader.setDevice(choices["mbr"][0])
elif choices and choices.has_key("boot"):
anaconda.id.bootloader.setDevice(choices["boot"][0])