meta-agl-bsp/meta-ti: Fix kernel config fragment about smack 31/9131/2
authorKotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Wed, 19 Apr 2017 05:14:31 +0000 (14:14 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 20 Apr 2017 09:23:19 +0000 (09:23 +0000)
Previous changes(*) caused to be disable smack setting.
This patchset re-enable smack setting.
(*)https://gerrit.automotivelinux.org/gerrit/#/c/8567/

Bug-AGL: SPEC-450

Change-Id: Ib0e28b232ce9f39df71cd194baedbbaeab9f62ca
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend

index 0c93740..c2c7e5f 100644 (file)
@@ -22,3 +22,9 @@ SRC_URI_append_smack = "\
        file://0004-Smack-Assign-smack_known_web-label-for-kernel-thread.patch \
 "
 
+# Enable support for smack
+KERNEL_CONFIG_FRAGMENTS_append_smack = "\
+       ${WORKDIR}/audit.cfg \
+       ${WORKDIR}/smack.cfg \
+       ${WORKDIR}/smack-default-lsm.cfg \
+"