[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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 <bwiedemann@xxxxxxxx>
---
 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 459a1e22e6..7cc5517f10 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.12.3


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.