From 99a030b1125b405864a6dac841ca6ee3b8413951 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 7 Aug 2009 18:16:47 +0000 Subject: do not write /etc/fstab in local_install mode --- perl-install/install/NEWS | 2 ++ perl-install/install/any.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.1