Skip to content
Snippets Groups Projects
Commit a6ed88fe authored by Bob Mottram's avatar Bob Mottram
Browse files

To be on the safe side when detecting 64bit arm #72

parent f836b176
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment