Re: [PATCH 3/6] Pick up mountpoint for existing formats on encrypted LVs. (#587002)

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.

On Thu, 13 May 2010, David Lehman wrote:

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

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 2474627..cebb8e9 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -754,6 +754,12 @@ class VolumeGroupEditor:
                     not self.fsoptionsDict["formatcb"].get_active():
                    templv.format = templv.originalFormat
                    format = templv.format
+                    if templv.format.type == "luks":
+                        origlv = self.getLVByName(templv.lvname)
+                        try:
+                            format = self.storage.devicetree.getChildren(origlv)[0].format
+                        except IndexError:
+                            pass

                if format.mountable:
                    format.mountpoint = mountpoint


- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkv0qAUACgkQ5hsjjIy1Vkl/wgCg7UYK5q/8hfnZsX3LVJl3vV5d
kgUAniOHpWECdUekupuG+R9jM8V2wrmV
=cfF1
-----END PGP SIGNATURE-----

_______________________________________________
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