aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto_3.0.bbappend
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-01-31 13:59:50 -0600
committerMark Hatle <mark.hatle@windriver.com>2012-01-31 13:59:50 -0600
commitefda6dc804e92da06994474efa305ad212add700 (patch)
tree9c73d912b72bd34b9fd69d5c6c61854397ef5dcd /recipes-kernel/linux/linux-yocto_3.0.bbappend
parentf1c357ffe4722217f507a9d90f8dffaa6585f98a (diff)
downloadmeta-selinux-efda6dc804e92da06994474efa305ad212add700.tar.gz
meta-selinux-efda6dc804e92da06994474efa305ad212add700.tar.bz2
meta-selinux-efda6dc804e92da06994474efa305ad212add700.zip
linux-yocto: Enable SE Linux support
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'recipes-kernel/linux/linux-yocto_3.0.bbappend')
-rw-r--r--recipes-kernel/linux/linux-yocto_3.0.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto_3.0.bbappend b/recipes-kernel/linux/linux-yocto_3.0.bbappend
new file mode 100644
index 0000000..3514b3d
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# Enable selinux support in the kernel if the feature is enabled
+SRC_URI += "${@base_contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}"