[Buildroot] [PATCH 2/3] fs/romfs: add depends on !BR2_PACKAGE_LIBSELINUX

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


From: Adam Duskett <Aduskett at gmail.com>

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

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

diff --git a/fs/romfs/Config.in b/fs/romfs/Config.in
index 84944a0fc0..055f5eedd7 100644
--- a/fs/romfs/Config.in
+++ b/fs/romfs/Config.in
@@ -1,4 +1,8 @@
 config BR2_TARGET_ROOTFS_ROMFS
 	bool "romfs root filesystem"
+	depends on !BR2_PACKAGE_LIBSELINUX
 	help
 	  Build a romfs image of the root filesystem.
+
+comment "romfs does not support SELinux"
+	depends on BR2_PACKAGE_LIBSELINUX
-- 
2.24.1



More information about the buildroot mailing list