mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-02 02:35:49 +08: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:
@ -42,7 +42,10 @@ setup_verify_arch() {
|
||||
ARCH=$(uname -m)
|
||||
fi
|
||||
case ${ARCH} in
|
||||
arm64)
|
||||
arm|armv6l|armv7l)
|
||||
ARCH=arm
|
||||
;;
|
||||
arm64|aarch64|armv8l)
|
||||
ARCH=arm64
|
||||
;;
|
||||
amd64)
|
||||
|
||||
Reference in New Issue
Block a user