]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: ensure that file ubootefi.var is created
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 19 Jan 2023 13:49:33 +0000 (14:49 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 20 Jan 2023 15:38:52 +0000 (16:38 +0100)
commite422f64aa381c7308be6ef4bc88f7798ecd6a8a0
tree62c20d56da763a8253124ec33db70ed02c651e7a
parent07a0f215c406c713dd1dc43dc27331dcf18054cd
efi_loader: ensure that file ubootefi.var is created

Currently file ubootefi.var is only created if the user sets a non-volatile
EFI variable. If the file is missing, a warning is written.

With the change PlatformLang is always persisted. So the file will exist on
second boot.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_variable.c