[master 1/2] Use the default md metadata version even for "bootable" arrays.
dwlehman
installerbot-noreply at redhat.com
Fri May 8 15:18:58 UTC 2015
From: David Lehman <dlehman at redhat.com>
We used to use v1.0 but that was specifically because grub1 couldn't
understand v1.1 or later. Now that we've moved to grub2 this is no
longer necessary.
Related: rhbz#1061711
---
blivet/devices/md.py | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/blivet/devices/md.py b/blivet/devices/md.py
index 82b5ec8..5e1130b 100644
--- a/blivet/devices/md.py
+++ b/blivet/devices/md.py
@@ -453,22 +453,6 @@ def teardown(self, recursive=None):
self._postTeardown(recursive=recursive)
- def preCommitFixup(self, *args, **kwargs):
- """ Determine create parameters for this set """
- mountpoints = kwargs.pop("mountpoints")
- log_method_call(self, self.name, mountpoints)
-
- if "/boot" in mountpoints:
- bootmountpoint = "/boot"
- else:
- bootmountpoint = "/"
-
- # If we are used to boot from we cannot use 1.1 metadata
- if getattr(self.format, "mountpoint", None) == bootmountpoint or \
- getattr(self.format, "mountpoint", None) == "/boot/efi" or \
- self.format.type == "prepboot":
- self.metadataVersion = "1.0"
-
def _postCreate(self):
# this is critical since our status method requires a valid sysfs path
self.exists = True # this is needed to run updateSysfsPath
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/5ba9c3725f0c510bfe427eef474c761742926688
More information about the anaconda-patches
mailing list