summaryrefslogtreecommitdiff
path: root/scripts/build-kernel
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-08-14 19:46:56 +0000
committerChristian Breunig <christian@breunig.cc>2026-08-14 21:58:23 +0200
commit7c33698e18cdf77d6c0faa36ec20452df391f470 (patch)
treef5d9532cb6fd819a43f40f091d7af8d80a2b7875 /scripts/build-kernel
parentaee889f73f9cb4abb87576fefa5465e9ddb79742 (diff)
downloadvyos-build-7c33698e18cdf77d6c0faa36ec20452df391f470.tar.gz
vyos-build-7c33698e18cdf77d6c0faa36ec20452df391f470.zip
Testsuite: T9214: fix GRUB auto-boot race in console-select navigation
Commit 2d525e9a88 ("Testsuite: T9099: harden GRUB console-select navigation with expect() check") added expect() checks after each GRUB submenu transition in BOOTLOADERchooseSerialConsole(), but did not fix the underlying race it described: on the installed system, BOOTLOADER_LOAD_TMO (5s) is slept before the first KEY_DOWN is sent, while that system's top-level GRUB menu auto-boots its default entry after the same 5s with no margin. Under host load the countdown could win, so GRUB booted straight past "Boot options" and the new child.expect('Select console type', ...) then blocked for the full BOOTLOADER_TMO waiting for text that would never appear. Send the first navigation key immediately after the GRUB banner is detected instead of sleeping first, so the auto-boot countdown is cancelled right away rather than raced against.
Diffstat (limited to 'scripts/build-kernel')
0 files changed, 0 insertions, 0 deletions