From 95ffd76b3bb828f032bad31982a0454268c5249c Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 12 Jan 2023 13:18:40 +0100 Subject: [PATCH] armbian-oleg: curb `apt-get`'s logging with `-q` / `-qq` --- lib/functions/logging/runners.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/logging/runners.sh b/lib/functions/logging/runners.sh index 969ca654f0..7f8756ebb7 100644 --- a/lib/functions/logging/runners.sh +++ b/lib/functions/logging/runners.sh @@ -23,7 +23,7 @@ function chroot_sdcard_apt_get_remove() { function chroot_sdcard_apt_get() { acng_check_status_or_restart # make sure apt-cacher-ng is running OK. - local -a apt_params=("-y") + local -a apt_params=("-y" "-q") if [[ "${MANAGE_ACNG}" == "yes" ]]; then display_alert "Using managed apt-cacher-ng" "http://localhost:3142" "debug" apt_params+=( @@ -151,7 +151,7 @@ function host_apt_get_install() { # For running apt-get stuff host-side. Not chroot! function host_apt_get() { - local -a apt_params=("-y") + local -a apt_params=("-y" "-qq") apt_params+=(-o "Dpkg::Use-Pty=0") # Please be quiet run_host_command_logged DEBIAN_FRONTEND=noninteractive apt-get "${apt_params[@]}" "$@" }