[PATCH 2/2] Minimise writes to EFI variable storage

2019-03-11 Thread Colin Watson
Some UEFI firmware is easily provoked into running out of space in its variable storage. This is usually due to certain kernel drivers (e.g. pstore), but regardless of the cause it can cause grub-install to fail because it currently asks efibootmgr to delete and re-add entries, and the deletion of

[PATCH 0/2] *** SUBJECT HERE ***

2019-03-11 Thread Colin Watson
Some UEFI firmware is easily provoked into running out of space in its variable storage. This is usually due to certain kernel drivers (e.g. pstore), but regardless of the cause it can cause grub-install to fail because it currently asks efibootmgr to delete and re-add entries, and the deletion of

Re: [PATCH 0/2] Minimise writes to EFI variable storage

2019-03-11 Thread Colin Watson
Oops, please ignore me failing to drive my email client correctly. Corrected subject line here ... -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/

[PATCH 1/2] Add %X to grub_vsnprintf_real and friends

2019-03-11 Thread Colin Watson
This is needed for UEFI Boot* variables, which the standard says are named using upper-case hexadecimal. --- grub-core/kern/misc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c index 3b633d51f..73f8e0e9e 100644 --- a/gr