[blivet][master/f20-branch]rhel7-branch] Remove some unnecessary code to check for LVM constraints on s390x. (#873125, #885011)

Samantha N. Bueno sbueno+anaconda at redhat.com
Fri Oct 25 19:41:32 UTC 2013


Related: rhbz#873125
Related: rhbz#885011
---
 blivet/__init__.py | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/blivet/__init__.py b/blivet/__init__.py
index 9420c50..65e8026 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -1471,20 +1471,6 @@ class Blivet(object):
                             "which is required for installation of %s "
                             "to continue.") % (productName,))
 
-        # Prevent users from installing on s390x with (a) no /boot volume, (b) the
-        # root volume on LVM, and (c) the root volume not restricted to a single
-        # PV
-        # NOTE: There is not really a way for users to create a / volume
-        # restricted to a single PV.  The backend support is there, but there are
-        # no UI hook-ups to drive that functionality, but I do not personally
-        # care.  --dcantrell
-        if arch.isS390() and not self.mountpoints.has_key('/boot') and root:
-            if root.type == 'lvmlv' and not root.singlePV:
-                errors.append(_("This platform requires /boot on a dedicated "
-                                "partition or logical volume.  If you do not "
-                                "want a /boot volume, you must place / on a "
-                                "dedicated non-LVM partition."))
-
         # FIXME: put a check here for enough space on the filesystems. maybe?
 
         for (mount, size) in checkSizes:
-- 
1.8.3.1



More information about the anaconda-patches mailing list