os-image/android/platforms pins the flavor to linux/amd64 while the sibling ubuntu flavor and the binary releases are dual-arch. The two amd64-only ingredients in the Dockerfiles:
- the cocoon-agent tarball is fetched as
cocoon-agent_${VERSION}_Linux_x86_64.tar.gz;
- the base is
redroid/redroid:*_64only-latest (amd64 rootfs).
Both have arm64 counterparts: cocoon-agent releases publish Linux arm64 tarballs already, and upstream redroid ships arm64 images. Keying the tarball name and base tag by TARGETARCH should be enough to drop the pin.
Acceptance: platforms file removed (default dual-arch matrix), both platforms build green in build-os-images, and an android guest boots on an arm64 host.
os-image/android/platformspins the flavor tolinux/amd64while the sibling ubuntu flavor and the binary releases are dual-arch. The two amd64-only ingredients in the Dockerfiles:cocoon-agent_${VERSION}_Linux_x86_64.tar.gz;redroid/redroid:*_64only-latest(amd64 rootfs).Both have arm64 counterparts: cocoon-agent releases publish Linux arm64 tarballs already, and upstream redroid ships arm64 images. Keying the tarball name and base tag by
TARGETARCHshould be enough to drop the pin.Acceptance:
platformsfile removed (default dual-arch matrix), both platforms build green in build-os-images, and an android guest boots on an arm64 host.