]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - rpc/dial.go
Add support for armv7l SoCs like Raspberry Pi 2 and newer
[safcm/safcm.git] / rpc / dial.go
index 36092793e005e06991a64fe440b97ca74fac6a88..b723e55c5657e78609d79b8019448636c3de5eef 100644 (file)
@@ -276,6 +276,8 @@ func connGetGoarch(stdin io.Writer, stdout *bufio.Reader) (string, error) {
        switch x {
        case "x86_64":
                goarch = "amd64"
+       case "armv7l":
+               goarch = "armv7l"
        default:
                return "", fmt.Errorf("unsupported arch %q (`uname -m`)", x)
        }