summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-08-18 14:26:38 +0000
committerChris Lumens <clumens@redhat.com>2006-08-18 14:26:38 +0000
commit66c337448b30f42068c6448df5402bb79c2968af (patch)
tree2c5583316595d6cfdb62edf60ec06433e1380fa9
parentc670a7444078163f5bc956a14214bd8c0714f541 (diff)
downloadanaconda-66c337448b30f42068c6448df5402bb79c2968af.tar.gz
anaconda-66c337448b30f42068c6448df5402bb79c2968af.tar.xz
anaconda-66c337448b30f42068c6448df5402bb79c2968af.zip
Skip the LV size check if grow is set (#203095).
-rw-r--r--ChangeLog5
-rw-r--r--partRequests.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f072f9181..23f1897e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-18 Chris Lumens <clumens@redhat.com>
+
+ * partRequests.py (LogicalVolumeRequestSpec.sanityCheckRequest): Skip
+ the LV size check if grow is set (#203095).
+
2006-08-17 Peter Jones <pjones@redhat.com>
* anaconda.spec: get rid of arch checks for pyblock
diff --git a/partRequests.py b/partRequests.py
index 0782f8309..c6f0835e0 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -920,7 +920,7 @@ class LogicalVolumeRequestSpec(RequestSpec):
def sanityCheckRequest(self, partitions, skipMntPtExistCheck=0, pesize=32768):
"""Run the basic sanity checks on the request."""
- if not self.percent and self.size*1024 < pesize:
+ if not self.grow and not self.percent and self.size*1024 < pesize:
return _("Logical volume size must be larger than the volume "
"group's physical extent size.")