]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
etherboot: use gzip -n
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Thu, 22 Jun 2017 09:16:34 +0000 (11:16 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 22 Jun 2017 15:44:15 +0000 (16:44 +0100)
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 <bwiedemann@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/firmware/etherboot/Makefile
tools/firmware/etherboot/README

index 89d9ace8c8333bbd0d034f433a3beb4887748bc2..e33458d2fe0d123bb0abeef2cc40c057cf7b994f 100644 (file)
@@ -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
index c1c713c76b98fc619aa9f96267c9d288489ea63e..5e3c1daf588fb33bc82238b818ba6aef5c8062e5 100644 (file)
@@ -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
 
 ----------------------------------------