Files
snapd/seed
Samuele Pedroni 41ba290fe5 seed,image: changes necessary for ubuntu-image to support preseeding extra snaps in classic images
Merge pull request #11355 from GlenPickle/master

There are two changes here that are needed for ubuntu-image to support the --snap flag for classic image builds.

seed/seed.go: This change adds the NumSnaps and Iter functions to the seed interface. This is needed because there is a specific use case that requires ubuntu-image to parse seed.yaml and iterate through the snaps to create a list of the snaps and their channels. There is already a TODO for this task.

image/image_linux.go: This change is necessary to use image.Prepare on a prebuilt rootfs for which there is no model assertion. In this case the GenericClassicModel from sysdb is used
2022-02-25 17:21:20 +01:00
..
2021-08-26 18:24:02 +01:00
2021-06-25 19:10:08 +02:00