From: Hilko Bengen Date: Sat, 14 Feb 2015 13:17:09 +0000 (+0100) Subject: Generate tarballs for supermin appliance using reproducible timestamp X-Git-Tag: archive/raspbian/1%1.44.0-1+rpi1~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a34503509c8fedeeecfcac9a730576c0dc1f1913;p=libguestfs.git Generate tarballs for supermin appliance using reproducible timestamp Gbp-Pq: Name 0004-Generate-tarballs-for-supermin-appliance-using-repro.patch --- diff --git a/appliance/Makefile.am b/appliance/Makefile.am index bad5d9d9..0c158933 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -90,7 +90,7 @@ supermin.d/daemon.tar.gz: ../daemon/guestfsd rm -rf tmp-d mkdir -p tmp-d$(DAEMON_SUPERMIN_DIR) tmp-d/etc ln ../daemon/guestfsd tmp-d$(DAEMON_SUPERMIN_DIR)/guestfsd - ( cd tmp-d && tar zcf - * ) > $@-t + ( cd tmp-d && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - * ) > $@-t rm -r tmp-d mv $@-t $@ @@ -111,7 +111,7 @@ supermin.d/hostfiles: hostfiles.in Makefile supermin.d/init.tar.gz: init rm -f $@ $@-t - ( cd $(srcdir) && tar zcf - init ) > $@-t + ( cd $(srcdir) && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - init ) > $@-t mv $@-t $@ # We should put this file in /lib/udev/rules.d, but put it in /etc so @@ -121,7 +121,7 @@ supermin.d/udev-rules.tar.gz: 99-guestfs-serial.rules rm -rf tmp-u mkdir -p tmp-u/etc/udev/rules.d for f in $^; do ln $$f tmp-u/etc/udev/rules.d/$$(basename $$f); done - ( cd tmp-u && tar zcf - etc ) > $@-t + ( cd tmp-u && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - etc ) > $@-t rm -r tmp-u mv $@-t $@