From a7d809d577afb4855cdc79a0fa6e23b10e3c6e96 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Mon, 14 Dec 2015 17:03:41 +0300 Subject: [PATCH] Apt --no-install-recommends for host dependencies --- compile.sh | 4 ++-- general.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compile.sh b/compile.sh index ffe0feaa8..4ec787a29 100755 --- a/compile.sh +++ b/compile.sh @@ -70,7 +70,7 @@ fi #-------------------------------------------------------------------------------------------------------------------------------- # Get updates of the main build libraries #-------------------------------------------------------------------------------------------------------------------------------- -apt-get -qq -y install git +apt-get -qq -y --no-install-recommends install git if [ -d "$SRC/lib" ]; then cd $SRC/lib git pull @@ -91,4 +91,4 @@ fi # If you are committing new version of this file, increment VERSION # Only integers are supported -# VERSION=4 +# VERSION=5 diff --git a/general.sh b/general.sh index 406ca6512..e477d71d1 100644 --- a/general.sh +++ b/general.sh @@ -296,19 +296,19 @@ prepare_host() { # dialog may be used to display progress if [[ "$(dpkg-query -W -f='${db:Status-Abbrev}\n' dialog 2>/dev/null)" != *ii* ]]; then display_alert "Installing package" "dialog" "info" - apt-get install -qq -y dialog >/dev/null 2>&1 + apt-get install -qq -y --no-install-recommends dialog >/dev/null 2>&1 fi # wget is needed if [[ "$(dpkg-query -W -f='${db:Status-Abbrev}\n' wget 2>/dev/null)" != *ii* ]]; then display_alert "Installing package" "wget" "info" - apt-get install -qq -y wget >/dev/null 2>&1 + apt-get install -qq -y --no-install-recommends wget >/dev/null 2>&1 fi # need lsb_release to decide what to install if [[ "$(dpkg-query -W -f='${db:Status-Abbrev}\n' lsb-release 2>/dev/null)" != *ii* ]]; then display_alert "Installing package" "lsb-release" "info" - apt-get install -qq -y lsb-release >/dev/null 2>&1 + apt-get install -qq -y --no-install-recommends lsb-release >/dev/null 2>&1 fi # packages list for host @@ -355,7 +355,7 @@ prepare_host() { done if [ "${#deps[@]}" -gt "0" ]; then - eval '( apt-get update; apt-get -y install "${deps[@]}" )' \ + eval '( apt-get update; apt-get -y --no-install-recommends install "${deps[@]}" )' \ ${PROGRESS_LOG_TO_FILE:+' | tee -a $DEST/debug/output.log'} \ ${OUTPUT_DIALOG:+' | dialog --backtitle "$backtitle" --progressbox "Installing ${#deps[@]} host dependencies..." 20 80'} \ ${OUTPUT_VERYSILENT:+' >/dev/null 2>/dev/null'}