From: Luca Date: Tue, 3 Nov 2026 22:19:13 +0000 (+0100) Subject: Add support for arm64/aarch64 remotes X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=safcm%2Fsafcm.git Add support for arm64/aarch64 remotes [sr: reword commit message] Signed-off-by: Luca --- diff --git a/cmd/safcm-remote/build.sh b/cmd/safcm-remote/build.sh index a9f9a28..b3ff2f3 100755 --- a/cmd/safcm-remote/build.sh +++ b/cmd/safcm-remote/build.sh @@ -24,6 +24,7 @@ mkdir -p "$dest" build freebsd amd64 build linux amd64 +build linux arm64 build openbsd amd64 build_arm linux arm 7 # TODO: support more operating systems and architectures diff --git a/rpc/dial.go b/rpc/dial.go index 49ce49e..507e0fe 100644 --- a/rpc/dial.go +++ b/rpc/dial.go @@ -333,6 +333,8 @@ func connGetGoarch(stdin io.Writer, stdout *bufio.Reader) (string, error) { switch x { case "x86_64", "amd64": goarch = "amd64" + case "aarch64": + goarch = "arm64" case "armv7l": goarch = "armv7l" default: