fix: remove sudo from installer (already root), reduce ISOLINUX timeout

- sudo not installed in minbase squashfs — caused "command not found"
  when pressing Enter to install. We're already root via auto-login.
- ISOLINUX timeout from 5s to 1s — reduces menu flicker/duplication

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian 2026-03-28 01:23:39 +00:00
parent 8d01572894
commit 5790fb97fe

View File

@ -536,7 +536,7 @@ if [ -n "\$BOOT_MEDIA" ]; then
echo ""
echo " Press Enter to start installation, or Ctrl+C for shell..."
read
sudo bash "\$BOOT_MEDIA/archipelago/auto-install.sh"
bash "\$BOOT_MEDIA/archipelago/auto-install.sh"
else
echo " Installer not found on boot media."
echo " Checked: /run/live/medium, /run/archiso, /cdrom, /media/cdrom"
@ -2556,7 +2556,7 @@ echo " Writing ISOLINUX config..."
cat > "$INSTALLER_ISO/isolinux/isolinux.cfg" <<'ISOCFG'
UI menu.c32
PROMPT 0
TIMEOUT 50
TIMEOUT 10
MENU TITLE ARCHIPELAGO - Bitcoin Node OS
MENU COLOR screen 37;40 #80ffffff #00000000 std