~xnox/grub:do-not-validate-twice

Last commit made on 2022-03-15
Get this branch:
git clone -b do-not-validate-twice https://git.launchpad.net/~xnox/grub
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Branch information

Name:
do-not-validate-twice
Repository:
lp:~xnox/grub

Recent commits

f1786b6... by Dimitri John Ledkov

Do not validate kernels twice.

LP: #1964943

5a8f593... by Julian Andres Klode

releasing package grub2 version 2.06-2ubuntu5

5c3c88b... by Julian Andres Klode

Re-enable peimage code on other archs outside secure boot

This allows us to run the new code in the autopkgtest cloud
on arm64.

It should be enabled for secure environments later, once it
recevied security review.

83da65b... by Heinrich Schuchardt

Enable building for RISC-V

The following new packages will be built:

- grub-efi-riscv64-bin
- grub-efi-riscv64-dbg
- grub-efi-riscv64

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

20b3957... by Heinrich Schuchardt

fat: fix listing the root directory

Listing the root directory of a FAT file system fails.
As the EFI system partition uses FAT formatting we need this fixed.

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

fc012a8... by Heinrich Schuchardt

Add patches for GRUB on RISC-V

* Upstream patches are added to build GRUB for RISC-V.
* Existing patches supporting secure boot via Shim are adjusted.
* New code to launch EFI binaries is provided in
  grub-core/loader/efi/peimage.c

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

38ea656... by Heinrich Schuchardt

Rename grub-core/loader/efi/linux.c

Pending upstream patches use file name grub-core/loader/efi/linux.c.
To avoid merge conflicts we should use a different name (linux_sb.c)
for the file implementing our secure boot validation.

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

533c36f... by Julian Andres Klode

Only run os-prober on first run and if it previously found other OS

This ensures that we do not regress the user experience where it
matters (installing Ubuntu alongside existing systems), but prevents
us from running os-prober if there was no other OS installed during
installation time.

LP: #1955109

01413a5... by Julian Andres Klode

Build with FUSE3

LP: #1935659

29bb37e... by Julian Andres Klode

Free correct size when freeing params, rather than 16 Ki

Earlier versions of the patch allocated params to be 16 KiB
large, then we only allocated the size we actually need, but
the did not change the free to the new size.

LP: #1958623