~snappy-dev/snapd/+git/snapd-pawel:disk-space-awareness/refresh-check

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

Branch merges

Branch information

Name:
disk-space-awareness/refresh-check
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

17b51dd... by Paweł Stołowski

Add one more test case and make disk check failure conditional in tests.

81f58ce... by Paweł Stołowski

Disk space check with snap refresh.

2f0bdf7... by Michael Vogt

Merge pull request #9299 from anonymouse64/feature/uc20-recovery-fix

tests/core/uc20-recovery: fix check for at least specific calls to mock-shutdown

25293ed... by Samuele Pedroni

boot: be consistent using bootloader.Role* consts instead of strings

Merge pull request #9309 from pedronis/boot-bootchain-role-consts

this is just a cleanup on top #9306.

47254a9... by Samuele Pedroni

boot: helper for generating secboot load chains from a given boot asset sequence

Merge pull request #9306 from bboozzoo/bboozzoo/uc20-load-chain-from-boot-asset

The helpers enables generating secboot load chain trees from boot asset
sequences.

0177209... by Samuele Pedroni

boot: be consistent using bootloader.Role* consts instead of strings

d721afc... by Samuele Pedroni

Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-load-chain-from-boot-asset

fix conflicts

2180f7e... by Samuele Pedroni

boot: tweak boot chains to support a list of kernel command lines, keep track of model and kernel boot file

Merge pull request #9304 from bboozzoo/bboozzoo/uc20-boot-chain-tweaks-1

9afc300... by Samuele Pedroni

boot,secboot: switch to expose and use snapcore/secboot load event trees

Merge pull request #9303 from pedronis/secboot-load-chain-trees

there is more to do in boot to fully embrace this, but it makes sense to build on top of bootChain for that

70f25ed... by Ian Johnson

tests/core/uc20-recovery: fix check for at least specific calls to mock-shutdown

The lines in the script currently actually look like:

```
+ cat /tmp/mock-shutdown.calls
-r +10 reboot scheduled to update the system
stop serial-getty@ttyS0
stop getty@tty1
-r +0 reboot scheduled to update the system
```

because on uc20 /usr/sbin/shutdown is a symlink to /bin/systemctl, so when we
mount on top of it, we also end up mounting on top of /bin/systemctl because we
are mounting on top of a symlink.

Thus, we only save invocations of mock-shutdown that start with "-r" to indicate
that a reboot was requested, and we then check for specifically the two reboots
that we expect to have been called.

Signed-off-by: Ian Johnson <email address hidden>