package/libselinux: enable kernel selinux support for erofs images
If BR2_TARGET_ROOTFS_EROFS is selected, enable the following kernel options: - CONFIG_EROFS_FS_XATTR - CONFIG_EROFS_FS_SECURITY Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
b5bb766ff2
commit
2be469e3b9
@ -112,6 +112,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX)
|
||||
$(call KCONFIG_SET_OPT,CONFIG_LSM,"selinux")
|
||||
$(if $(BR2_TARGET_ROOTFS_EROFS),
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY))
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user