From 9de9177637e8969c44fa2231fcb8e70b68acc6b3 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 3 Nov 2026 23:19:13 +0100 Subject: [PATCH] Add support for arm64/aarch64 remotes [sr: reword commit message] Signed-off-by: Luca --- cmd/safcm-remote/build.sh | 1 + rpc/dial.go | 2 ++ 2 files changed, 3 insertions(+) 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: -- 2.56.1