Skip to content

sd-boot: allow setting the timeout via SMBIOS 11#40344

Merged
poettering merged 1 commit intosystemd:mainfrom
mvo5:sdboot-timeout
Jan 16, 2026
Merged

sd-boot: allow setting the timeout via SMBIOS 11#40344
poettering merged 1 commit intosystemd:mainfrom
mvo5:sdboot-timeout

Conversation

@mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jan 14, 2026

Allow configuring the menu timeout used by sd-boot by setting
io.systemd.boot.timeout=<value> as SMBIOS type 11 string.

This takes precedence over the setting from the config file
and the EFI var.

Useful for e.g. integration tests that want to control that
a generic image boots faster.

Tested with systemd-vmspawn --secure=false --image=test.img --smbios11=io.systemd.boot.timeout=1 on an image that has this version of systemd-bootx64.efi

@github-actions github-actions bot added documentation sd-boot/sd-stub/bootctl please-review PR is ready for (re-)review by a maintainer labels Jan 14, 2026
@poettering poettering added good-to-merge/with-minor-suggestions and removed please-review PR is ready for (re-)review by a maintainer labels Jan 16, 2026
Allow configuring the menu timeout used by sd-boot by setting
`io.systemd.boot.timeout=<value>` as SMBIOS type 11 string.

This takes precedence over the setting from the config file
and the EFI var.

Useful for e.g. integration tests that want to control that
a generic image boots faster.
@daandemeyer daandemeyer added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed good-to-merge/with-minor-suggestions labels Jan 16, 2026
@poettering poettering merged commit 3f95881 into systemd:main Jan 16, 2026
49 of 57 checks passed
@github-actions github-actions bot removed the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Jan 16, 2026
mvo5 added a commit to mvo5/systemd that referenced this pull request Jan 16, 2026
This is a small followup for
systemd#40344 (comment)
(thanks Daan and Lennart!).

There are quite a few places in the code that currently log a
`log_error()` when a `log_warning()` is more appropriate because
the error is ignored. This commit now shows those as warnings.
yuwata pushed a commit that referenced this pull request Jan 16, 2026
This is a small followup for
#40344 (comment)
(thanks Daan and Lennart!).

There are quite a few places in the code that currently log a
`log_error()` when a `log_warning()` is more appropriate because
the error is ignored. This commit now shows those as warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants