snap prepare-image --channel ignores tracks in model
Bug #1851401 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Won't Fix
|
High
|
Samuele Pedroni |
Bug Description
I am trying to run
$ snap prepare-image --channel=edge ./uc20.model $(mktemp -d)
it downloads things from wrong locations.
Ie. it gets snapd and core20 from "edge", but it also gets pc and pc-kernel from "edge". It should be using "20/edge" for pc and pc-kernel, as specified track field in the model.
uc20.model attached.
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → High |
To post a comment you must log in.
I think i worked around this by using "default-channel" key.
However, that fixes everything for me, but snapd itself. Ie. since i cannot list snapd in the model, i cannot specify "default-channel: edge" for it.
So I kind of need for --channel option to be inteligent, or be a "map" on per-snap basis. Or something like that.
Opened a separate bug about inability to specify snapd in the model, which imho now needs to happen explicitely, now that it's a stand alone snap.