Need variable for arch triplet in yaml
Bug #1664114 reported by
Michi Henning
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Unassigned |
Bug Description
For the thumbnailer, we need to copy additional libraries into our prime. The problem is that there doesn't appear to be a generic way to refer to the lib directory from inside the yaml. In turn, this leads to ugly hackery such as this:
plugin=$(echo /usr/lib/
mkdir -p $SNAPCRAFT_
cp $plugin $SNAPCRAFT_
It would be a lot clearer and more direct to to have an ARCH_TRIPLET variable, so I could say what I mean.
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Christian Dywan (kalikiana) |
Changed in snapcraft: | |
status: | Triaged → Fix Released |
assignee: | Christian Dywan (kalikiana) → nobody |
To post a comment you must log in.
This makes sense, I think I'd find the triplet useful too. /github. com/snapcore/ snapcraft/ blob/master/ snapcraft/ _options. py#L29
However, note here: https:/
that there are many values, and maybe some snaps will want the deb arch instead of the triplet.
We'll have to discuss if we want to expose all those as variables.