[Buildroot] [git commit] package/libselinux: enable kernel selinux support for ext3 images

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Sep 4 13:43:41 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=2ccabaa405a09fe88e6442cebcb5f87ba9154624
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

If BR2_TARGET_ROOTFS_EXT2_3 is selected, enable the following kernel options:
  - CONFIG_EXT3_FS_SECURITY

Signed-off-by: Adam Duskett <Aduskett at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/libselinux/libselinux.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk
index 77efe2d8e0..525f4fe9a2 100644
--- a/package/libselinux/libselinux.mk
+++ b/package/libselinux/libselinux.mk
@@ -118,6 +118,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS
 	$(if $(BR2_TARGET_ROOTFS_EXT2),
 		$(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_XATTR)
 		$(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY))
+	$(if $(BR2_TARGET_ROOTFS_EXT2_3),
+		$(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY))
 endef
 
 $(eval $(generic-package))


More information about the buildroot mailing list