fix: clean workdir before build so apkovl changes are always applied

This commit is contained in:
2026-03-05 15:05:42 +03:00
parent 8c0e66c3ef
commit 40815161fe

View File

@@ -98,6 +98,9 @@ cp "${BUILDER_DIR}/genapkovl-bee_debug.sh" "${HOME}/.mkimage/"
# Export overlay dir so the profile script can find it regardless of SRCDIR.
export BEE_OVERLAY_DIR="${OVERLAY_DIR}"
# Clean workdir so apkovl changes are always picked up (kernel/apks sections are re-cached).
rm -rf /var/tmp/bee-iso-work
# Run from /var/tmp to avoid git repo context conflicts and to ensure enough scratch space.
# mkinitfs/update-kernel use TMPDIR for initramfs build; tmpfs /tmp is only ~1GB.
export TMPDIR=/var/tmp