summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/MGA/DrakISO/BuildISO.pm1
-rw-r--r--lib/MGA/DrakISO/Utils.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/MGA/DrakISO/BuildISO.pm b/lib/MGA/DrakISO/BuildISO.pm
index ba7ca95..469662f 100755
--- a/lib/MGA/DrakISO/BuildISO.pm
+++ b/lib/MGA/DrakISO/BuildISO.pm
@@ -125,6 +125,7 @@ sub build_iso_image {
run_('date', '>', $date_file);
run_('xorrisofs',
+ if_($::verbose < 2, '-quiet'),
'-pad', '-l', '-R', '-J',
'-publisher', $build->{settings}{vendor},
'-preparer', 'drakiso',
diff --git a/lib/MGA/DrakISO/Utils.pm b/lib/MGA/DrakISO/Utils.pm
index c3533a4..b7dbcee 100644
--- a/lib/MGA/DrakISO/Utils.pm
+++ b/lib/MGA/DrakISO/Utils.pm
@@ -53,7 +53,7 @@ sub run_ {
my $targetarch = delete $options->{targetarch};
unshift @cmd, 'setarch', $targetarch if $targetarch;
}
- print STDERR "running " . (exists $options->{root} && "(in chroot) ") . join(' ', @cmd) . "\n";
+ print STDERR "running " . (exists $options->{root} && "(in chroot) ") . join(' ', @cmd) . "\n" if $::verbose > 1;
run_program::raw($options, @cmd);
}