summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-23 09:55:19 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-23 09:55:19 +0000
commit238ac195165d1ce63dffc052a28f869f2f0ebf15 (patch)
treeaf3473ef85626366669de811bd00f21257079cd7 /lib
parent7b59f85a2b1b79e3659ac5c15d066027da61e988 (diff)
downloaddrakiso-238ac195165d1ce63dffc052a28f869f2f0ebf15.tar
drakiso-238ac195165d1ce63dffc052a28f869f2f0ebf15.tar.gz
drakiso-238ac195165d1ce63dffc052a28f869f2f0ebf15.tar.bz2
drakiso-238ac195165d1ce63dffc052a28f869f2f0ebf15.tar.xz
drakiso-238ac195165d1ce63dffc052a28f869f2f0ebf15.zip
More verbosity reduction.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/MGA/DrakISO/BuildRoot.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index 252699a..19fd3e8 100755
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -107,8 +107,10 @@ sub customise_live_system {
run_({ root => $build->get_system_root, targetarch => $build->{settings}{arch} },
'sh', '-c', "rpm -qa $erase | xargs rpm -e ") if $erase;
- run_({ root => $build->get_system_root }, 'systemctl', 'disable', $_ . '.service') foreach @{$build->{system}{disable_services}};
- run_({ root => $build->get_system_root }, 'systemctl', 'disable', $_ . '.timer') foreach @{$build->{system}{disable_timers}};
+ run_({ root => $build->get_system_root }, 'systemctl', if_($::verbose < 2, '-q'), 'disable', $_ . '.service')
+ foreach @{$build->{system}{disable_services}};
+ run_({ root => $build->get_system_root }, 'systemctl', if_($::verbose < 2, '-q'), 'disable', $_ . '.timer')
+ foreach @{$build->{system}{disable_timers}};
#- make sure harddrake is run:
#- if previous HW config file is empty, we assumes DrakX has just completed the installation