Last commit made on 2021-02-23
Get this branch:
git clone -b ubuntu/focal
Members of Ubuntu Core Development Team can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

82f6961... by Robert C Jennings on 2021-02-23

releasing package livecd-rootfs version 2.664.18

0775862... by Pat Viafore on 2020-07-22

Add mechanism to detect initrdless boot fallback

With this change, when we attempt to boot with an initramfs and fail,
initrdless_boot_fallback_triggered is set to non-zero in the grubenv.
This value can be checked after boot by looking in /boot/grub/grubenv
or by using the grub-editenv list command.

Addresses LP: #1870189

4030c8b... by David Krauser on 2020-07-06

Drop hack in kvm image that forces initramfs-less boot

Since the kvm image now boots without an initramfs by default, we
don't need to force it in the build hook.

c81f4ca... by David Krauser on 2020-07-06

Boot without an initramfs by default if running a custom kernel

Initramfs-less boot, which is a boot optimization, should only be
applied where we know it could work for users and provide an improved
boot boot experience; images with custom kernels are candidates for

6a37833... by David Krauser on 2020-07-06

Boot with an initramfs by default in cloud images

Generic cloud images with the linux-generic kernel are not able to
boot without an initramfs. Previously, these images attempted to boot
without an initramfs, would fail, and then retry with an initramfs.
This slows the boot and is confusing behavior.

d059742... by Dimitri John Ledkov on 2021-02-09

releasing package livecd-rootfs version 2.664.17

6b32cd5... by Dimitri John Ledkov on 2021-02-03

functions: stop removing systemd-detect-virt unconditionally in undivert_grub

One can call divert_grub; replace_kernel; undivert_grub. And
replace_kernel will call into force_boot_without_initramfs, which
under certain conditions can call divert_grub &
undivert_grub. Resulting in undivert_grub called twice in a row.

When undivert_grub is called twice in a row it wipes
systemd-detect-virt binary from disk, as the rm call is unguarded to
check that there is something to divert if systemd package is
installed. And if the systemd package is not installed, it does not
check that systemd-detect-virt file is in-fact what divert_grub has

Add a guard to check that systemd-detect-virt is the placeholder one,
before removing it.

LP: #1902260
(cherry picked from commit 096a00f40459187719840ccad99e86c7ade2ec12)

e1bea4d... by Dimitri John Ledkov on 2021-02-01

Perform fsck on all rootfs.

LP: #1912835
(cherry picked from commit 33b7272a2331279b4c7aa8de73ed8a9069d0bd39)

5c80231... by Dimitri John Ledkov on 2021-01-22

esp: perform fsck.

LP: #1912835
(cherry picked from commit 53b28d5f58284657ee8efd08a633d557af1fcd97)

2646b9c... by Dimitri John Ledkov on 2021-01-22

esp: install grub in ubuntu bootloader id path, instead of removable.

Do not use removable uefi bootloader path in the cloud-images by
default, as that prevents upgrades of the bootloader.

LP: #1912830
(cherry picked from commit 7c760864fdcb278ca37396f06f5e3f297428d63d)