diff options
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 72713ef26..2e04745a1 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -9,6 +9,8 @@ o allow LVM in non expert mode o allow Encrypted partition inside LVM o allow creating partition starting after 1TB + o don't crash when creating a partition in LVM with the partition type + buttons (#38078) Version 11.71.8 - 25 February 2009 diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index a6a904589..526a7f279 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -357,7 +357,7 @@ sub create_buttons4partitions { # disks: helpers ################################################################################ sub current_hd() { - $current_kind->{type} eq 'hd' or die 'current_hd called but $current_kind is not an hd'; + $current_kind->{type} =~ /hd|lvm/ or die 'current_hd called but $current_kind is not an hd'; $current_kind->{val}; } sub current_part() { |