Fix run-builder.sh: update overlay and build script paths

overlay-debug → overlay, build-debug.sh → build.sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Chusavitin
2026-03-07 09:50:18 +03:00
parent b8135a19df
commit a2b2cb23bc

View File

@@ -67,14 +67,14 @@ cd "\$REPO"
echo "--- pulling latest ---"
git checkout -- .
git pull --ff-only
chmod +x iso/overlay-debug/etc/init.d/* iso/overlay-debug/usr/local/bin/*
chmod +x iso/overlay/etc/init.d/* iso/overlay/usr/local/bin/* 2>/dev/null || true
# Kill any previous build session
screen -S bee-build -X quit 2>/dev/null || true
echo "--- starting build in screen session (survives SSH disconnect) ---"
echo "--- log: \$LOG ---"
screen -dmS bee-build sh -c "sh iso/builder/build-debug.sh ${EXTRA_ARGS} > \$LOG 2>&1; echo \$? > /tmp/bee-build-exit"
screen -dmS bee-build sh -c "sh iso/builder/build.sh ${EXTRA_ARGS} > \$LOG 2>&1; echo \$? > /tmp/bee-build-exit"
# Stream log until build finishes
echo "--- streaming build log (Ctrl+C safe — build continues on VM) ---"