diff options
Diffstat (limited to 'meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend')
-rw-r--r-- | meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend b/meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend new file mode 100644 index 000000000..067be8fe1 --- /dev/null +++ b/meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "\ + ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \ +" + +SRC_URI += "\ + ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack.cfg', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack-default-lsm.cfg', '', d)} \ +" |