From: Adam Duskett Date: Fri, 31 Jul 2020 20:40:59 +0000 (-0700) Subject: package/libselinux: enable kernel selinux support for squashfs images X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c962a341df242e44948d1bc2a93fe4bff9c2e3fb;p=buildroot.git package/libselinux: enable kernel selinux support for squashfs images If BR2_TARGET_ROOTFS_SQUASHFS is selected, enable the following kernel options: - CONFIG_SQUASHFS_XATTR Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 3dee922214..f2c2922122 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -127,6 +127,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_JFFS2), $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_SQUASHFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_SQUASHFS_XATTR)) endef $(eval $(generic-package))