To be on the safe side when detecting 64bit arm #72
This commit is contained in:
parent
f836b17643
commit
a6ed88fea5
|
@ -1167,7 +1167,7 @@ function image_setup_utils {
|
|||
if [[ $ARCHITECTURE == *"arm"* ]]; then
|
||||
GOARCH=armv6l
|
||||
fi
|
||||
if [[ $ARCHITECTURE == *"aarch"* ]]; then
|
||||
if [[ $ARCHITECTURE == *"aarch"* || $ARCHITECTURE == *"arm64"* ]]; then
|
||||
GOARCH=arm64
|
||||
fi
|
||||
if [ ! $GOARCH ]; then
|
||||
|
|
|
@ -147,7 +147,7 @@ function mesh_upgrade_golang {
|
|||
if [[ $ARCHITECTURE == *"arm"* ]]; then
|
||||
GOARCH=armv6l
|
||||
fi
|
||||
if [[ $ARCHITECTURE == *"aarch"* ]]; then
|
||||
if [[ $ARCHITECTURE == *"aarch"* || $ARCHITECTURE == *"arm64"* ]]; then
|
||||
GOARCH=arm64
|
||||
fi
|
||||
if [ ! $GOARCH ]; then
|
||||
|
@ -157,7 +157,7 @@ function mesh_upgrade_golang {
|
|||
GOARCH=armv6l
|
||||
echo $"Using $GOARCH"
|
||||
fi
|
||||
if [[ $ARCHITECTURE == *"aarch"* ]]; then
|
||||
if [[ $ARCHITECTURE == *"aarch"* || $ARCHITECTURE == *"arm64"* ]]; then
|
||||
GOARCH=arm64
|
||||
echo $"Using $GOARCH"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue