From: Emil Velikov Date: Wed, 4 Oct 2023 11:55:52 +0000 (+0100) Subject: docs/BOOT_LOADER_INTERFACE: mention that menu-* options are strings X-Git-Tag: v255-rc1~216^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9de6a7b94c38dd08c88ff843b26cf4677430bcc;p=thirdparty%2Fsystemd.git 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 --- diff --git a/docs/BOOT_LOADER_INTERFACE.md b/docs/BOOT_LOADER_INTERFACE.md index 7131baf005a..79d1224057f 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