fix: bypass final installer dialog with background reboot in late_command
d-i finish-install/reboot_in_background doesn't suppress the 'Installation complete, click Continue' dialog in Trixie. Instead, fork a background reboot from late_command that fires 3s after setup completes, killing the dialog before it can block. Also removes the redundant reboot_in_background setting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -67,7 +67,8 @@ d-i grub-installer/bootdev string default
|
||||
# ── Post-install bootstrap ─────────────────────────────────────────
|
||||
# Downloads preseed-bootstrap.sh which installs the first-boot setup service.
|
||||
d-i preseed/late_command string \
|
||||
in-target bash -c 'curl -fsSL https://gitea.jgitta.com/jgitta/senior-kiosk/raw/branch/master/preseed-bootstrap.sh | bash'
|
||||
in-target bash -c 'curl -fsSL https://gitea.jgitta.com/jgitta/senior-kiosk/raw/branch/master/preseed-bootstrap.sh | bash' ; \
|
||||
(sleep 3 && reboot) &
|
||||
|
||||
# ── Finish ─────────────────────────────────────────────────────────
|
||||
d-i finish-install/reboot_in_background boolean true
|
||||
# reboot is triggered by late_command background job, bypassing the final dialog
|
||||
|
||||
Reference in New Issue
Block a user