squashfs: Add xattr support

Adding extended attribute support for the squashfs tools when the attr
package is selected. This is needed for SELinux support.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Clayton Shotwell 2015-07-10 18:28:00 -05:00 committed by Thomas Petazzoni
parent d42f0f96aa
commit a409d76e83

View File

@ -10,8 +10,12 @@ SQUASHFS_SITE = http://downloads.sourceforge.net/project/squashfs/squashfs/squas
SQUASHFS_LICENSE = GPLv2+ SQUASHFS_LICENSE = GPLv2+
SQUASHFS_LICENSE_FILES = COPYING SQUASHFS_LICENSE_FILES = COPYING
# no libattr in BR ifeq ($(BR2_PACKAGE_ATTR),y)
SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=0 SQUASHFS_DEPENDENCIES += attr
SQUASHFS_MAKE_ARGS += XATTR_SUPPORT=1
else
SQUASHFS_MAKE_ARGS += XATTR_SUPPORT=0
endif
ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y) ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y)
SQUASHFS_DEPENDENCIES += lz4 SQUASHFS_DEPENDENCIES += lz4