fix: clean workdir before build so apkovl changes are always applied
This commit is contained in:
@@ -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 overlay dir so the profile script can find it regardless of SRCDIR.
|
||||||
export BEE_OVERLAY_DIR="${OVERLAY_DIR}"
|
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.
|
# 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.
|
# mkinitfs/update-kernel use TMPDIR for initramfs build; tmpfs /tmp is only ~1GB.
|
||||||
export TMPDIR=/var/tmp
|
export TMPDIR=/var/tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user