mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
The 'cni' make target was hardcoded to download amd64 CNI plugins, which prevented users on arm64/aarch64 systems from using this target. This change adds automatic architecture detection that maps the system architecture (from uname -m) to the appropriate CNI plugin architecture: - x86_64 -> amd64 (existing behavior) - aarch64 -> arm64 (new support) The implementation uses the existing THIS_ARCH variable already defined in the Makefile, ensuring consistency with other build targets. Fixes #26864
17 KiB
17 KiB