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