summaryrefslogtreecommitdiffstats
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:03:57 +0200
commit3167fc05623ab5707f67397981337caf26314ead (patch)
tree8789e311998d39053cf67ed28a0a4f995af6eaf6
parentadef01a75661a82796426a9523e753dded93387d (diff)
downloadanaconda-3167fc05623ab5707f67397981337caf26314ead.tar.gz
anaconda-3167fc05623ab5707f67397981337caf26314ead.tar.xz
anaconda-3167fc05623ab5707f67397981337caf26314ead.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.
-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])