You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When snapcraft --destructive-mode is executed, it will build for amd64 and then for arm64.
On the build for arm64, all steps will be skipped. There is no isolation between the builds.
This is not a problem for core20 snaps.
The text was updated successfully, but these errors were encountered:
What needs to get done
When running in destructive mode, snapcraft should do one of the following:
This issue is referenced in the documentation and should be updated when completed. (both readthedocs and snapcraft.io/docs)
option 1
organize craft-parts directories by architecture:
option 2
store the architecture in the craft-parts state file and clean between builds of different architectures
Why it needs to get done
Consider the
snapcraft.yaml
snippet:When
snapcraft --destructive-mode
is executed, it will build foramd64
and then forarm64
.On the build for
arm64
, all steps will be skipped. There is no isolation between the builds.This is not a problem for core20 snaps.
The text was updated successfully, but these errors were encountered: