summaryrefslogtreecommitdiff
path: root/meta-security/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-security/conf/layer.conf')
-rw-r--r--meta-security/conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-security/conf/layer.conf b/meta-security/conf/layer.conf
index 1f8359367f..21f03d1ef2 100644
--- a/meta-security/conf/layer.conf
+++ b/meta-security/conf/layer.conf
@@ -16,3 +16,6 @@ LAYERDEPENDS_security = "core openembedded-layer perl-layer networking-layer met
# Sanity check for meta-security layer.
# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
INHERIT += "sanity-meta-security"
+
+QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
+