From 8ec42c927300dd07cabbc3cb432e703af903e766 Mon Sep 17 00:00:00 2001 From: openoms Date: Sun, 12 May 2019 10:19:24 +0100 Subject: [PATCH] arm64 Go version for aarch64 (armV8) --- build_sdcard.sh | 5 ++++- home.admin/97addMobileWalletLNDconnect.sh | 5 ++++- home.admin/97addMobileWalletZeus.sh | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/build_sdcard.sh b/build_sdcard.sh index 43377597b..900da1287 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -571,9 +571,12 @@ echo "" # Go is needed for ZAP connect later # see https://golang.org/dl/ goVersion="1.12.5" -if [ ${isARM} -eq 1 ] || [ ${isAARCH64} -eq 1 ] ; then +if [ ${isARM} -eq 1 ] ; then goOSversion="armv6l" fi +if [ ${isAARCH64} -eq 1 ] ; then + goOSversion="arm64" +fi if [ ${isX86_64} -eq 1 ] ; then goOSversion="amd64" fi diff --git a/home.admin/97addMobileWalletLNDconnect.sh b/home.admin/97addMobileWalletLNDconnect.sh index 9fc7a770e..e548c4c73 100755 --- a/home.admin/97addMobileWalletLNDconnect.sh +++ b/home.admin/97addMobileWalletLNDconnect.sh @@ -33,9 +33,12 @@ echo "### Check Framework: GO ###" goInstalled=$(go version 2>/dev/null | grep -c 'go') if [ ${goInstalled} -eq 0 ];then goVersion="1.12.5" - if [ ${isARM} -eq 1 ] || [ ${isAARCH64} -eq 1 ] ; then + if [ ${isARM} -eq 1 ] ; then goOSversion="armv6l" fi + if [ ${isAARCH64} -eq 1 ] ; then + goOSversion="arm64" + fi if [ ${isX86_64} -eq 1 ] ; then goOSversion="amd64" fi diff --git a/home.admin/97addMobileWalletZeus.sh b/home.admin/97addMobileWalletZeus.sh index a135e7106..d2304e05b 100644 --- a/home.admin/97addMobileWalletZeus.sh +++ b/home.admin/97addMobileWalletZeus.sh @@ -18,9 +18,12 @@ fi goInstalled=$(go version 2>/dev/null | grep -c 'go') if [ ${goInstalled} -eq 0 ];then goVersion="1.12.5" - if [ ${isARM} -eq 1 ] || [ ${isAARCH64} -eq 1 ] ; then + if [ ${isARM} -eq 1 ] ; then goOSversion="armv6l" fi + if [ ${isAARCH64} -eq 1 ] ; then + goOSversion="arm64" + fi if [ ${isX86_64} -eq 1 ] ; then goOSversion="amd64" fi