[master 1/1] The EXTLINUX MD RAID1 metadata 1.0 support

cinquecento installerbot-noreply at redhat.com
Wed Jul 29 07:17:52 UTC 2015


From: cinquecento <pomidorabelisima at gmail.com>

The EXTLINUX MD RAID1 metadata 1.0 support,
complements the EXTLINUX MD RAID1 support in the Anaconda installer.
---
 blivet/devices/md.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/blivet/devices/md.py b/blivet/devices/md.py
index 6efafe9..9f2fd5c 100644
--- a/blivet/devices/md.py
+++ b/blivet/devices/md.py
@@ -485,7 +485,9 @@ def preCommitFixup(self):
         """ Determine create parameters for this set """
         log_method_call(self, self.name)
         # UEFI firmware/bootloader cannot read 1.1 or 1.2 metadata arrays
-        if getattr(self.format, "mountpoint", None) == "/boot/efi":
+        # The EXTLINUX can read 0.9 or 1.0 RAID1 metadata
+        if getattr(self.format, "mountpoint", None) == "/boot/efi" or \
+           getattr(self.format, "mountpoint", None) == "/boot":
             self.metadataVersion = "1.0"
 
     def _postCreate(self):


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/3700e36bb9fd4f0ebdae68759877acf69a2266b6


More information about the anaconda-patches mailing list