From 856b997b18fdef2ab4488c9cc31b463f26115946 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Fri, 31 Jul 2020 13:40:54 -0700 Subject: [PATCH] package/libselinux: enable kernel selinux support for ext2 images If BR2_TARGET_ROOTFS_EXT2 is selected, enable the following kernel options: - CONFIG_EXT2_FS_XATTR - CONFIG_EXT2_FS_SECURITY Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/libselinux/libselinux.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index b8f9c3b55a..77efe2d8e0 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -115,6 +115,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(if $(BR2_TARGET_ROOTFS_EROFS), $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR) $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) endef $(eval $(generic-package)) -- 2.30.2