~mvo/snapd/+git/snapd-mvo:core20-snapstate-handlers-install-run-make-bootable-fixes

Last commit made on 2019-12-18
Get this branch:
git clone -b core20-snapstate-handlers-install-run-make-bootable-fixes https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
core20-snapstate-handlers-install-run-make-bootable-fixes
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

8d170d9... by Michael Vogt

seed: add missing comment

ebe759f... by Michael Vogt

devicestate: advoid adding mockModel to deviceMgrInstallModeSuite

This is a small cleanup followup to PR#7921. We can avoid putting
mockModel on the deviceMgrInstallModeSuite as it's only needed
inside this one test right now.

7f71e2f... by Michael Vogt

Merge pull request #7921 from mvo5/core20-snapstate-handlers-install-run-makebootable

devicestate: run boot.MakeBootable in doSetupRunSystem

5a7905b... by Michael Vogt

Merge pull request #7918 from mvo5/core20-make-bootable-copy-base-kernel

boot: copy kernel/base to data partition in makeBootable20RunMode

a48cee2... by Sergio Cazzolato

Merge pull request #7858 from anonymouse64/bugfix/lxd-inside-lxd-regression-test

tests: also check nested lxd container

0b005e9... by Paweł Stołowski

Merge pull request #7930 from bboozzoo/bboozzoo/run-chceks-match-v

run-checks: complain about MATCH -v

9b037eb... by Maciej Borzecki

Merge pull request #7929 from mvo5/core20-boot-not-runmode-2

boot: always return the trivial boot participant in ephemeral mode

f3761fc... by Maciej Borzecki

boot: fix comment typo

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

a17652f... by Maciej Borzecki

tests/main/snap-set-core-config: fix use of MATCH -v

Use of MATCH -v is often incorrect since it returns 0 when there are lines not
matching the pattern in the input.

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

6338832... by Samuele Pedroni

Merge pull request #7906 from pedronis/gadget-validation-install-or-refresh

o/devicestate,o/snapstate: move the gadget.yaml check

Move the gadget.yaml basic check to its own checker (checkGadgetValid in devicestate.go) that will be
invoked both for install and refresh. The current placement runs it only on refreshes.

To help write the test introduce snaptest.MockContainer.

drive-by: use gadget.ReadInfoFromSnapFile in checkGadgetRemodelCompatible