u-boot: gru: Do not persist EFI variables

By default U-Boot stores EFI variables in a ubootefi.var file in
whatever EFI System Partition it finds, which would be a FAT filesystem.
I'm occasionally finding out while testing that my ESPs somehow end up
with a corrupted filesystem, and I'm suspecting it's this.

For now, disable storing EFI environment variables on disk so that
U-Boot doesn't try to manipulate the filesystem.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
btrfsvols
Alper Nebi Yasak 2023-10-14 11:48:29 +03:00
parent 4e7e476191
commit 6e65595da5
2 changed files with 4 additions and 4 deletions

View File

@ -2276,8 +2276,8 @@ CONFIG_GENERATE_SMBIOS_TABLE=y
# CONFIG_SMBIOS_PARSER is not set # CONFIG_SMBIOS_PARSER is not set
CONFIG_EFI_LOADER=y CONFIG_EFI_LOADER=y
CONFIG_CMD_BOOTEFI_BOOTMGR=y CONFIG_CMD_BOOTEFI_BOOTMGR=y
CONFIG_EFI_VARIABLE_FILE_STORE=y # CONFIG_EFI_VARIABLE_FILE_STORE is not set
# CONFIG_EFI_VARIABLE_NO_STORE is not set CONFIG_EFI_VARIABLE_NO_STORE=y
# CONFIG_EFI_VARIABLES_PRESEED is not set # CONFIG_EFI_VARIABLES_PRESEED is not set
CONFIG_EFI_VAR_BUF_SIZE=65536 CONFIG_EFI_VAR_BUF_SIZE=65536
# CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set

View File

@ -2276,8 +2276,8 @@ CONFIG_GENERATE_SMBIOS_TABLE=y
# CONFIG_SMBIOS_PARSER is not set # CONFIG_SMBIOS_PARSER is not set
CONFIG_EFI_LOADER=y CONFIG_EFI_LOADER=y
CONFIG_CMD_BOOTEFI_BOOTMGR=y CONFIG_CMD_BOOTEFI_BOOTMGR=y
CONFIG_EFI_VARIABLE_FILE_STORE=y # CONFIG_EFI_VARIABLE_FILE_STORE is not set
# CONFIG_EFI_VARIABLE_NO_STORE is not set CONFIG_EFI_VARIABLE_NO_STORE=y
# CONFIG_EFI_VARIABLES_PRESEED is not set # CONFIG_EFI_VARIABLES_PRESEED is not set
CONFIG_EFI_VAR_BUF_SIZE=65536 CONFIG_EFI_VAR_BUF_SIZE=65536
# CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set