|
|
@@ -20,8 +20,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 --fix-missing install --no-install-recommends -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --fix-missing install --no-install-recommends -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES |
|
|
|
EOF |
|
|
|
fi |
|
|
|
log "End ${SUB_STAGE_DIR}/${i}-packages-nr" |
|
|
@@ -31,8 +32,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 --fix-missing install -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --fix-missing install -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install -y $PACKAGES |
|
|
|
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install -y $PACKAGES |
|
|
|
EOF |
|
|
|
fi |
|
|
|
log "End ${SUB_STAGE_DIR}/${i}-packages" |
|
|
|