fix: copy scripts/lib/ for unbundled ISO builds (TUI lib was missing)
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) <noreply@anthropic.com>
This commit is contained in:
parent
51f8cf117d
commit
b4a57e83d0
@ -1380,6 +1380,13 @@ FBUNBUNDLED
|
|||||||
chmod +x "$WORK_DIR/first-boot-containers-unbundled.sh"
|
chmod +x "$WORK_DIR/first-boot-containers-unbundled.sh"
|
||||||
cp "$WORK_DIR/first-boot-containers-unbundled.sh" "$ARCH_DIR/scripts/first-boot-containers.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'
|
cat > "$WORK_DIR/archipelago-first-boot-containers.service" <<'FBCSERVICE'
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Create core Archipelago containers on first boot
|
Description=Create core Archipelago containers on first boot
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user