Commit Graph

9 Commits

Author SHA1 Message Date
Colin Watson
9ece653495 Fix error handling bug in linuxefi
We need to clear `grub_errno` after handling a memory allocation
failure, otherwise we mistakenly report "out of memory" shortly
afterwards.
2021-09-27 20:10:10 +01:00
Colin Watson
fa3f0da1de New upstream release (2.06) 2021-09-25 00:38:02 +01:00
Colin Watson
84eafb71de Drop mkconfig-mid-upgrade.patch
It was only needed for upgrades from GRUB 1.99 (now a long time ago) and
can inappropriately hide problems when /etc/grub.d/00_header should have
been updated but wasn't.

Closes: #953201
2020-03-07 12:23:30 +00:00
Ivan J
6335160a22 Fix UEFI installation for Devuan
Closes: #932966
2019-08-06 10:53:12 +01:00
Colin Watson
688928ba26 New upstream release (2.04) 2019-07-09 11:43:43 +01:00
Colin Watson
43ce77e5df Squash linuxefi* patches into a single patch 2019-06-26 11:19:59 +01:00
Steve Langasek
ac32067c63 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.
2019-06-24 08:13:18 +01:00
Will Thompson
168de09385 Fix --disable-quiet-boot
QUIET_BOOT is always defined: it is 1 if --enable-quiet-boot is passed
to configure, and 0 otherwise. But every CPP conditional was based on
whether it is defined or not; so the --enable-quiet-boot code paths were
in fact always enabled.
2019-06-24 08:00:55 +01:00
Colin Watson
8be00ff3bf New upstream release candidate (2.04~rc1) 2019-05-30 16:52:12 +01:00