diff mbox series

[v3,4/8] bootimg_pcbios: update default boot timeout to zero

Message ID 20250905164136.2896809-4-vince@underview.tech
State New
Headers show
Series [v3,1/8] bootimg_pcbios: support grub hybrid boot | expand

Commit Message

Vincent Davis Jr Sept. 5, 2025, 4:41 p.m. UTC
If caller doesn't specify a timeout more than likely
because caller doesn't want one. Set it to zero.

This also fixes boot time issues related to
OE selftest that leverage boot testing with
qemu.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
 scripts/lib/wic/plugins/source/bootimg_pcbios.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/lib/wic/plugins/source/bootimg_pcbios.py b/scripts/lib/wic/plugins/source/bootimg_pcbios.py
index a7fb2eca4e..2fdca98848 100644
--- a/scripts/lib/wic/plugins/source/bootimg_pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg_pcbios.py
@@ -208,7 +208,7 @@  class BootimgPcbiosPlugin(SourcePlugin):
             # 'None' being the value placed within the configuration
             # file.
             if not bootloader.timeout:
-                bootloader.timeout = 500
+                bootloader.timeout = 0
 
             # Set a default kernel params string if none specified
             # to avoid 'None' being the value placed within the
@@ -364,7 +364,7 @@  class BootimgPcbiosPlugin(SourcePlugin):
             # 'None' being the value placed within the configuration
             # file.
             if not bootloader.timeout:
-                bootloader.timeout = 500
+                bootloader.timeout = 0
 
             # Set a default kernel params string if none specified
             # to avoid 'None' being the value placed within the