~rcj/livecd-rootfs/+git/livecd-rootfs:bugfix/snapchannels_focal

Last commit made on 2020-07-29
Get this branch:
git clone -b bugfix/snapchannels_focal https://git.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs
Only Robert C Jennings can upload to this branch. If you are Robert C Jennings please log in for upload directions.

Branch merges

Branch information

Name:
bugfix/snapchannels_focal
Repository:
lp:~rcj/livecd-rootfs/+git/livecd-rootfs

Recent commits

136562b... by Robert C Jennings

Handle seeded lxd snap with channel name for ubuntu-cpc:minimized (LP: #1889470)

The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images. This patch updates the pattern to accept 'lxd' or 'lxd=*'.

e9f4e97... by Dimitri John Ledkov

releasing package livecd-rootfs version 2.664.4

896b596... by Dimitri John Ledkov

snap_preseed: support channel specification with snap name

snap_name[/classic]=track/risk/branch is now the supported snap name
specification, which allows to specify the full default track and
optional classic confinemnt.

Supporting such specification in the seedtext allows one to specify a
better default channel. For example, this will allow lxd to switch
from latest/stable/ubuntu-20.04 to 4.0/stable/ubuntu-20.04 as 4.0 is
the LTS track matching 20.04 support timeframe.

LP: #1882374

(cherry picked from commit 7bae9201d20822d6875bcf5949e1fff839b8774c)
(cherry picked from commit 2976a99f292c500f39aace25ad08de21b37d7b31)
(cherry picked from commit d542e8e4a08467ef9b6237b9fcbd9166c8c99e8b)

e39a40e... by Łukasz Zemczak

releasing package livecd-rootfs version 2.664.3

8284a1c... by Łukasz Zemczak

Sync changelog

54508e6... by Iain Lane

Hack seeding of linux kernel in ubuntustudio/focal

ubuntustudio-default-settings in focal release has a Recommends to this
kernel, which makes it impossible to update the kernel later on, since
we would install the -updates and release kernel, which isn't allowed
and causes FTBFS. Hack out the focal-release kernel and let the rest of
the build process pull in the right one.

LP: #1884915

e611dfc... by Łukasz Zemczak

Enable overrides of UC20 grade dangerous channels

cd098e7... by Philip Roche

Revert of initramfs package removal in KVM image (LP: #1880170)

It was reported and confirmed in LP bug #1875400
(https://bugs.launchpad.net/cloud-images/+bug/1875400) that on the public
KVM cloud image there exists a large list of packages marked for auto-removal.

This should never be the case on a released cloud image.

These packages are marked for auto-removal because in the KVM image binary hook
we removed both initramfs-tools and busybox-initramfs packages. Due to package
dependencies this also removed:

busybox-initramfs* cloud-initramfs-copymods* cloud-initramfs-dyn-netconf*
cryptsetup-initramfs* initramfs-tools* initramfs-tools-core* multipath-tools*
overlayroot* sg3-utils-udev* ubuntu-server*

But it did not remove all the packages that the above list depended on.
This resulted in all those packages being marked for auto-removal because they
were not manually installed nor did they have any manually installed packages
that depended on them.

The removal of initramfs-tools and busybox-initramfs was to avoid the
generation of initramfs in images that should boot initramfsless.

This requirement is obsolete now because the initramfsless boot handling
is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg.

In test images I have verified that GRUB_FORCE_PARTUUID is set and that
boot speeds have not regressed.

LP: #1880170

225f2fe... by Łukasz Zemczak

Fix indentation.

0a2fbb8... by Dimitri John Ledkov

releasing package livecd-rootfs version 2.664.1