mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
update_chroot: run perl-cleaner with --quiet
There's no reason to always show the full build output when updating the perl modules, so use the --quiet flag. If there is a failure, emerge will dump the full log like normal. BUG=None TEST=`./update_chroot` showed much less output when updating perl modules Change-Id: I0265443bca0f42a79cc3e44a7f8e9bfeab69f568 Reviewed-on: https://gerrit.chromium.org/gerrit/17080 Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
9002975ff0
commit
43a7f69db9
@ -96,5 +96,5 @@ printf '%s\nYES\n' -9 | sudo etc-update
|
||||
PERL_VERSIONS=$(find /usr/lib*/perl5/vendor_perl/ -maxdepth 1 -mindepth 1 \
|
||||
-type d -printf '%P\n' | sort -u | wc -w)
|
||||
if [ "$PERL_VERSIONS" -gt 1 ] ; then
|
||||
sudo /usr/sbin/perl-cleaner --all
|
||||
sudo perl-cleaner --all -- --quiet
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user