1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Add armv7 support

This allows the nfd to run on arm devices like the Raspberry Pi > 2
with armv7 core or armv8 in 32Bit mode.

The build tests will only be run for linux/amd64 and linux/arm64.
Releases will be made for all Platforms.
This commit is contained in:
Links2004 2024-04-06 10:56:22 +02:00
parent 1696c6589e
commit 8acff5ede6
No known key found for this signature in database
GPG key ID: 68FB9F01C0C482FC
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ BUILD_FLAGS = -tags osusergo,netgo \
-ldflags "-s -w -extldflags=-static -X sigs.k8s.io/node-feature-discovery/pkg/version.version=$(VERSION) -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=$(HOSTMOUNT_PREFIX)" -ldflags "-s -w -extldflags=-static -X sigs.k8s.io/node-feature-discovery/pkg/version.version=$(VERSION) -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=$(HOSTMOUNT_PREFIX)"
# multi-arch build with buildx # multi-arch build with buildx
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64 IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v7
# enable buildx # enable buildx
ensure-buildx: ensure-buildx:

View file

@ -1,4 +1,4 @@
#!/bin/bash -e #!/bin/bash -e
# cross build # cross build
make image-all IMAGE_ALL_PLATFORMS=linux/amd64,linux/arm64 make image-all