[Buildroot] [PATCH 3/3] fss/yaffs2: add depends on !BR2_PACKAGE_LIBSELINUX

aduskett at gmail.com aduskett at gmail.com
Thu Mar 12 18:29:40 UTC 2020


From: Adam Duskett <Aduskett at gmail.com>

yaffs2 does not support extended attributes (xattrs) needed for SELinux to
function.

Signed-off-by: Adam Duskett <Aduskett at gmail.com>
---
 fs/yaffs2/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fs/yaffs2/Config.in b/fs/yaffs2/Config.in
index 27da4ba638..99c25c4066 100644
--- a/fs/yaffs2/Config.in
+++ b/fs/yaffs2/Config.in
@@ -1,4 +1,8 @@
 config BR2_TARGET_ROOTFS_YAFFS2
 	bool "yaffs2 root filesystem"
+	depends on !BR2_PACKAGE_LIBSELINUX
 	help
 	  Build a yaffs2 root filesystem
+
+comment "yaffs2 does not support SELinux"
+	depends on BR2_PACKAGE_LIBSELINUX
-- 
2.24.1



More information about the buildroot mailing list