~akashraoind-deactivatedaccount/grub:lp-1891680

Last commit made on 2020-08-18
Get this branch:
git clone -b lp-1891680 https://git.launchpad.net/~akashraoind-deactivatedaccount/grub
Only akash rao can upload to this branch. If you are akash rao please log in for upload directions.

Branch merges

Branch information

Name:
lp-1891680
Repository:
lp:~akashraoind-deactivatedaccount/grub

Recent commits

950bf01... by Dimitri John Ledkov

debian/postinst.in: fail non-interactive grub-pc configuration with failed devices.

LP: #1891680

774a39e... by Dimitri John Ledkov

debian/postinst.in: split grub-pc grub-install into two stages.

First attempt to update MBR only, using a temporary boot directory. If
successful, update the modules in /boot too. This will prevent
updating /boot with incompatible modules, whilst writting MBR
failed. Example of MBR writting failures are non-existent devices,
and/or devices that exist, yet refuse writting to them.

LP: #1891680

f783a1b... by Julian Andres Klode

releasing package grub2 version 2.04-1ubuntu28

fe91846... by Julian Andres Klode

Ensure that grub-multi-install can always find templates

We'll just install a templates file for grub-common, and then
use db_x_loadtemplatefile to load the templates if invoked from
another package.

LP: #1879948

aa97b48... by Julian Andres Klode

merge back real 26.2 changelog entries

Thanks to the apw for pointing out that the changelog differed,
I did not realize and thought the git branch was correct :/

d690acd... by Julian Andres Klode

releasing package grub2 version 2.04-1ubuntu27

4fc33cb... by Julian Andres Klode

change version to 2.04-1ubuntu27 (UNRELEASED)
debian/patches/ubuntu-flavour-order.patch:
- Add a (hidden) GRUB_FLAVOUR_ORDER setting that can mark certain kernel
flavours as preferred, and specify an order between those preferred
flavours (LP: #1882663)
debian/patches/ubuntu-zfs-enhance-support.patch:
- Use version_find_latest for ordering kernels, so it also supports
the GRUB_FLAVOUR_ORDER setting.
debian/patches/ubuntu-dont-verify-loopback-images.patch:
- disk/loopback: Don't verify loopback images (LP: #1878541),
Thanks to Chris Coulson for the patch
debian/patches/ubuntu-recovery-dis_ucode_ldr.patch
- Pass dis_ucode_ldr to kernel for recovery mode (LP: #1831789)
debian/patches/ubuntu-add-initrd-less-boot-fallback.patch:
- Merge changes from xnox to fix multiple initrds support (LP: #1878705)
debian/patches/ubuntu-clear-invalid-initrd-spacing.patch:
- Remove, no longer needed thanks to xnox's patch

398371c... by Julian Andres Klode

Pass dis_ucode_ldr to kernel for recovery mode

In case of a botched microcode update, this allows people to
easily roll back.

It will of course break in the more unlikely event that you are
missing a microcode update in your firmware that is needed to boot
the system, but editing the entry to remove an option is easier than
having to figure out the option and add it.

LP: #1831789
Patch-Name: ubuntu-recovery-dis_ucode_ldr.patch

7cb4052... by Chris Coulson

UBUNTU: disk/loopback: Don't verify loopback images

When a file is verified, the entire contents of the verified file are
loaded in to memory and retained until the file handle is closed. A
consequence of this is that opening a loopback image can incur a
significant memory cost.

As loopback devices are just another disk implementation, don't treat
loopback images any differently to physical disk images, and skip
verification of them. Files opened from the filesystem within a loopback
image will still be passed to verifier modules where required.

Signed-off-by: Chris Coulson <email address hidden>
LP: #1878541
Forwarded: yes, https://lists.gnu.org/archive/html/grub-devel/2020-06/msg00002.html
Patch-Name: ubuntu-dont-verify-loopback-images.patch

8f4642a... by Julian Andres Klode

UBUNTU: Add GRUB_FLAVOUR_ORDER configuration item

This allows you to specify flavours that will be preferred
over other ones, and the order in which they are preferred
- items in the list win over items not in the list, and items
earlier in the list win over later ones.

We still have to sort out storage of this, as we need to
inject that from packages or the UA client and similar,
and we can't just modify /etc/default/grub for that.

LP: #1882663
Patch-Name: ubuntu-flavour-order.patch