Add other architectures (aarch64)
beelux opened this issue · comments
Adding aarch64 could, among other things, facilitate NixOS installation where users usually try to use nixos-infect or build kexecs themselves, as netboot.xyz is sometimes much easier to get running than the other workarounds.
This would result in a more "standard" installation for the user.
Note that this is very much an enhancement and not an actual "issue" or bug.
I've looked into it a bit, and if an aarch64 machine is needed, Docker's Setup QEMU action could be used.
Some people seem to successfully use it outside of building Docker images(like aspw or random_forest_run), but I personally haven't played around with it much.
We have an aarch64 builder via hercules ci, if you find a way to use its artifacts in a github action, than this solves the issue.
I think we should be able to use hercules to publish the artifacts.
https://github.com/hercules-ci/hercules-ci-agent/releases/tag/hercules-ci-agent-0.9.8
https://github.com/hercules-ci/hercules-ci-effects/blob/master/effects/modules/git-auth-gh.nix
Since 0.9.8 hercules can get a token directly from github and effects can configure gh
to use the token.
aarch64 support has been added:
nixos-images/.github/workflows/build.yml
Line 17 in fcbf0b7