snapd should provide SNAP_ARCH_TRIPLET
Bug #1742565 reported by
Alan Pope 🍺🐧🐱 🦄
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I frequently need to setup an environment variable (or multiple) to paths which include the typical arch triplets like x86_64-linux-gnu. snapd only exposes SNAP_ARCH which needs to be interpreted by shell scripts into a triplet. This seems mad that every snap which has a need to modify an environment variable in the snapcraft.yaml has to either build a launch script, or include a cloud launch script rather than have access to the triplet directly.
Please can we add SNAP_ARCH_TRIPLET rather than have to rely on shell scripts to set these up, in every snap.
To post a comment you must log in.
I second this request, it's a constant paper cut.