From: Pascal Vizeli Date: Mon, 28 Dec 2020 16:05:33 +0000 (+0100) Subject: package/docker-engine: add AppArmor support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4200e8c6dc10bcb1abf36160aa72ad04df54b6bf;p=buildroot.git package/docker-engine: add AppArmor support Signed-off-by: Pascal Vizeli Signed-off-by: Stefan Agner Signed-off-by: Thomas Petazzoni --- diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 8cedf307ba..7f898680b7 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -20,6 +20,11 @@ DOCKER_ENGINE_LDFLAGS = \ DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +DOCKER_ENGINE_DEPENDENCIES += libapparmor +DOCKER_ENGINE_TAGS += apparmor +endif + ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) DOCKER_ENGINE_TAGS += seccomp DOCKER_ENGINE_DEPENDENCIES += libseccomp