Support inclusion of snap from specific track/channel/branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Released
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* Can only seed snaps from latest track, yet there is desire to support "LTS" tracks.
* Add support for snap:$SNAP=
```
* snap:lxd=
```
[Test Case]
* Use full-channel specification in the seed and test build ubuntu-server, subproject live build.
[Regression Potential]
* Backwards compatible with existing seeds.
* New code only used when full channel is specified in the seed.
[Other Info]
* Original bug report
We have a bit of a problem right now with LXD in Ubuntu 20.04.
Users upgrading from 18.04 to 20.04 or those installing LXD through the deb shim, will correctly detect that they are on a LTS and auto-select a LTS branch of LXD (defaults to 4.0).
That's however not the case for the images we publish which all default to "latest" and so currently pull in LXD 4.1 and soon 4.2.
This isn't good as the behavior we're aiming for is that LTS users should get an LTS track of LXD (4.0) and non-LTS users should get the latest track.
To fix this, we need to be able to specify a track/channel/
For LXD that would mean "lxd 4.0/stable/
We would like this issue sorted in time for Ubuntu 20.04.1 so we have a good consistent story for those upgrading and those deploying new systems at that time.
Related branches
- David Krauser (community): Approve
- Stéphane Graber: Approve
- Michael Hudson-Doyle: Approve
-
Diff: 35 lines (+19/-4)1 file modifiedlive-build/functions (+19/-4)
Changed in livecd-rootfs (Ubuntu Focal): | |
milestone: | none → ubuntu-20.04.1 |
importance: | Undecided → High |
Changed in livecd-rootfs (Ubuntu): | |
importance: | Undecided → High |
tags: | added: id-5ede6f21cd111d43e8ff3188 |
Changed in cloud-images: | |
status: | New → Triaged |
description: | updated |
Changed in livecd-rootfs (Ubuntu Focal): | |
status: | New → In Progress |
Changed in cloud-images: | |
status: | Triaged → Fix Released |
This bug was fixed in the package livecd-rootfs - 2.670
---------------
livecd-rootfs (2.670) groovy; urgency=medium
* snap_preseed: support channel specification with snap name (LP: #1882374)
-- Dimitri John Ledkov <email address hidden> Thu, 09 Jul 2020 18:34:43 +0100