summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/drakupdate_fstab5
2 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c7b675678..62f9309d4 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -4,6 +4,8 @@
o mark the service as interactive, so that package requests are
displayed with parallell init
o check that media are not USB keys before auto-configuring them (#34568)
+- drakupdate_fstab:
+ o never set "sync" option, use default fs options from drakx (#35204)
- drakbug:
o report crash messages in the bug report only when --incident is used
(and not when tools explicitely run drakbug with --report)
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab
index 62db7b691..926374f13 100755
--- a/perl-install/standalone/drakupdate_fstab
+++ b/perl-install/standalone/drakupdate_fstab
@@ -79,7 +79,7 @@ sub device_name_to_entry {
}
sub set_options {
- my ($part, $o_sync) = @_;
+ my ($part) = @_;
$part->{is_removable} = 1; #- force removable flag
fs::mount_options::set_default($part,
@@ -87,7 +87,6 @@ sub set_options {
lang::fs_options(lang::read()));
my ($options, $unknown) = fs::mount_options::unpack($part);
- $options->{sync} = $o_sync if defined($o_sync);
$options->{kudzu} = 1 if !$no_flag;
fs::mount_options::pack($part, $options, $unknown);
}
@@ -143,8 +142,6 @@ sub configure_part {
print STDERR "Already in fstab\n" if $::testing;
return;
}
- my %dynamic = getVarsFromSh('/etc/sysconfig/dynamic');
- set_options($part, to_bool($dynamic{SYNC} ne 'no'));
set_mount_point($part, $fstab, $is_hd) or return;
my ($line) = fs::prepare_write_fstab([$part]);