[yocto] [meta-selinux][PATCH] Enable two options to ensure selinux can boot up

Zhenhua Luo zhenhua.luo at freescale.com
Thu Jul 24 05:20:01 PDT 2014


* CONFIG_SECURITY=y
* CONFIG_SECURITYFS=y

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-kernel/linux/linux-yocto/selinux.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-kernel/linux/linux-yocto/selinux.cfg b/recipes-kernel/linux/linux-yocto/selinux.cfg
index 53cdf57..2edd366 100644
--- a/recipes-kernel/linux/linux-yocto/selinux.cfg
+++ b/recipes-kernel/linux/linux-yocto/selinux.cfg
@@ -18,6 +18,8 @@ CONFIG_EXT4_FS_SECURITY=y
 CONFIG_JFS_SECURITY=y
 CONFIG_REISERFS_FS_SECURITY=y
 CONFIG_JFFS2_FS_SECURITY=y
+CONFIG_SECURITY=y
+CONFIG_SECURITYFS=y
 CONFIG_SECURITY_NETWORK=y
 CONFIG_SECURITY_SELINUX=y
 CONFIG_SECURITY_SELINUX_BOOTPARAM=y
-- 
1.9.3




More information about the yocto mailing list