mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 16:41:47 +00:00
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>
This commit is contained in:
parent
ec70c14649
commit
eca1f19e95
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Reference in a new issue