From: Michael Tremer Date: Mon, 15 Jun 2009 07:30:33 +0000 (+0200) Subject: Added patches to tar that support xattrs. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88425acec171e09ae550e39475e50e587b38bfd;p=ipfire-3.x.git Added patches to tar that support xattrs. Depends on acl and attr. --- diff --git a/lfs/tar b/lfs/tar index 6ec1e925b..2d18b7544 100644 --- a/lfs/tar +++ b/lfs/tar @@ -40,7 +40,7 @@ CORE = yes EXTRA = no DEBUG = no BUILD_DEPS = -DEPS = +DEPS = acl attr URL = http://www.gnu.org/software/tar/ LICENSE = GPLv3+ @@ -70,7 +70,9 @@ info: install: $(OBJECT) -package: +packages: $(PACKAGES) + +$(PACKAGES): $(OBJECT) @$(DO_PACKAGE) $(objects): @@ -88,9 +90,13 @@ $(OBJECT): $(objects) # may fail to grow the size of a file cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-vfatTruncate.patch + # Add support for ACLs in the tarballs. + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-xattrs-1.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-xattrs-conf-1.patch + ifeq "$(STAGE)" "toolchain" # Normally the 'rmt' programs goes in sbin/. - cd $(DIR_APP) && \ + cd $(DIR_APP) && LDFLAGS="-z muldefs" \ ./configure \ $(CONFIGURE_ARCH) \ --prefix=$(TOOLS_DIR) \