commit | 2f407f0af4340a5591be05529039b13928d1cd1f | [log] [tgz] |
---|---|---|
author | Masahisa Kojima <masahisa.kojima@linaro.org> | Fri Dec 02 13:59:35 2022 +0900 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Dec 02 19:17:25 2022 +0100 |
tree | 474db1ab67ae685cb3755585319c1c5e85cf523c | |
parent | f2d191a1fdc8de28978a1ab273f1ca38f512b098 [diff] |
efi_loader: utility function to check the variable name is "Boot####" Some commands need to enumerate the existing UEFI load option variable("Boot####"). This commit transfers some code from cmd/efidebug.c to lib/efi_loder/, then exposes efi_varname_is_load_option() function to check whether the UEFI variable name is "Boot####". Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>