From 7aec4aacd56962aafaa806c12c7edaae297ed890 Mon Sep 17 00:00:00 2001 From: udhos Date: Thu, 30 May 2019 11:27:03 -0300 Subject: [PATCH] Map aarch64 to arm64. --- update-golang.sh | 15 +++++++++------ update-golang.sh.sha256 | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/update-golang.sh b/update-golang.sh index 0adefd1..6e1e3bb 100755 --- a/update-golang.sh +++ b/update-golang.sh @@ -48,17 +48,20 @@ fi arch=$($arch_probe) case "$arch" in i*) - arch=386 - ;; + arch=386 + ;; x*) arch=amd64 - ;; + ;; aarch64) - arch=armv6l - ;; + #arch=armv6l + arch=arm64 + ;; armv7l) + # Go project does not provide a binary release for armv71 + msg armv7l is not supported, using armv6l arch=armv6l - ;; + ;; esac show_version() { diff --git a/update-golang.sh.sha256 b/update-golang.sh.sha256 index 82589c0..0b03244 100644 --- a/update-golang.sh.sha256 +++ b/update-golang.sh.sha256 @@ -1 +1 @@ -7cfe0418b32f0b1f3ca39d2f985841dd58dc151e60786fb6ff28d8c38af47df1 update-golang.sh +f3ba976a54d9227d7bb594a23504594f4289363ad433ad0f437e4d1c944be370 update-golang.sh