From b4a57e83d02f516392d366858aad02ec6ea87692 Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 1 Apr 2026 10:38:41 +0100 Subject: [PATCH] fix: copy scripts/lib/ for unbundled ISO builds (TUI lib was missing) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The UNBUNDLED build path didn't copy scripts/lib/ to the ISO, so install-tui.sh was never available on unbundled installs. The installer sourced it but the file wasn't there — no animations. Co-Authored-By: Claude Opus 4.6 (1M context) --- image-recipe/build-auto-installer-iso.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/image-recipe/build-auto-installer-iso.sh b/image-recipe/build-auto-installer-iso.sh index 89347254..1e4116d9 100755 --- a/image-recipe/build-auto-installer-iso.sh +++ b/image-recipe/build-auto-installer-iso.sh @@ -1380,6 +1380,13 @@ FBUNBUNDLED chmod +x "$WORK_DIR/first-boot-containers-unbundled.sh" cp "$WORK_DIR/first-boot-containers-unbundled.sh" "$ARCH_DIR/scripts/first-boot-containers.sh" + # Copy shared script library (TUI animations for installer, shared utils) + if [ -d "$SCRIPT_DIR/../scripts/lib" ]; then + mkdir -p "$ARCH_DIR/scripts/lib" + cp "$SCRIPT_DIR/../scripts/lib/"*.sh "$ARCH_DIR/scripts/lib/" 2>/dev/null || true + echo " Copied scripts/lib/ ($(ls "$ARCH_DIR/scripts/lib/" 2>/dev/null | wc -l) files)" + fi + cat > "$WORK_DIR/archipelago-first-boot-containers.service" <<'FBCSERVICE' [Unit] Description=Create core Archipelago containers on first boot