[Buildroot] [git commit] package/runc: add AppArmor support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 28 20:21:30 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=7d0f08ae43d3f2a464bd14a884d4c87de0b82593
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Pascal Vizeli <pvizeli at syshack.ch>
Signed-off-by: Stefan Agner <stefan at agner.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 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


More information about the buildroot mailing list