From 9a7325e3a64c5a89fafeaa58f795e9b83f39af6e Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sun, 30 Aug 2026 15:30:21 -0400 Subject: [PATCH] Stop OCR-waiting on the unencrypted install confirm Tesseract cannot read the highlighted "Yes, install without encryption" button under any preprocessing, so waiting for that text always timed out and killed unencrypted installs at the disk warning. Capture the screen and continue instead; a Ctrl+C toggle that failed to apply still surfaces when the unexpectedly encrypted install stalls at the LUKS prompt on first boot. --- bin/omarchy-iso-test | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-iso-test b/bin/omarchy-iso-test index 281cf56..9a134ec 100755 --- a/bin/omarchy-iso-test +++ b/bin/omarchy-iso-test @@ -631,7 +631,11 @@ drive_configurator() { capture_console "success-installer-04-prepare-disk-warning-encrypted" if ! $ENCRYPT; then press ctrl-c - wait_for_screen "without encryption" 30 + # The toggled confirm ("Yes, install without encryption") is a highlighted + # button OCR cannot read, so don't wait for it. A failed toggle still + # surfaces: the encrypted install stalls at the LUKS prompt on first boot + # and SSH never comes up. + sleep 2 capture_console "success-installer-05-prepare-disk-warning-unencrypted" fi press ret @@ -695,7 +699,11 @@ drive_configurator() { capture_console "success-installer-12-disk-warning-encrypted" if ! $ENCRYPT; then press ctrl-c # toggles the confirm to the unencrypted flow - wait_for_screen "without encryption" 30 + # The toggled confirm ("Yes, install without encryption") is a highlighted + # button OCR cannot read, so don't wait for it. A failed toggle still + # surfaces: the encrypted install stalls at the LUKS prompt on first boot + # and SSH never comes up. + sleep 2 capture_console "success-installer-13-disk-warning-unencrypted" fi press ret