mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-oleg: curb apt-get's logging with -q / -qq
This commit is contained in:
@@ -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[@]}" "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user