From e21255d510779bda54ba7e288bae69e50c4f24e8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 4 Jun 2003 11:14:03 +0000 Subject: allow specifying lv_name in auto_installs (not tested!) --- perl-install/fsedit.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') 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; } -- cgit v1.2.1