From bd4a68aef064d0f375f17b4f0988688da30b884d Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Fri, 27 Mar 2020 20:46:30 -0500 Subject: Missed a couple apk invocations in the full cd build path --- adelie-build-cd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'adelie-build-cd') 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) -- cgit v1.2.3-70-g09d2