--- storage/__init__.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/storage/__init__.py b/storage/__init__.py index 3d3ba15..12151bd 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -180,6 +180,14 @@ def undoEncryption(storage): slave = device.slave format = device.format + + # set any devices that depended on the luks device to now depend on + # the former slave device + for child in storage.devicetree.getChildren(device): + child.parents.remove(device) + device.removeChild() + child.parents.append(slave) + storage.devicetree.registerAction(ActionDestroyFormat(device)) storage.devicetree.registerAction(ActionDestroyDevice(device)) storage.devicetree.registerAction(ActionDestroyFormat(slave)) -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list