summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-06 13:22:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-06 13:22:53 +0000
commitb33fc1ae460ebdeba76a5fe663c6d7ee3de067a8 (patch)
tree9e774cb9bdebe7372807871143223ef3517703b6 /perl-install/install_any.pm
parent62467339503b9b07050b7626374ff04f851c0d1b (diff)
downloaddrakx-backup-do-not-use-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar
drakx-backup-do-not-use-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar.gz
drakx-backup-do-not-use-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar.bz2
drakx-backup-do-not-use-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar.xz
drakx-backup-do-not-use-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.zip
ensure the fstab is kept on upgrade
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index fe6f2033e..befeeedcf 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -903,7 +903,8 @@ sub find_root_parts {
} @$fstab;
}
sub use_root_part {
- my ($fstab, $part, $prefix) = @_;
+ my ($all_hds, $part, $prefix) = @_;
+ my $fstab = [ fsedit::get_really_all_fstab($all_hds) ];
{
my $handle = any::inspect($part, $prefix) or die;
fs::merge_info_from_fstab($fstab, $handle->{dir}, 'uniq');