~toabctl/livecd-rootfs:focal-backport-optional-allow-core-snaps

Last commit made on 2022-03-09
Get this branch:
git clone -b focal-backport-optional-allow-core-snaps https://git.launchpad.net/~toabctl/livecd-rootfs
Only Thomas Bechtold can upload to this branch. If you are Thomas Bechtold please log in for upload directions.

Branch merges

Branch information

Name:
focal-backport-optional-allow-core-snaps
Repository:
lp:~toabctl/livecd-rootfs

Recent commits

4ec6cef... by Thomas Bechtold

Update debian/changelog

edc2442... by Thomas Bechtold

Allow to install core snap optionally

Commit 245f7772bdb74 added code to abort the build if a snap wants to
install "core" (the 16.04 runtime). That's great but there are still
some CPC maintained image builds that use snaps based on "core". So
make it possible to continue the build if the "ALLOW_CORE_SNAP" env
variable is set.

(cherry picked from commit 34735684d5208981b2413047f67ee4c363d718d8)

febe9e3... by Utkarsh Gupta

Update d/ch for 2.664.40 release

442dbd4... by Ivan Kapelyukhin

Update changelog

9eb9d89... by Ivan Kapelyukhin

fix: unset initrdless_boot_fallback_triggered instead of setting it to 0

This fixes GCE shielded VM instances integrity monitoring failures on
focal and later. Our images are built with an empty /boot/grub/grubenv
file, however after the first boot `initrdless_boot_fallback_triggered`
is set to 0. This change in `grubenv` results in integrity monitoring
`lateBootReportEvent` error.

It seems that the only thing that's checking for this `grubenv` variable
is `grub-common.service`, and it is looking specifically for a `1`
value:

  if grub-editenv /boot/grub/grubenv list | grep -q
  initrdless_boot_fallback_triggered=1; then echo "grub:
  GRUB_FORCE_PARTUUID set, initrdless boot paniced, fallback triggered.";
  fi

Unsetting this variable instead of setting it to 0 would prevent issues
with integrity monitoring.

fed7c9d... by Łukasz Zemczak

releasing package livecd-rootfs version 2.664.39

fe55761... by Łukasz Zemczak

Use the classic gadget for raspi images

1b96055... by Brian Murray

releasing package livecd-rootfs version 2.664.38

0fbafa9... by John Chittum

Add sleep to workaround e2fsck errors

LP: 1960537 illustrates an issue where the calls to e2fsck in the
umount_partition call are failing due to an open file handle. At this
time, we are unable to find a root cause, and it's causing many builds
to fail for CPC. Adding a sleep 30 as a workaround as the file handle
releases within that timeframe. This does not address root cause.

14c13d1... by Steve Langasek

releasing package livecd-rootfs version 2.664.37