Commit d9f03b38 authored by donoban's avatar donoban Committed by Kaarle Ritvanen
Browse files

rootbld: add '--cache-dir' when preparing the $BUILD_ROOT

Otherwise apk will rely on defaults 'etc/apk/cache' and 'var/apk/cache'
based on new chroot directory and will delete everything when rootbld finishes.
parent 84d7b769
Pipeline #117166 passed with stage
in 38 seconds
......@@ -2441,6 +2441,7 @@ rootbld() {
$SUDO_APK add --initdb --update \
--arch $CBUILD_ARCH \
--root "$BUILD_ROOT" \
--cache-dir /etc/apk/cache \
abuild alpine-base build-base git $hostdeps $builddeps \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment