diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-29 09:36:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-29 09:36:25 +0000 |
commit | 8d03aa6906756ad7ae6f6b513f34704376890683 (patch) | |
tree | cbae0cf1c2f285aefee1a5a0296f8ff7559f458f | |
parent | 385407aa94e85491928a23787deff337ba2167a0 (diff) | |
download | drakx-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.pm | 3 |
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"; |