[PATCH] Schedule format create action for newly encrypted preexisting LV.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/lvm_dialog_gui.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 3162665..6aa5ef3 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -554,7 +554,7 @@ class VolumeGroupEditor:
                     if _lv.format.type == "luks":
                         # XXX this won't work if the lvs haven't been
                         #     added to the tree yet
-                        _usedev = self.tree.getChildren(_lv)[0]
+                        _usedev = self.findLUKSDev(_lv)
                         _format = _usedev.format
                     else:
                         _usedev = _lv
@@ -685,6 +685,7 @@ class VolumeGroupEditor:
                     actions.append(ActionCreateFormat(usedev, format))
                     if luksdev:
                         actions.append(ActionCreateDevice(luksdev))
+                        actions.append(ActionCreateFormat(luksdev))
 
                 if migrate:
                     actions.append(ActionMigrateFormat(usedev))
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux