[rhel7-branch 1/3] Remove too strict condition for changing size (#1076055)
mulkieran
installerbot-noreply at redhat.com
Tue Jun 23 13:37:48 UTC 2015
From: mulhern <amulhern at 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 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 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
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/8d3c09d1c21d26fc31cdc6ec5d2bafcece22fe91
More information about the anaconda-patches
mailing list