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
|
if [[ $ARCHITECTURE == *"arm"* ]]; then
|
||||||
GOARCH=armv6l
|
GOARCH=armv6l
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == *"aarch"* ]]; then
|
if [[ $ARCHITECTURE == *"aarch"* || $ARCHITECTURE == *"arm64"* ]]; then
|
||||||
GOARCH=arm64
|
GOARCH=arm64
|
||||||
fi
|
fi
|
||||||
if [ ! $GOARCH ]; then
|
if [ ! $GOARCH ]; then
|
||||||
|
|
|
@ -147,7 +147,7 @@ function mesh_upgrade_golang {
|
||||||
if [[ $ARCHITECTURE == *"arm"* ]]; then
|
if [[ $ARCHITECTURE == *"arm"* ]]; then
|
||||||
GOARCH=armv6l
|
GOARCH=armv6l
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == *"aarch"* ]]; then
|
if [[ $ARCHITECTURE == *"aarch"* || $ARCHITECTURE == *"arm64"* ]]; then
|
||||||
GOARCH=arm64
|
GOARCH=arm64
|
||||||
fi
|
fi
|
||||||
if [ ! $GOARCH ]; then
|
if [ ! $GOARCH ]; then
|
||||||
|
@ -157,7 +157,7 @@ function mesh_upgrade_golang {
|
||||||
GOARCH=armv6l
|
GOARCH=armv6l
|
||||||
echo $"Using $GOARCH"
|
echo $"Using $GOARCH"
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == *"aarch"* ]]; then
|
if [[ $ARCHITECTURE == *"aarch"* || $ARCHITECTURE == *"arm64"* ]]; then
|
||||||
GOARCH=arm64
|
GOARCH=arm64
|
||||||
echo $"Using $GOARCH"
|
echo $"Using $GOARCH"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue