diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-14 09:57:45 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-14 09:57:45 +0000 |
commit | b5bb9272ee773d30c1fde2da17c087618264ab6f (patch) | |
tree | 682cca857e1946d5a258823cfa55f3c40d9daa64 /target/linux/ar71xx | |
parent | b5f4a9f364263f9f1fdc5093b00b223154aaf5fc (diff) | |
download | master-187ad058-b5bb9272ee773d30c1fde2da17c087618264ab6f.tar.gz master-187ad058-b5bb9272ee773d30c1fde2da17c087618264ab6f.tar.bz2 master-187ad058-b5bb9272ee773d30c1fde2da17c087618264ab6f.zip |
build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46361 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 5d16c0620d..715465544b 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -985,7 +985,7 @@ endef define PatchKernelGzip cp $(KDIR)/vmlinux$(3) $(KDIR_TMP)/vmlinux$(3)-$(1) $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR_TMP)/vmlinux$(3)-$(1) "$(strip $(2))" - gzip -9 -c $(KDIR_TMP)/vmlinux$(3)-$(1) > $(KDIR_TMP)/vmlinux$(3)-$(1).bin.gz + gzip -9n -c $(KDIR_TMP)/vmlinux$(3)-$(1) > $(KDIR_TMP)/vmlinux$(3)-$(1).bin.gz endef ifneq ($(SUBTARGET),mikrotik) @@ -2245,10 +2245,10 @@ define Image/Build/Initramfs endef define Image/Prepare - gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz + gzip -9n -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz $(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma) ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) - gzip -9 -c $(KDIR)/vmlinux-initramfs > $(KDIR)/vmlinux-initramfs.bin.gz + gzip -9n -c $(KDIR)/vmlinux-initramfs > $(KDIR)/vmlinux-initramfs.bin.gz $(call CompressLzma,$(KDIR)/vmlinux-initramfs,$(KDIR)/vmlinux-initramfs.bin.lzma) $(call Image/BuildLoader,generic,elf,,,-initramfs) endif |