[PATCH 3/3] Make sure lower bound for resize is applied. (#986575)

David Lehman dlehman at redhat.com
Wed Oct 23 18:57:23 UTC 2013


---
 pyanaconda/ui/gui/spokes/custom.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 3cefaf6..9015e80 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1442,6 +1442,8 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
             # a value.
             if not size:
                 size = device.maxSize
+            elif size < device.minSize:
+                size = device.minSize
 
             # And then we need to re-check that the max size is actually
             # different from the current size.
-- 
1.8.1.4



More information about the anaconda-patches mailing list