From 4b82b2a87ecaca88551b768c1dfd313d7b5c8fbe Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 1 Apr 2026 22:31:45 +0100 Subject: [PATCH] fix: unbundled ISO uses full first-boot script with all container fixes The unbundled build was generating a 73-line inline script that only created FileBrowser. This meant no lnd.conf, no UI sidecars, no --add-host DNS fix for any app. Now uses the full first-boot-containers.sh which handles both bundled (load tarballs) and unbundled (pull from registry) modes, and includes all fixes for LND config, nginx sidecars, and DNS resolution. Co-Authored-By: Claude Opus 4.6 (1M context) --- image-recipe/build-auto-installer-iso.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/image-recipe/build-auto-installer-iso.sh b/image-recipe/build-auto-installer-iso.sh index 1e4116d9..5e53ab63 100755 --- a/image-recipe/build-auto-installer-iso.sh +++ b/image-recipe/build-auto-installer-iso.sh @@ -292,6 +292,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ intel-microcode \ amd64-microcode \ xorg \ + xdotool \ chromium \ unclutter \ fonts-liberation \ @@ -1298,10 +1299,12 @@ cp "$WORK_DIR/setup-tor.sh" "$ARCH_DIR/scripts/" cp "$WORK_DIR/archipelago-setup-tor.service" "$ARCH_DIR/scripts/" # First-boot: create core containers (bitcoin, mempool, btcpay, lnd, fedimint, homeassistant) -# Unbundled builds only create FileBrowser (core dependency for Cloud) -if [ "$UNBUNDLED" = "1" ]; then +# Both bundled and unbundled builds use the full first-boot script. +# Unbundled mode pulls images from registry; bundled mode loads from tarballs. +if false && [ "$UNBUNDLED" = "1" ]; then echo " Creating minimal first-boot service (UNBUNDLED: FileBrowser only)..." - # Create a minimal first-boot script that only starts FileBrowser + # DISABLED: minimal script doesn't create UI sidecars or write app configs. + # The full first-boot-containers.sh handles both bundled and unbundled modes. cat > "$WORK_DIR/first-boot-containers-unbundled.sh" <<'FBUNBUNDLED' #!/bin/bash # Minimal first-boot: create FileBrowser container only (unbundled ISO)