ubuntu-image should fetch correct assertion revision from the store while building image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
New
|
Undecided
|
Unassigned |
Bug Description
The ubuntu-image always gets/downloads the latest snap-declaration assertion from the Store and there is no "official" way to inject old versions of the snap-declaration assertion files to the image.
The current workaround is mounting the created image and adding required snap-declaration assertions. The required snap-declaration assertion can be fetch from the store using the following api; `api/v1/
The use case is that, when a device manufacturer would like to provide an old image with specific snaps included, the system fetches the latest assertion from the store and thus, the installation of the ubuntu core image fails because of the max-supported-
Thanks
Which version of ubuntu-image are you currently using and are you building core or classic images? Assuming you're using version 2.x to build core images, the documentation states the following:
```
--snap= SNAP Install extra snaps. These are passed through to "snap prepare-image".
The snap argument can include additional information about the channel
and/ or risk with the following syntax: <snap>= <channel| risk>
```
Which leads me to believe this is just something we don't have support for yet. If I'm correct about this we will need to write a spec for expanding the command line arguments.