From: mulhern amulhern@redhat.com
Related: rhbz#1076055 Related: rhbz#1196721
(cherry-picked from commit d2d01b2d4d217532bae13a39483af9c96855b297)
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@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 8ee545d..433fe27 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -1149,7 +1149,7 @@ def _save_right_side(self, selector): self._revert_reformat(device, use_dev)
# Handle size change - if changed_size and device.resizable: + if changed_size: self._handle_size_change(size, old_size, device, use_dev)
# it's possible that reformat is active but fstype is unchanged, in