diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-27 20:46:30 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-27 20:46:30 -0500 |
commit | bd4a68aef064d0f375f17b4f0988688da30b884d (patch) | |
tree | 1bc287ed6a7238e3d71a7c4cf2ad17444919b7b4 /adelie-build-cd | |
parent | 5fc8198b54849b02e2d48b51b96a94b9851383af (diff) | |
download | image-bd4a68aef064d0f375f17b4f0988688da30b884d.tar.gz image-bd4a68aef064d0f375f17b4f0988688da30b884d.tar.bz2 image-bd4a68aef064d0f375f17b4f0988688da30b884d.tar.xz image-bd4a68aef064d0f375f17b4f0988688da30b884d.zip |
Missed a couple apk invocations in the full cd build path
Diffstat (limited to 'adelie-build-cd')
-rwxr-xr-x | adelie-build-cd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/adelie-build-cd b/adelie-build-cd index b5870e2..acd6530 100755 --- a/adelie-build-cd +++ b/adelie-build-cd @@ -254,6 +254,7 @@ make_structure() { if test -n "${DO_FULL+full}"; then # This ensures we have documentation available on-disc, and to install. apk --arch $ARCH \ + ${CACHE:+--cache-dir "${CACHE}"} \ -X "$URL/system/$EXTRA_MIRROR" \ -X "$URL/user/$EXTRA_MIRROR" \ --root squashroot-$ARCH add docs @@ -261,6 +262,7 @@ make_structure() { mkdir -p $PACKAGES_DIR # Fetch all APKs. apk --arch $ARCH \ + ${CACHE:+--cache-dir "${CACHE}"} \ -X "$URL/system/$EXTRA_MIRROR" \ -X "$URL/user/$EXTRA_MIRROR" \ --root squashroot-$ARCH fetch -o $PACKAGES_DIR $(apk --root squashroot-$ARCH info) |