diff options
author | Chris Lumens <clumens@redhat.com> | 2006-08-18 14:26:38 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-08-18 14:26:38 +0000 |
commit | 66c337448b30f42068c6448df5402bb79c2968af (patch) | |
tree | 2c5583316595d6cfdb62edf60ec06433e1380fa9 | |
parent | c670a7444078163f5bc956a14214bd8c0714f541 (diff) | |
download | anaconda-66c337448b30f42068c6448df5402bb79c2968af.tar.gz anaconda-66c337448b30f42068c6448df5402bb79c2968af.tar.xz anaconda-66c337448b30f42068c6448df5402bb79c2968af.zip |
Skip the LV size check if grow is set (#203095).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | partRequests.py | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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.") |