From: Thomas Petazzoni Date: Sat, 18 Jul 2020 18:53:24 +0000 (-0500) Subject: tools/squashfskit4: add xattr support to mksquashfs for SELinux X-Git-Tag: v21.02.0-rc1~1740 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d3d40cd6a41c2c5a6bd1173ad4471d40a2d3e515;p=openwrt%2Fopenwrt.git tools/squashfskit4: add xattr support to mksquashfs for SELinux SELinux uses extended attributes to store SELinux security contexts. Signed-off-by: Thomas Petazzoni [rebase, add commit message] Signed-off-by: W. Michael Petullo --- diff --git a/tools/squashfskit4/Makefile b/tools/squashfskit4/Makefile index 396a7c0edc..9ed10ecef9 100644 --- a/tools/squashfskit4/Makefile +++ b/tools/squashfskit4/Makefile @@ -22,7 +22,7 @@ define Host/Compile $(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \ XZ_SUPPORT=1 \ LZMA_XZ_SUPPORT=1 \ - XATTR_SUPPORT= \ + XATTR_SUPPORT=1 \ LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \ EXTRA_CFLAGS="-I$(STAGING_DIR_HOST)/include" \ mksquashfs unsquashfs