From: Steve Langasek Date: Tue, 30 Oct 2018 22:04:16 +0000 (-0700) Subject: If we don't have writable grubenv and we're on EFI, always show the menu X-Git-Tag: archive/raspbian/2.12-8+rpi1~1^2~55 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a419174d9f20a9ab45a30681deb19dc0c10f98fb;p=grub2.git If we don't have writable grubenv and we're on EFI, always show the menu If we don't have writable grubenv, recordfail doesn't work, which means our quickboot behavior - with a timeout of 0 - leaves the user without a reliable way to access the boot menu if they're on UEFI, because unlike BIOS, UEFI does not support checking the state of modifier keys (i.e. holding down shift at boot is not detectable). Handle this corner case by always using a non-zero timeout on EFI when save_env doesn't work. Reuse GRUB_RECORDFAIL_TIMEOUT to avoid introducing another variable. Signed-off-by: Steve Langasek Bug-Ubuntu: https://bugs.launchpad.net/bugs/1800722 Last-Update: 2019-06-24 Patch-Name: quick-boot-lvm.patch Gbp-Pq: Name quick-boot-lvm.patch --- diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in index f3e04cc..b4112cd 100644 --- a/util/grub.d/00_header.in +++ b/util/grub.d/00_header.in @@ -115,7 +115,7 @@ EOF cat <