[PATCH] Fix disk selection for standard partitions (#1029798)
Martin Kolman
mkolman at redhat.com
Wed Jan 29 18:01:54 UTC 2014
If standard partitioning was the default partitioning method,
it was not possible to change the target disk of manually
created partitions. This is now fixed.
Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
pyanaconda/ui/gui/spokes/custom.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 7560b31..336623b 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2350,6 +2350,13 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
self._device_disks = disks
self._populate_raid(self._get_raid_level())
+ # We need to save the results of the dialog
+ # right away or the might be overwritten
+ # by another callback.
+ # As a nice side effect, the disk selection
+ # is applied right away.
+ self._save_right_side(self._current_selector)
+
def run_container_editor(self, container=None, name=None):
size = 0
size_policy = self._device_container_size
--
1.8.5.3
More information about the anaconda-patches
mailing list