fix: install profile to ~/.mkimage, pass overlay via BEE_OVERLAY_DIR env

This commit is contained in:
2026-03-05 11:32:26 +03:00
parent 0c16d9fb76
commit 21c4a42333
2 changed files with 11 additions and 3 deletions

View File

@@ -89,7 +89,15 @@ mkdir -p "${DIST_DIR}"
echo ""
echo "=== building ISO ==="
# mkimage.sh uses git internally; run it from /tmp to avoid conflicts with bee repo
# Install our mkimage profile where mkimage.sh can find it.
# ~/.mkimage is the user plugin directory loaded by mkimage.sh.
mkdir -p "${HOME}/.mkimage"
cp "${BUILDER_DIR}/mkimg.bee_debug.sh" "${HOME}/.mkimage/"
# Export overlay dir so the profile script can find it regardless of SRCDIR.
export BEE_OVERLAY_DIR="${OVERLAY_DIR}"
# mkimage.sh uses git internally; run from /tmp to avoid conflicts with bee repo.
cd /tmp
sh /usr/share/aports/scripts/mkimage.sh \
--tag "v${ALPINE_VERSION}" \