]> git.dujemihanovic.xyz Git - u-boot.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)
commit90c420509ed66ef4cb8453b7e388beb168c34a97
tree62c20d56da763a8253124ec33db70ed02c651e7a
parente585b79ee4b1424f43dc7dbf66fc4f054255cb57
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