~mvo/snapd/+git/snapd-mvo:uc20-gadget-config-defaults

Last commit made on 2019-12-11
Get this branch:
git clone -b uc20-gadget-config-defaults https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
uc20-gadget-config-defaults
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

44c5c6e... by Michael Vogt

seed: validate gadget structure early

a3c35b1... by Michael Vogt

snapstate: do not pass constrains in {Config,Gadget}Defaults

The constraints are not needed at these points. They are just
used to check if the gadget is valid. But at this point it's
already checked by seeding.

dda0e61... by Michael Vogt

snapstate: add tests with gadget uc20 structure

115513b... by Michael Vogt

snapstate: add support for UC20 gadget in {Config,Gadget}Defaults

Right now we don't set the constraints.SystemSeed property when
parsing the gadget.yaml from snapstate. This breaks seeding on
a UC20 system when it reaches the gadget default stage.

20b46fe... by Michael Vogt

Merge pull request #7878 from bboozzoo/bboozzoo/generator-snap-mount-dir

cmd/snapd-generator: fix unit name for non /snap mount locations

6fb1a28... by Maciej Borzecki

cmd/snapd-generator: fix unit name for non /snap mount locations

When snap mount directory is different from /snap, eg. /var/lib/snapd/snap like
we have on Fedora, the generated unit name should correspond to the output of
`systemd-escape -p <path>`. In case of Fedora, it should be var-lib-snapd-snap.

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

bd77b0c... by Maciej Borzecki

Merge pull request #7870 from mvo5/boot-uc20-6

boot,bootloader: setup the snap recovery system bootenv

When making a UC20 system bootable from snap prepare-image a
bootenv that is specific to the recovery system needs to get
written so that the bootloader can find the right kernel for
the given recovery system.

This is now done via a new bootloader.RecoveryAwareBootloader
interface that will write recovery system specific details
to the bootloader configuration.

81a2248... by Michael Vogt

Merge pull request #7874 from pedronis/seed-20-not-run-mode-snaps

seed: support ModeSnaps(mode) for mode != "run"

0de775b... by Michael Vogt

bootloader: fix typo

b97f251... by Michael Vogt

boot: rename BootableSet.RecoverySystem -> RecoverySystemDir