cmd: bootmenu: add parameter -e for UEFI boot options
The bootmenu command can display
* menu entries defined by environment variables
* menu entries defined by UEFI boot options
Not in all cases showing the UEFI boot options is desired.
Provide a new parameter '-e' to select the display of UEFI boot options.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
(cherry picked from commit 5a4ac8a35a)
This commit is contained in:
committed by
Simon Glass
parent
c76a876837
commit
7ba8c2d7ae
@@ -11,7 +11,7 @@ Synopsis
|
||||
--------
|
||||
::
|
||||
|
||||
bootmenu [delay]
|
||||
bootmenu [-e] [delay]
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -28,6 +28,14 @@ The "bootmenu" command interprets ANSI escape sequences, so
|
||||
an ANSI terminal is required for proper menu rendering and item
|
||||
selection.
|
||||
|
||||
-e
|
||||
show menu entries based on UEFI boot options
|
||||
|
||||
delay
|
||||
is the autoboot delay in seconds, after which the first
|
||||
menu entry will be selected automatically
|
||||
|
||||
|
||||
The assembling of the menu is done via a set of environment variables
|
||||
"bootmenu_<num>" and "bootmenu_delay", i.e.::
|
||||
|
||||
@@ -35,8 +43,7 @@ The assembling of the menu is done via a set of environment variables
|
||||
bootmenu_<num>="<title>=<commands>"
|
||||
|
||||
<delay>
|
||||
is the autoboot delay in seconds, after which the first
|
||||
menu entry will be selected automatically
|
||||
autostart delay in seconds
|
||||
|
||||
<num>
|
||||
is the boot menu entry number, starting from zero
|
||||
|
||||
Reference in New Issue
Block a user