diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2023-10-04 13:55:52 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2023-10-17 15:59:26 +0200 |
commit | b9de6a7b94c38dd08c88ff843b26cf4677430bcc (patch) | |
tree | ea28a7ee440eeb3a0d39609b63438531cd6582d8 /docs | |
parent | test: don't restart journal-upload on an expected fail (diff) | |
download | systemd-b9de6a7b94c38dd08c88ff843b26cf4677430bcc.tar.xz systemd-b9de6a7b94c38dd08c88ff843b26cf4677430bcc.zip |
docs/BOOT_LOADER_INTERFACE: mention that menu-* options are strings
To be on the safe side, explicitly mention that apart from the numerical
entries we can allow string ones.
Implementation-wise, bootctl will use internal numerical values that
match sd-boot's ABI. The latter also accepts the string options.
Going forward we'd like to avoid adding more internal magic and be more
explicit.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/BOOT_LOADER_INTERFACE.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/BOOT_LOADER_INTERFACE.md b/docs/BOOT_LOADER_INTERFACE.md index 7131baf005..79d1224057 100644 --- a/docs/BOOT_LOADER_INTERFACE.md +++ b/docs/BOOT_LOADER_INTERFACE.md @@ -31,7 +31,8 @@ variables. All EFI variables use the vendor UUID * The EFI variable `LoaderConfigTimeout` contains the boot menu timeout currently in use. It may be modified both by the boot loader and by the host. The value should be formatted as numeric, NUL-terminated, decimal - string, in UTF-16. The time is specified in seconds. A value of `menu-force` + string, in UTF-16. The time is specified in seconds. In addition some + non-numeric string values are also accepted. A value of `menu-force` will disable the timeout and show the menu indefinitely. If set to `0` or `menu-hidden` the default entry is booted immediately without showing a menu. The boot loader should provide a way to interrupt this by for example |