From 579d698da608a24ab334a6a38d932176bac5cecd Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Thu, 22 Jun 2017 11:16:34 +0200 Subject: [PATCH] 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 --- tools/firmware/etherboot/Makefile | 2 +- tools/firmware/etherboot/README | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ---------------------------------------- -- 2.30.2