FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-15-2011, 06:32 PM
David Lehman
 
Default Use the luks format's mapName when creating temp LUKSDevice. (#722952)

The mapName will be appropriately set based on whether the
formatting exists, so just use it instead of hoping to get
lucky by specifying the 'luks-$dev_path' form.

Gotta love these lvm dialogs.
---
pyanaconda/iw/lvm_dialog_gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/iw/lvm_dialog_gui.py b/pyanaconda/iw/lvm_dialog_gui.py
index 5b64c1a..38cdbed 100644
--- a/pyanaconda/iw/lvm_dialog_gui.py
+++ b/pyanaconda/iw/lvm_dialog_gui.py
@@ -420,7 +420,7 @@ class VolumeGroupEditor:
templv = self.getLVByName(lv['name'], vg=tempvg)
usedev = templv
if templv.format.type == "luks":
- templuks = LUKSDevice("luks-%s" % lv['name'],
+ templuks = LUKSDevice(templv.format.mapName,
parents=[templv],
format=self.luks[lv['name']],
exists=templv.format.exists)
--
1.7.3.4

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

Thread Tools




All times are GMT. The time now is 11:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org