diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-31 23:29:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-31 23:29:22 +0000 |
commit | 08a0095a9ee3a350c846dfbae440a7df98845626 (patch) | |
tree | db2cc67c42e3286655c59499d6dd28577cc46e43 /include/image.mk | |
parent | be6acba4dc5c9013a8f61fb2e9d2dbb976126aa8 (diff) | |
download | upstream-08a0095a9ee3a350c846dfbae440a7df98845626.tar.gz upstream-08a0095a9ee3a350c846dfbae440a7df98845626.tar.bz2 upstream-08a0095a9ee3a350c846dfbae440a7df98845626.zip |
include/image: don't save gzip name/timestamp metadata
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
SVN-Revision: 48587
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 5 |
1 files changed, 2 insertions, 3 deletions
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))) |