~mfo/grub:lp1987567-jammy

Last commit made on 2022-10-24
Get this branch:
git clone -b lp1987567-jammy https://git.launchpad.net/~mfo/grub
Only Mauricio Faria de Oliveira can upload to this branch. If you are Mauricio Faria de Oliveira please log in for upload directions.

Branch merges

Branch information

Name:
lp1987567-jammy
Repository:
lp:~mfo/grub

Recent commits

542903b... by Mauricio Faria de Oliveira

releasing package grub2 version 2.06-2ubuntu8

Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

fba7e03... by Mauricio Faria de Oliveira

Fix for ZFS snapshots without etc directory

In the situation where ZFS snapshots do not contain a .../etc directory,
the generation of /b/g/grub.cfg silently fails, providing no "linux"
kernel lines in the /b/g/grub.cfg file.

This patch prevents this type of failure from occurring.

This issue is especially apparent on systems running in FIPS mode
with ZFS boot+root pools.

Source: https://code.launchpad.net/~arbell/grub/+git/grub/+merge/417575

LP: #1965983
Thanks: Adam R Bell <email address hidden>

Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

569a452... by Mauricio Faria de Oliveira

linux_xen: Properly handle multiple initrd files (LP: #1987567)

- d/p/linux_xen-Properly-load-multiple-initrd-files.patch
- d/p/linux_xen-Properly-order-multiple-initrd-files.patch

Gbp-Dch: Full

aa271d1... by dann frazier

releasing package grub2 version 2.06-2ubuntu7

c411c65... by Heinrich Schuchardt

Disable LOAD FILE2 protocol for initrd on ARM

RISC-V cannot load the initrd without the LOAD FILE2 protocol.

Currently the LOAD FILE2 protocol does not work with PXE due to a preboot
hook invoking grub_net_fini_hw().

So let's disable this for ARM until a solution has been agreed on with
upstream.

Signed-off-by: Heinrich Schuchardt <email address hidden>

0f3b546... by Julian Andres Klode

releasing package grub2 version 2.06-2ubuntu6

fdb8c44... by Heinrich Schuchardt

fdt: add debug output to devicetree command

For debugging we need feedback that the devicetree command has be executed.

Signed-off-by: Heinrich Schuchardt <email address hidden>

49af760... by Heinrich Schuchardt

Subject: [PATCH 1/1] efi: EFI Device Tree Fixup Protocol

Device-trees are used to convey information about hardware to the operating
system. Some of the properties are only known at boot time. (One example of
such a property is the number of the boot hart on RISC-V systems.) Therefore
the firmware applies fix-ups to the original device-tree. Some nodes and
properties are added or altered.

When using GRUB's device-tree command the same fix-ups have to be applied.
The EFI Device Tree Fixup Protocol allows to pass the loaded device tree
to the firmware for this purpose.

The protocol can

* add nodes and update properties
* reserve memory according to the /reserved-memory node and the memory
  reservation block
* install the device-tree as configuration table

With the patch GRUB checks if the protocol is installed and invokes it if
available. (LP: #1965796)

Signed-off-by: Heinrich Schuchardt <email address hidden>

f89a09a... by Dimitri John Ledkov

Do not validate kernels twice.

LP: #1964943

03a1d35... by Heinrich Schuchardt

efivar: check that efivarfs is writeable

Some UEFI implementations (notably U-Boot) don't implement the
SetVariable() runtime service. On these systems the GRUB installation
must be completed manually. Write a warning in this case but avoid
throwing an error. (LP: #1965288)

Signed-off-by: Heinrich Schuchardt <email address hidden>