From 7d0f08ae43d3f2a464bd14a884d4c87de0b82593 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 28 Dec 2020 17:05:31 +0100 Subject: [PATCH] package/runc: add AppArmor support Signed-off-by: Pascal Vizeli Signed-off-by: Stefan Agner Signed-off-by: Thomas Petazzoni --- package/runc/runc.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/runc/runc.mk b/package/runc/runc.mk index 3d177d23d5..c559244e83 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -12,6 +12,11 @@ RUNC_LICENSE_FILES = LICENSE RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION) RUNC_TAGS = cgo static_build +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +RUNC_DEPENDENCIES += libapparmor +RUNC_TAGS += apparmor +endif + ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) RUNC_TAGS += seccomp RUNC_DEPENDENCIES += libseccomp host-pkgconf -- 2.30.2