|
|
@ -16,14 +16,15 @@ node_current () (
|
|
|
|
|
|
|
|
|
|
|
|
get_arch () (
|
|
|
|
get_arch () (
|
|
|
|
case $(uname -m) in
|
|
|
|
case $(uname -m) in
|
|
|
|
x86_64*) echo x64;;
|
|
|
|
x86_64*) echo x64 ;;
|
|
|
|
amd64*) echo x64;;
|
|
|
|
amd64*) echo x64 ;;
|
|
|
|
arm) echo armv7l;;
|
|
|
|
arm) echo armv7l ;;
|
|
|
|
armv7*) echo armv7l;;
|
|
|
|
arm64) echo arm64 ;;
|
|
|
|
armv6*) echo armv7l;;
|
|
|
|
armv7*) echo armv7l ;;
|
|
|
|
armv8*) echo arm64;;
|
|
|
|
armv6*) echo armv7l ;;
|
|
|
|
aarch64*) echo arm64;;
|
|
|
|
armv8*) echo arm64 ;;
|
|
|
|
*) >&2 echo "unsupported architecture: $(uname -m)"; exit 1;;
|
|
|
|
aarch64*) echo arm64 ;;
|
|
|
|
|
|
|
|
*) >&2 echo "unsupported architecture: $(uname -m)"; exit 1 ;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|