feat(LXD): add other-architecture option
Metadata
Current evaluation
Merged PR #922 added LXD support for selecting a non-host architecture by including the requested architecture in the remote image name. Prerequisite #921 had merged.
Resolution: closed resolved
Reason: PR #922 was approved and merged with all CI checks passing. The resulting LXD provider accepts instance_architecture, and integration coverage verifies an armhf image on an aarch64 host.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
---
Allow building on another architecture with the LXD backend.
This requires the remote in use to be able to handle that other architecture.
Requires #921
CRAFT-4990
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #922 added LXD support for selecting a non-host architecture by including the requested architecture in the remote image name. Prerequisite #921 had merged. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR adding an `other-architecture` option to the LXD backend, enabling cross-architecture builds. Addresses CRAFT-4990. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/craft-providers#921
(confidence 100%)
Merged prerequisite that enabled ARM64 integration-test coverage needed for the new option.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2046 lxd: specify arch in lxc image list command | snapcraft | merged | Merged PR #2046 fixed incorrect LXD image metadata by specifying the architecture in lxc image list; merged as commit 828ea5120. | |
| #1305 Use architectures field which existed in older LXD | snapcraft | merged | Merged PR #1305 in commit 8f15f697f, restoring compatibility with older LXD by using its existing architectures field after the kernelarchitecture field was renamed. | |
| #1286 lxd: Setup image and target arch for cross-compilation | snapcraft | merged | Merged #1286 as 6a7372297: LXD now uses a host-architecture image while retaining the target architecture, avoiding slow QEMU emulation during cross-compilation. |