Improve installer list match for arm arches

`uname -m` will print out architecture codenames based on UTS_MACHINE
and COMPAT_UTS_MACHINE kernel defined constants. These extra values will
ensure the right version of the arm binary is installed on most Linux
systems running on ARM CPUs.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
pull/521/head
Aurel Canciu 4 years ago
parent ec70c14649
commit eca1f19e95
No known key found for this signature in database
GPG Key ID: AB25339971E6F81E

@ -42,7 +42,10 @@ setup_verify_arch() {
ARCH=$(uname -m) ARCH=$(uname -m)
fi fi
case ${ARCH} in case ${ARCH} in
arm64) arm|armv6l|armv7l)
ARCH=arm
;;
arm64|aarch64|armv8l)
ARCH=arm64 ARCH=arm64
;; ;;
amd64) amd64)

Loading…
Cancel
Save