From 23779690d63e6e1158c0bb91c417e47e0678411a Mon Sep 17 00:00:00 2001 From: Joe Gitta Date: Tue, 26 May 2026 00:15:35 +0000 Subject: [PATCH] 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 --- preseed.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/preseed.cfg b/preseed.cfg index 5a8981e..175ca94 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -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