Bug 16371 - systemd-boot: Timeout of zero not working
Summary: systemd-boot: Timeout of zero not working
Status: NEW
Alias: None
Product: Wic
Classification: Yocto Project Subprojects
Component: wic (show other bugs)
Version: v0.3.0
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Trevor Woerner
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-07-22 09:21 UTC by Markus Faymann
Modified: 2026-07-22 09:23 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
Patch (959 bytes, patch)
2026-07-22 09:21 UTC, Markus Faymann
no flags Details | Diff
Example Kickstart file where issue occurs (627 bytes, text/plain)
2026-07-22 09:22 UTC, Markus Faymann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Faymann 2026-07-22 09:21:58 UTC
Created attachment 5237 [details]
Patch

When using the systemd-boot bootloader in a Kickstart file, you cannot supply a bootloader timeout of zero. The wic component changes it to 5. 

This is because of the line

loader_conf += "timeout %d\n" % (bootloader.timeout or 5)

in bootimg_efi.py.

The attached patch fixes the issue. The issue is still present in the most recent commit (dfec4f2318).

It was possible to set the timeout to zero when using the Scarthgap release of Yocto.
Comment 1 Markus Faymann 2026-07-22 09:22:45 UTC
Created attachment 5238 [details]
Example Kickstart file where issue occurs