[openwrt/openwrt] tools/squashfskit4: add xattr support to mksquashfs for SELinux

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 30 20:16:30 EDT 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d3d40cd6a41c2c5a6bd1173ad4471d40a2d3e515

commit d3d40cd6a41c2c5a6bd1173ad4471d40a2d3e515
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
AuthorDate: Sat Jul 18 13:53:24 2020 -0500

    tools/squashfskit4: add xattr support to mksquashfs for SELinux
    
    SELinux uses extended attributes to store SELinux security contexts.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
    [rebase, add commit message]
    Signed-off-by: W. Michael Petullo <mike at flyn.org>
---
 tools/squashfskit4/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the lede-commits mailing list