tools/squashfskit4: add xattr support to mksquashfs for SELinux
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Jul 2020 18:53:24 +0000 (13:53 -0500)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 00:15:41 +0000 (01:15 +0100)
SELinux uses extended attributes to store SELinux security contexts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[rebase, add commit message]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
tools/squashfskit4/Makefile

index 396a7c0edc5735774ec1cc5ff6cff7c997019a2d..9ed10ecef93bf93dc8ff9e31193b82744b168d59 100644 (file)
@@ -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