~snappy-dev/snapd/+git/snapd-pawel:disk-space-awareness/feature-flag-remove

Last commit made on 2020-09-01
Get this branch:
git clone -b disk-space-awareness/feature-flag-remove https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
disk-space-awareness/feature-flag-remove
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

14f1b90... by Paweł Stołowski

Add feature flag for disk space check on remove.

a039df2... by Ian Johnson

Merge pull request #9207 from anonymouse64/bugfix/uc20-reboot-kernel-fallback-initramfs

boot/bootstate20: reboot to rollback to previous kernel

We currently have a bug where we when we go to try a kernel snap revision that
was booted, if it fails verification somehow in the initramfs, we decide to
mount the old kernel snap even though we are running the new kernel snap. This
is problematic for things like kernel modules and firmware which are not
guaranteed to be compatible across kernel snap revisions.

The correct thing to do, which this commit implements, is to request a reboot
from the initramfs when we encounter this situation, as this will indicate to
the bootloader that the boot of the new kernel snap failed and that it should
rollback and boot the old kernel, in which case we will make the correct and
obvious choice in the initramfs to mount/use the old kernel, which fixes the
bug.

We simulate the reboot in tests with a panic.

2986753... by Maciej Borzecki

Merge pull request #9244 from bboozzoo/bboozzoo/uc20-boot-unit-test-helpers

boot: add unit test helpers

accda18... by Maciej Borzecki

boot: add unit test helpers

Signed-off-by: Maciej Borzecki <email address hidden>

f642fcc... by Maciej Borzecki

Merge pull request #9201 from bboozzoo/bboozzoo/uc20-gadget-update-observe

boot: observe update & rollback of trusted assets

6bad464... by Michael Vogt

Merge pull request #9224 from ellipticSecure/master

interfaces/utf: Add MIRKey to u2f devices

f3658c3... by Michael Vogt

Merge pull request #9240 from anonymouse64/feature/uc20-cloud-init-signed-0.2

o/devicestate/devicestate_cloudinit_test.go: test cleanup for uc20 cloud-init tests

a630ef8... by Maciej Borzecki

Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-gadget-update-observe

f2897a4... by Michael Vogt

Merge pull request #9238 from pedronis/test-cleanup-safety

many: check that users of BaseTest don't forget to consume cleanups

2117c59... by Maciej Borzecki

boot: drop unused code, drop comments

Signed-off-by: Maciej Borzecki <email address hidden>