mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
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>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user