From aae170c468b26940974bec403c2907ea34e734d8 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Fri, 31 Jul 2020 13:40:56 -0700 Subject: [PATCH] package/libselinux: enable kernel selinux support for ext4 images If BR2_TARGET_ROOTFS_EXT2_4 is selected, enable the following kernel options: - CONFIG_EXT4_FS_SECURITY Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/libselinux/libselinux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 525f4fe9a2..44d9ec3657 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -120,6 +120,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_EXT2_3), $(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2_4), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT4_FS_SECURITY)) endef $(eval $(generic-package)) -- 2.30.2