diff options
author | Sven Gothel <[email protected]> | 2021-07-02 19:03:44 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-07-02 19:03:44 +0200 |
commit | 4cba577252c687374b5b92135a0ef0f0e5db66ed (patch) | |
tree | 0b4032697fbb7c4df84ab7150da94fa2bbeb2cdf /build.sh | |
parent | 7545621fb6f8171bb146739e703184bcab3f19dd (diff) |
Size reduction: apt-get install always use 'Recommends 0' & 'Suggests 0', drop cache; dpkg: Remove doc, man, ..
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -21,7 +21,9 @@ EOF PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages-nr")" if [ -n "$PACKAGES" ]; then on_chroot << EOF -apt-get -o APT::Acquire::Retries=3 install --no-install-recommends -y $PACKAGES +echo "Installing PACKAGES-nr '${PACKAGES}'" +echo apt-get -o APT::Acquire::Retries=3 --no-install-recommends -y $PACKAGES +apt-get -o APT::Acquire::Retries=3 --no-install-recommends -y $PACKAGES EOF if [ "${USE_QCOW2}" = "1" ]; then on_chroot << EOF @@ -36,7 +38,9 @@ EOF PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages")" if [ -n "$PACKAGES" ]; then on_chroot << EOF -apt-get -o APT::Acquire::Retries=3 install -y $PACKAGES +echo "Installing PACKAGES '${PACKAGES}'" +echo apt-get -o APT::Acquire::Retries=3 install --no-install-recommends -y $PACKAGES +apt-get -o APT::Acquire::Retries=3 install --no-install-recommends -y $PACKAGES EOF if [ "${USE_QCOW2}" = "1" ]; then on_chroot << EOF |