On Mon, 2014-02-24 at 15:42 -0600, David Lehman wrote:
---
pyanaconda/ui/gui/spokes/custom.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 2f2422a..6ca4a20 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1448,6 +1448,12 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
if _device is None:
# in this case we have removed the old device so we now have
# to re-create it
+
+ # the disks need to be updated since we've replaced all
+ # of the devices with copies in the devicefactory error
+ # handler
+ old_disk_names = [d.name for d in old_disks]
+ old_disks = [self.__storage.devicetree.getDeviceByName(n) for n
in old_disk_names]
try:
self._replace_device(old_device_type, device.size,
disks=old_disks,
Looks good to
me.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic