From eb6269d8cc8d65ee9ec54bbc979d825fddbd9bc3 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Thu, 15 Feb 2024 08:26:42 +0000 Subject: [PATCH] Build with CNI support on FreeBSD This is needed until there is netavark support on FreeBSD [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 18509bb8b7..ae2a52456e 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,10 @@ APPARMORTAG := $(shell hack/apparmor_tag.sh) STORAGETAGS := exclude_graphdriver_devicemapper $(shell ./btrfs_tag.sh) $(shell ./btrfs_installed_tag.sh) $(shell ./hack/libsubid_tag.sh) SECURITYTAGS ?= seccomp $(APPARMORTAG) TAGS ?= $(SECURITYTAGS) $(STORAGETAGS) $(shell ./hack/systemd_tag.sh) +ifeq ($(shell uname -s),FreeBSD) +# FreeBSD needs CNI until netavark is supported +TAGS += cni +endif BUILDTAGS += $(TAGS) PREFIX := /usr/local BINDIR := $(PREFIX)/bin