From: Bernhard M. Wiedemann Date: Thu, 22 Jun 2017 09:16:34 +0000 (+0200) Subject: etherboot: use gzip -n X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1936 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=579d698da608a24ab334a6a38d932176bac5cecd;p=xen.git etherboot: use gzip -n to not include current timestamp in results to allow for reproducible builds. See https://reproducible-builds.org/ for why this matters Signed-off-by: Bernhard M. Wiedemann Acked-by: Wei Liu Acked-by: Ian Jackson --- diff --git a/tools/firmware/etherboot/Makefile b/tools/firmware/etherboot/Makefile index 89d9ace8c8..e33458d2fe 100644 --- a/tools/firmware/etherboot/Makefile +++ b/tools/firmware/etherboot/Makefile @@ -31,7 +31,7 @@ $T: if ! $(FETCHER) _$T $(IPXE_TARBALL_URL); then \ $(GIT) clone $(IPXE_GIT_URL) $D.git; \ (cd $D.git && $(GIT) archive --format=tar --prefix=$D/ \ - $(IPXE_GIT_TAG) | gzip >../_$T); \ + $(IPXE_GIT_TAG) | gzip -n >../_$T); \ rm -rf $D.git; \ fi mv _$T $T diff --git a/tools/firmware/etherboot/README b/tools/firmware/etherboot/README index c1c713c76b..5e3c1daf58 100644 --- a/tools/firmware/etherboot/README +++ b/tools/firmware/etherboot/README @@ -15,7 +15,7 @@ as on 25th September 2008): git clone git://git.etherboot.org/scm/gpxe.git cd gpxe - git archive --format=tar --prefix=gpxe/ c24bc349ead939d90b5784dbff3cd9fdb9d83ba8 | gzip >../gpxe-git-snapshot.tar.gz + git archive --format=tar --prefix=gpxe/ c24bc349ead939d90b5784dbff3cd9fdb9d83ba8 | gzip -n >../gpxe-git-snapshot.tar.gz ----------------------------------------