commit 520dc7fc163467b25e229c3b5f661835a8db6280
parent 1a8b74e175f21b92a3c58cdcda83fce1e4329e20
Author: Robin Bron <robin.bron@yourhosting.nl>
Date: Mon, 28 Sep 2026 22:36:43 +0200
Fix sysroot mkdir
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/mk/sysroot.sh b/mk/sysroot.sh
@@ -57,6 +57,8 @@ case "${ARCH}" in x86_64|aarch64) ;; *) echo "sysroot.sh: unsupported ARCH ${ARC
export UNOS_CHANNEL="${CHANNEL}"
SYSROOT=$(chan_sysroot "${CHANNEL}" "${ARCH}")
+# apk --initdb creates the root itself but not its parents.
+mkdir -p "${SYSROOT}"
APK="${ROOT}/build/host/bin/apk"
if [ ! -x "${APK}" ]; then