From f3509b7e2b80a8ee3fbe092d46646612e63ca736 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 7 May 2019 07:53:48 -0400 Subject: sq - cache --- configs/profile/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs') diff --git a/configs/profile/build.sh b/configs/profile/build.sh index 6f9f7eb..c26982a 100755 --- a/configs/profile/build.sh +++ b/configs/profile/build.sh @@ -136,8 +136,8 @@ make_packages() { # create live environment local repo or stash package cache if [[ "$enable_offline_install" == 'true' ]]; then if [[ -n ${_cache_packages} ]]; then - # download cache packages - setarch ${arch} mkparabolaiso ${verbose} -w ${work_dir}/${arch} -C ${pacman_conf} -D ${iso_dirname} -p "${_cache_packages}" -O install + # download any cache packages and prune obsolete packages + cache_only='true' setarch ${arch} mkparabolaiso ${verbose} -w ${work_dir}/${arch} -C ${pacman_conf} -D ${iso_dirname} -p "${_cache_packages}" -O install fi # create 'isorepo' for offline install pushd ${work_dir}/${arch}/root-image/isorepo > /dev/null -- cgit v1.2.2