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:
2026-05-26 00:15:35 +00:00
parent 96838f9f67
commit 23779690d6
+3 -2
View File
@@ -67,7 +67,8 @@ d-i grub-installer/bootdev string default
# ── Post-install bootstrap ───────────────────────────────────────── # ── Post-install bootstrap ─────────────────────────────────────────
# Downloads preseed-bootstrap.sh which installs the first-boot setup service. # Downloads preseed-bootstrap.sh which installs the first-boot setup service.
d-i preseed/late_command string \ 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 ───────────────────────────────────────────────────────── # ── Finish ─────────────────────────────────────────────────────────
d-i finish-install/reboot_in_background boolean true # reboot is triggered by late_command background job, bypassing the final dialog