summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-06-04 11:14:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-06-04 11:14:03 +0000
commite21255d510779bda54ba7e288bae69e50c4f24e8 (patch)
tree45489101a49094dad7b37d000e17adb28b30abdd /perl-install/fsedit.pm
parentc9a35f48ca4ae3f503a2976b2e399eb814407f8f (diff)
downloaddrakx-e21255d510779bda54ba7e288bae69e50c4f24e8.tar
drakx-e21255d510779bda54ba7e288bae69e50c4f24e8.tar.gz
drakx-e21255d510779bda54ba7e288bae69e50c4f24e8.tar.bz2
drakx-e21255d510779bda54ba7e288bae69e50c4f24e8.tar.xz
drakx-e21255d510779bda54ba7e288bae69e50c4f24e8.zip
allow specifying lv_name in auto_installs (not tested!)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index ab2087d28..506eddf62 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -479,7 +479,9 @@ sub suggest_part {
$part->{mntpoint} = $best->{mntpoint};
$part->{type} = $best->{type} if !(isTrueFS($best) && isTrueFS($part));
$part->{size} = computeSize($part, $best, $all_hds, $suggestions);
- $part->{options} = $best->{options} if $best->{options};
+ foreach ('options', 'lv_name') {
+ $part->{$_} = $best->{$_} if $best->{$_};
+ }
1;
}