~juliank/grub/+git/ubuntu:bionic

Last commit made on 2020-03-11
Get this branch:
git clone -b bionic https://git.launchpad.net/~juliank/grub/+git/ubuntu
Only Julian Andres Klode can upload to this branch. If you are Julian Andres Klode please log in for upload directions.

Branch merges

Branch information

Name:
bionic
Repository:
lp:~juliank/grub/+git/ubuntu

Recent commits

b1ac3a4... by Julian Andres Klode

change version to 2.02-2ubuntu8.15 (UNRELEASED)
Make the linux command in EFI grub always try EFI handover; thanks
to Chris Coulson for the patches (LP: #1864533)

42f0109... by Chris Coulson

ubuntu: Update the linux boot protocol version check.

The EFI implementation of grub_cmd_linux makes use of xloadflags which was
introduced in to version 2.12 of the kernel's boot protocol, so update the
check accordingly.

0dd913f... by Chris Coulson

ubuntu: Make the linux command in EFI grub always try EFI handover

The previous implementation only boots via the EFI handover protocol when
secure boot is enabled. This means that disabling secure boot breaks some
features that depend on the kernel being booted via the EFI handover entry
point, such as retrieval of the TCG event log.

Update the linux command to always attempt to defer to linuxefi in EFI grub
builds, regardless of whether secure boot is enabled or not. This also allows
a fallback to the non-EFI handover path on kernels that don't support it, but
only if secure boot is disabled.

4958ba7... by Julian Andres Klode

Import grub2 2.02-2ubuntu8.14

57dc705... by Peter Jones

Forbid the "devicetree" command when Secure Boot is enabled.

Signed-off-by: Peter Jones <email address hidden>
Signed-off-by: Steve McIntyre <email address hidden>

Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927888#15
Bug-Debian: https://bugs.debian.org/927888
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1851897
Last-Update: 2019-11-09

Patch-Name: no-devicetree-if-secure-boot.patch

b078754... by Julian Andres Klode

Import grub2_2.02-2ubuntu8.14.dsc

5921d59... by Leif Lindholm

efi/fdt: Set address/size cells to 2 for empty tree

When booting an arm* system on UEFI with an empty device tree (currently
only when hardware description comes from ACPI), we don't currently set
default to 1 cell (32 bits).

Set both of these properties, to 2 cells (64 bits), to resolve issues
with kexec on some platforms.

This change corresponds with linux kernel commit ae8a442dfdc4
("efi/libstub/arm*: Set default address and size cells values for an empty dtb")
and ensures booting through grub does not behave differently from booting
the stub loader directly.

See also https://patchwork.kernel.org/patch/9561201/

Signed-off-by: Leif Lindholm <email address hidden>
Reviewed-by: Daniel Kiper <email address hidden>

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1851190
Last-Update: 2019-11-04
Applied-Upstream: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=347210a5d5ce655b95315f320faa515afb723c11

Patch-Name: 0002-efi-fdt-Set-address-size-cells-to-2-for-empty-tree.patch

0ba5b10... by Leif Lindholm

fdt: Move prop_entry_size to fdt.h

To be able to resuse the prop_entry_size macro, move it to
<grub/fdt.h> and rename it grub_fdt_prop_entry_size.

Signed-off-by: Leif Lindholm <email address hidden>
Reviewed-by: Daniel Kiper <email address hidden>
[dannf: context changes required for backport ]

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1851190
Last-Update: 2019-11-04
Applied-Upstream: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=e93fd6b776a7e6cef36c445d00436e5a23cfeba5

Patch-Name: 0001-fdt-Move-prop_entry_size-to-fdt.h.patch

d1d4790... by Julian Andres Klode

Import grub2 2.02-2ubuntu8.13

a44b37d... by Julian Andres Klode

Import grub2_2.02-2ubuntu8.13.dsc