From: Felix Fietkau Date: Sun, 31 Jan 2016 23:29:22 +0000 (+0000) Subject: include/image: don't save gzip name/timestamp metadata X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08a0095a9ee3a350c846dfbae440a7df98845626;p=openwrt%2Fstaging%2Fjow.git include/image: don't save gzip name/timestamp metadata Signed-off-by: bryan newbold SVN-Revision: 48587 --- diff --git a/include/image.mk b/include/image.mk index 8f81861fd0..555d6523ad 100644 --- a/include/image.mk +++ b/include/image.mk @@ -249,10 +249,9 @@ define Image/mkfs/cpiogz endef define Image/mkfs/targz - $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED))-rootfs.tar.gz \ - --numeric-owner --owner=0 --group=0 --sort=name \ + $(TAR) -cp --numeric-owner --owner=0 --group=0 --sort=name \ $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ - -C $(TARGET_DIR)/ . + -C $(TARGET_DIR)/ . | gzip -9n > $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED))-rootfs.tar.gz endef E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))