diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-05-07 07:53:48 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-03-27 19:15:48 -0400 |
commit | 62df34da1c1fbdb68ed0ea830eb2e2190b28524b (patch) | |
tree | 7875d6b869c1d701f97da76f77ca2b1e69ee9481 /configs/profile | |
parent | 140249432ea86964b5ffe0748efc6cb80ea72ed5 (diff) |
bugfix cached packages
Diffstat (limited to 'configs/profile')
-rwxr-xr-x | configs/profile/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |