summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/any.pm2
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() {