[PATCH] Default to mbr bootloader target for md raid 1 boot device too (#526822)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It used to be so, because for boot device target (/dev/mdX) we installed to
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.  I have also one bigger
patch dealing with installation into mbr (when having mdraid boot partition)
waiting for review.
---
 bootloader.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/bootloader.py b/bootloader.py
index 0847f7e..3960851 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])
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux