From b9de6a7b94c38dd08c88ff843b26cf4677430bcc Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 4 Oct 2023 12:55:52 +0100 Subject: 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 --- docs/BOOT_LOADER_INTERFACE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/BOOT_LOADER_INTERFACE.md') 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 -- cgit v1.2.3