summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-01-04 15:38:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-01-04 15:38:11 +0000
commita847a6431e29b5e1d6ebd95203761dad7ec466c1 (patch)
treeabfd6d8b52f2f5e302ac7aadf4a434847418dca0
parent73b47652f86ecb60b0bbb28beae3b3da056d1138 (diff)
downloaddrakx-a847a6431e29b5e1d6ebd95203761dad7ec466c1.tar
drakx-a847a6431e29b5e1d6ebd95203761dad7ec466c1.tar.gz
drakx-a847a6431e29b5e1d6ebd95203761dad7ec466c1.tar.bz2
drakx-a847a6431e29b5e1d6ebd95203761dad7ec466c1.tar.xz
drakx-a847a6431e29b5e1d6ebd95203761dad7ec466c1.zip
ugly hack to make things work when /proc/mounts says /dev/root is mounted in /mnt
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 150657724..dbf575e01 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -203,7 +203,7 @@ sub doPartitionDisksAfter {
if ($::local_install) {
my $p = fs::get::mntpoint2part($::prefix, [ fs::read_fstab('', '/proc/mounts') ]);
- my $part = fs::get::device2part($p->{device}, $o->{fstab});
+ my $part = fs::get::device2part($p->{device}, $o->{fstab}) || $o->{fstab}[0];
$part->{mntpoint} = '/';
$part->{isMounted} = 1;
}