summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-29 09:36:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-29 09:36:25 +0000
commit8d03aa6906756ad7ae6f6b513f34704376890683 (patch)
treecbae0cf1c2f285aefee1a5a0296f8ff7559f458f
parent385407aa94e85491928a23787deff337ba2167a0 (diff)
downloaddrakx-8d03aa6906756ad7ae6f6b513f34704376890683.tar
drakx-8d03aa6906756ad7ae6f6b513f34704376890683.tar.gz
drakx-8d03aa6906756ad7ae6f6b513f34704376890683.tar.bz2
drakx-8d03aa6906756ad7ae6f6b513f34704376890683.tar.xz
drakx-8d03aa6906756ad7ae6f6b513f34704376890683.zip
do not modify fstab options in upgrade
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 769ac6871..42dae2510 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -144,7 +144,8 @@ sub doPartitionDisksAfter {
}
fs::set_removable_mntpoints($o->{all_hds});
- fs::set_default_options($o->{all_hds}, $o->{useSupermount}, $o->{security}, lang::fs_options($o->{lang}));
+ fs::set_default_options($o->{all_hds}, $o->{useSupermount}, $o->{security}, lang::fs_options($o->{lang}))
+ if !$o->{isUpgrade};
$o->{fstab} = [ fsedit::get_all_fstab($o->{all_hds}) ];
fsedit::get_root_($o->{fstab}) or die "Oops, no root partition";