]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
Add support for arm64/aarch64 remotes master
authorLuca <me@int0x3.de>
Tue, 3 Nov 2026 22:19:13 +0000 (23:19 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 4 Nov 2026 07:00:56 +0000 (08:00 +0100)
[sr: reword commit message]

Signed-off-by: Luca <me@int0x3.de>
cmd/safcm-remote/build.sh
rpc/dial.go

index a9f9a284797ce34fbb3add74aa771d5f3d7a0951..b3ff2f35476751e7f10fad0ed6b30b2647b86576 100755 (executable)
@@ -24,6 +24,7 @@ mkdir -p "$dest"
 
 build freebsd amd64
 build linux amd64
 
 build freebsd amd64
 build linux amd64
+build linux arm64
 build openbsd amd64
 build_arm linux arm 7
 # TODO: support more operating systems and architectures
 build openbsd amd64
 build_arm linux arm 7
 # TODO: support more operating systems and architectures
index 49ce49eae3cf51faf7214c85bb1d42e7d8124764..507e0fe937c8775ca06b1c348e1d1e7195b24487 100644 (file)
@@ -333,6 +333,8 @@ func connGetGoarch(stdin io.Writer, stdout *bufio.Reader) (string, error) {
        switch x {
        case "x86_64", "amd64":
                goarch = "amd64"
        switch x {
        case "x86_64", "amd64":
                goarch = "amd64"
+       case "aarch64":
+               goarch = "arm64"
        case "armv7l":
                goarch = "armv7l"
        default:
        case "armv7l":
                goarch = "armv7l"
        default: