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

@@ -46,8 +46,8 @@ profile_bee_debug() {
}
build_bee_debug() {
# copy overlay files into rootfs
local overlay="${SRCDIR}/../../overlay-debug"
# BEE_OVERLAY_DIR is exported by build-debug.sh (absolute path).
local overlay="${BEE_OVERLAY_DIR}"
if [ -d "$overlay" ]; then
cp -r "${overlay}/." "${ROOTFS}/"
fi