summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-07-07 22:34:59 -0400
committerBill Nottingham <notting@redhat.com>2009-07-08 10:09:46 -0400
commit39ef8dffb658e7186e25303b03ce1cd28b950c3d (patch)
treee178cc9d081f303f27a901bd7ca16d8f3fe63228 /storage
parent83238db54cdadd2abcd0c73c936b30eb88cd002f (diff)
downloadanaconda-39ef8dffb658e7186e25303b03ce1cd28b950c3d.tar.gz
anaconda-39ef8dffb658e7186e25303b03ce1cd28b950c3d.tar.xz
anaconda-39ef8dffb658e7186e25303b03ce1cd28b950c3d.zip
Fix list of 64-bit arches.
'sparc' and 's390' are what are returned by iutil.getArch; however, we don't actually support 31/32-bit installs on those machines.
Diffstat (limited to 'storage')
-rw-r--r--storage/devicelibs/lvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
index 21961700f..a5eb59d8a 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