From 40815161fe1a4289cf1c876e3718e26f97ba4cb3 Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Thu, 5 Mar 2026 15:05:42 +0300 Subject: [PATCH] fix: clean workdir before build so apkovl changes are always applied --- iso/builder/build-debug.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iso/builder/build-debug.sh b/iso/builder/build-debug.sh index 9373ead..48252e9 100644 --- a/iso/builder/build-debug.sh +++ b/iso/builder/build-debug.sh @@ -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