diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-08-07 18:16:47 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-08-07 18:16:47 +0000 |
commit | 99a030b1125b405864a6dac841ca6ee3b8413951 (patch) | |
tree | fb00e526326420e414ae4d026e70e418b24f4a8d | |
parent | 335750cf319ffb81c431334dff3b58b39c670f15 (diff) | |
download | drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar.gz drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar.bz2 drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar.xz drakx-99a030b1125b405864a6dac841ca6ee3b8413951.zip |
do not write /etc/fstab in local_install mode
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/install/any.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 3b5b03c19..5f2c463fc 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- do not write /etc/fstab in local_install mode + Version 12.42 - 7 Aug 2009 - use gtk instead of X to focus window and revert workaround diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 4d925cc91..c92bc35c8 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -1287,7 +1287,7 @@ sub set_security { sub write_fstab { my ($o) = @_; fs::write_fstab($o->{all_hds}, $::prefix) - if !$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names}; + if !$::local_install && (!$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names}); } sub adjust_files_mtime_to_timezone() { |