]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs/BOOT_LOADER_INTERFACE: mention that menu-* options are strings
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 4 Oct 2023 11:55:52 +0000 (12:55 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 17 Oct 2023 13:59:26 +0000 (14:59 +0100)
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>
docs/BOOT_LOADER_INTERFACE.md

index 7131baf005a641c60f00aa48f73571704d30752c..79d1224057f15cde40aa23a432d2b1e21663ad69 100644 (file)
@@ -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