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 <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett 2020-07-31 13:40:54 -07:00 committed by Thomas Petazzoni
parent 2be469e3b9
commit 856b997b18

View File

@ -115,6 +115,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS
$(if $(BR2_TARGET_ROOTFS_EROFS), $(if $(BR2_TARGET_ROOTFS_EROFS),
$(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR) $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR)
$(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY)) $(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 endef
$(eval $(generic-package)) $(eval $(generic-package))