diff --git a/Makefile b/Makefile index 304080843..9c6a5d1ee 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ VERSION := $(shell git rev-parse --short HEAD) TARBALL_PREFIX := cri-containerd TARBALL := $(TARBALL_PREFIX)-$(VERSION).$(GOOS)-$(GOARCH).tar.gz ifneq ($(GOOS),windows) - BUILD_TAGS := seccomp apparmor + BUILD_TAGS := seccomp apparmor selinux endif # Add `-TEST` suffix to indicate that all binaries built from this repo are for test. GO_LDFLAGS := -X $(PROJECT)/vendor/github.com/containerd/containerd/version.Version=$(VERSION)-TEST diff --git a/README.md b/README.md index 071173658..1c755c8b9 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ testing purposes. The version tag carries the suffix "-TEST".* To add build tags to the make option the `BUILD_TAGS` variable must be set. ```bash -make BUILD_TAGS='seccomp apparmor' +make BUILD_TAGS='seccomp apparmor selinux' ``` | Build Tag | Feature | Dependency | diff --git a/hack/install/utils.sh b/hack/install/utils.sh index c95b456d8..3c524026f 100755 --- a/hack/install/utils.sh +++ b/hack/install/utils.sh @@ -32,7 +32,7 @@ if ${NOSUDO}; then fi # BUILDTAGS are bulid tags for runc and containerd. -BUILDTAGS=${BUILDTAGS:-seccomp apparmor} +BUILDTAGS=${BUILDTAGS:-seccomp apparmor selinux} # checkout_repo checks out specified repository # and switch to specified version.