[anaconda:rhel7 1/2] Remove too strict condition for changing size (#1076055)

mulhern amulhern at redhat.com
Tue Sep 30 17:20:10 UTC 2014


Related: rhbz#1076055

The condition prohibits changing the size of the device in circumstances
when it should be changed, like when it is a non-existant LUKS device on
top of a resizable device.

Also, a more correct condition is already checked at the top of the
_save_right_side() method to calculate the value of changed_size.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 60a1cff..c33d30f 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1617,7 +1617,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
             with ui_storage_logger():
                 self.__storage.resetDevice(original_device)
 
-        if changed_size and device.resizable:
+        if changed_size:
             # If no size was specified, we just want to grow to
             # the maximum.  But resizeDevice doesn't take None for
             # a value.
-- 
1.9.3



More information about the anaconda-patches mailing list