Commit 2d6629b
authored
build: add architecture detection to CNI makefile target (#26877)
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 #268641 parent c723385 commit 2d6629b
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
| 481 | + | |
480 | 482 | | |
481 | | - | |
482 | | - | |
| 483 | + | |
| 484 | + | |
0 commit comments