Cannot use --build-on, architecture list is already set in snapcraft.yaml.
Bug #1885150 reported by
John Lenton
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned | ||
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If my snap has no 'architectures' entry, I can happily do
snapcraft remote-build --build-on=armhf
However as soon as I add something like, say
architectures:
- build-on: armhf
- build-on: amd64
then I can no longer ask for just the armhf build from the commandline; I need to edit the yaml directly.
This is awkward when I'm trying to fix build errors in particular architectures in my snap.
description: | updated |
Changed in snapcraft: | |
status: | New → Confirmed |
To post a comment you must log in.
We error on this as launchpad will ignore the request if an architectures entry is set in snapcraft.yaml.
Happy to remove it as soon as it is fixed on Launchpad.