From 1e718d2db0a612fe79e25292889c9ca10a97e563 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Fri, 5 Nov 2021 14:49:43 -0300 Subject: [PATCH] Revert "fix: armv7 on linux is usually armv7l" This reverts commit d7e1bcc1f069bc294abe9032c9209f271dc60745. --- internal/linux/arch.go | 2 +- internal/linux/arch_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/linux/arch.go b/internal/linux/arch.go index 2a26dcad3..b3304aade 100644 --- a/internal/linux/arch.go +++ b/internal/linux/arch.go @@ -20,7 +20,7 @@ func Arch(key string) string { case "arm6": // GOARCH + GOARM return "armhf" case "arm7": // GOARCH + GOARM - return "armv7l" + return "armhf" case "mips64le": return "mips64el" case "mipsle": diff --git a/internal/linux/arch_test.go b/internal/linux/arch_test.go index 444599d8e..591ca7579 100644 --- a/internal/linux/arch_test.go +++ b/internal/linux/arch_test.go @@ -14,7 +14,7 @@ func TestArch(t *testing.T) { "linuxarm64": "arm64", "linuxarm5": "armel", "linuxarm6": "armhf", - "linuxarm7": "armv7l", + "linuxarm7": "armhf", "linuxppc64": "ppc64", "linuxppc64le": "ppc64le", "linuxwhat": "what",