diff mbox series

[8/9] package/libselinux: enable kernel selinux support for squashfs images

Message ID 20200731204100.1171427-9-aduskett@gmail.com
State New
Headers show
Series package/libselinux: kernel munging fixups | expand

Commit Message

Adam Duskett July 31, 2020, 8:40 p.m. UTC
From: Adam Duskett <Aduskett@gmail.com>

If BR2_TARGET_ROOTFS_SQUASHFS is selected, enable the following kernel options:
  - CONFIG_SQUASHFS_XATTR

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/libselinux/libselinux.mk | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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))