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
Colin Watson
ce942da8e7
Fix format-overflow warning with GCC 7
...
The overflow was in fact impossible in practice because the int
parameter is only ever 0, 1, or 2, but GCC couldn't prove that.
2018-03-16 11:00:46 +00:00
Colin Watson
2933c9f7a1
Import replacement CRC operations from libgcrypt
...
Repack upstream tarball without grub-core/lib/libgcrypt*/cipher/crc.c,
and provide a replacement implementation backported from more recent
versions of libgcrypt.
Closes : #745409
2018-02-16 11:08:25 +00:00
Colin Watson
2ff415b872
New upstream release (2.02)
2017-06-23 10:36:02 +01:00
Colin Watson
4dfe4e8ef3
Make grub-install check for errors from efibootmgr
2017-02-11 15:05:36 +00:00
Mathieu Trudel-Lapierre
3913ab6629
Update for the new names of the EFI binaries from shim.
2016-11-01 11:06:30 +00:00
Colin Watson
93f7216be4
linuxefi.patch: Adjust for libgcc removal.
2016-09-19 13:35:39 +01:00
Colin Watson
b3fb0ce64d
Drop "grub-shell: Pass -no-pad to xorriso when building floppy images". The floppy images built by grub-shell are no longer over the floppy limit, and this patch now itself causes fddboot_test failures.
2016-09-19 12:17:12 +01:00
Colin Watson
93c7766a07
New upstream beta release (2.02~beta3).
2016-09-18 18:18:51 +01:00
Linn Crosetto
52b72f8929
Install arm64 signed images if UEFI Secure Boot is enabled ( closes : #806178 ).
2015-11-25 16:05:43 +00:00
Mathieu Trudel-Lapierre
4c04d2f4fd
Update quick boot logic to handle abstractions for which there is no write support. (LP: #1274320 )
2015-09-04 12:04:21 +01:00
Mathieu Trudel-Lapierre
aa819463fc
debian/patches/uefi_firmware_setup.patch: Take into account that the UEFI variable OsIndicationsSupported is a bit field, and as such should be compared as hex values in 30_uefi-firmware.in. (LP: #1456911 )
2015-09-04 11:57:52 +01:00
Steven Chamberlain
b001df4870
Recognise Xen xbd and KVM virtio disks on kFreeBSD ( closes : #786621 ).
2015-06-14 10:01:24 +01:00
Colin Watson
4473aff509
Change the default GRUB_RECORDFAIL_TIMEOUT to 30, so interactive users still get the opporunity to intervene after a real boot failure, but headless users will not end up stuck after boot failures that were really power failures ( closes : #782552 , LP: #1443735 ).
2015-05-14 16:16:53 +01:00
Colin Watson
ee9e446467
Use mtmsr rather than mtmsrd in ppc64el-disable-vsx.patch, since the "VSX Available" bit is in the lower half of the MSR anyway, and mtmsrd faults on 32-bit systems ( closes : #776400 ).
2015-01-27 20:35:15 +00:00
Colin Watson
9e060a25e6
Fix up some pointer-to-integer casts in linuxefi
...
This allows it to build on i386-efi.
2014-11-18 14:57:00 +00:00
Ian Campbell
ff10799767
Update grub-install-pvxen-paths.patch to v2 posted upstream.
2014-10-24 08:44:40 +01:00
Ian Campbell
f6fdc6e279
merge patched-xen into xen
2014-10-22 10:15:17 +01:00