← Back to issue list

using advanced grammar to build towards a certain arch does not work with stage-snaps

View original Launchpad issue

Metadata

Project
snapcraft
Number
#2006599
Type
issue
State
open
Author
~ogra
Labels
Created
2023-02-08 13:17:55.832609+00:00
Updated
2023-02-08 13:17:55.832609+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

trying to build a snap using a foreign arch stage-snap like i.e. the pi gadget (so one does not need to cross compile the already existing binaries) seems to be missing the UBUNTU_STORE_ARCH variable set for the "snap download" call in snapcraft, so the snap is reported as not found... while it is solvable through an override hack, it would be nice to be able to just do something like: ``` to: arm64 stage-snaps: - pi ``` but instead something like below is required: https://github.com/ogra1/custom-pi-gadget/blob/main/snap/snapcraft.yaml#L27

Evaluation history

No evaluation history available.