If a device is preexisting, we should prune all actions on that device up through the last destroy action. --- storage/devicetree.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index f7582ac..2b997b5 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -223,6 +223,11 @@ class DeviceTree(object): # this device is not preexisting start = first_create_idx stop_action = destroys[-1] + else: + # no create actions means this is a preexisting device, + # so we prune all actions up through the last destroy. + start = 0 + stop_action = destroys[-1] if start is None: continue -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list