summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-03 19:25:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-03 19:25:28 +0000
commit50a3bb4a08e83fc6c5080848bda5609f6dde1fba (patch)
treee773c50ddf329185c9cf174f082387870eccac0e /perl-install/install_steps.pm
parentc218f055913e9433502b83a8d3d052b7aec79cb2 (diff)
downloaddrakx-50a3bb4a08e83fc6c5080848bda5609f6dde1fba.tar
drakx-50a3bb4a08e83fc6c5080848bda5609f6dde1fba.tar.gz
drakx-50a3bb4a08e83fc6c5080848bda5609f6dde1fba.tar.bz2
drakx-50a3bb4a08e83fc6c5080848bda5609f6dde1fba.tar.xz
drakx-50a3bb4a08e83fc6c5080848bda5609f6dde1fba.zip
(doPartitionDisksAfter): small adaptation for LVMs
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 3b4610cb2..53a5a357e 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -149,7 +149,7 @@ sub doPartitionDisksAfter {
$_->{rebootNeeded} and $o->rebootNeeded foreach @{$o->{hds}};
}
- $o->{fstab} = [ fsedit::get_fstab(@{$o->{hds}}, $o->{raid}) ];
+ $o->{fstab} = [ fsedit::get_fstab(@{$o->{hds}}, @{$o->{lvms}}, $o->{raid}) ];
fsedit::get_root_($o->{fstab}) or die "Oops, no root partition";
if ($o->{partitioning}{use_existing_root}) {
@@ -180,7 +180,7 @@ sub doPartitionDisks {
if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) {
# either one root is defined (and all is ok), or we take the first one we find
- my $p = fsedit::get_root_($o->{fstab}) || first(install_any::find_root_parts($o->{hds}, $o->{prefix})) or die;
+ my $p = fsedit::get_root_($o->{fstab}) || first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) or die;
install_any::use_root_part($o->{fstab}, $p, $o->{prefix});
}
if ($o->{partitioning}{auto_allocate}) {