[PATCH 1/2] efi: loader: don't let VarToFile stop the variable file from being written

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 28 06:07:44 PDT 2026


On Wed, 26 Aug 2026 11:47:57 +0200, Ahmad Fatoum wrote:
> efi_var_collect() walks the variable store with GetNextVariableName() and
> reads every variable it finds into a buffer the size of the store, then
> keeps only those matching the attribute mask. Reading a variable whose
> value does not fit aborts the collection, and with it the write of the
> variable file:
> 
>   efi-loader: var-file: Failed to persist EFI variables Out of memory
> 
> [...]

Applied, thanks!

[1/2] efi: loader: don't let VarToFile stop the variable file from being written
      https://git.pengutronix.de/cgit/barebox/commit/?id=655c59531037 (link may not be stable)
[2/2] efi: loader: keep booting when the runtime variable store is unavailable
      https://git.pengutronix.de/cgit/barebox/commit/?id=b6ce84a22fe5 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list