[PATCH 2/2] Fix list of 64-bit arches.

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

 



'sparc' and 's390' are what are returned by iutil.getArch; however, we don't
actually support 31/32-bit installs on those machines.

Signed-off-by: Bill Nottingham <notting@xxxxxxxxxx>
---
 storage/devicelibs/lvm.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
index 2196170..a5eb59d 100644
--- a/storage/devicelibs/lvm.py
+++ b/storage/devicelibs/lvm.py
@@ -129,7 +129,7 @@ def getPossiblePhysicalExtents(floor=0):
 
 def getMaxLVSize():
     """ Return the maximum size (in MB) of a logical volume. """
-    if iutil.getArch() in ("x86_64", "ppc64"): #64bit architectures
+    if iutil.getArch() in ("x86_64", "ppc64", "alpha", "ia64", "s390", "sparc"): #64bit architectures
         return (8*1024*1024*1024*1024) #Max is 8EiB (very large number..)
     else:
         return (16*1024*1024) #Max is 16TiB
-- 
1.6.2.5

_______________________________________________
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