From c23f8b241ea5fd31a63f67e790486bf70338b8c9 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 27 Apr 2010 12:32:49 +0000 Subject: fix display of non unlocked encrypted partitions --- perl-install/NEWS | 1 + perl-install/diskdrake/hd_gtk.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 32968d885..ea8df631b 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -7,6 +7,7 @@ o display lock icon on encrypted partitions o fix loading of dmcrypt info now that /dev/mapper/* are symlinks o fix creating encrypted LVM + o fix display of non unlocked encrypted partitions Version 13.20 - 21 April 2010 diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index bbe6f8a75..d2fe85f83 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -315,7 +315,7 @@ sub create_buttons4partitions { }; foreach my $entry (@parts) { - if(fs::type::isRawLUKS($entry)) { + if(fs::type::isRawLUKS($entry) && $entry->{dm_active}) { my $p = find { $entry->{dm_name} eq $_->{dmcrypt_name} } @{$all_hds->{dmcrypts}}; $entry = $p if $p; } -- cgit v1.2.1