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.36.11-3+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8ff622985cf23bb5a4d409fa6e9bc65bbf3a0190;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 42896b9a..7df99f82 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -92,7 +92,7 @@ supermin.d/daemon.tar.gz: ../daemon/guestfsd guestfs_shadow.aug mkdir -p tmp-d$(DAEMON_SUPERMIN_DIR) tmp-d/etc tmp-d/usr/share/guestfs ln ../daemon/guestfsd tmp-d$(DAEMON_SUPERMIN_DIR)/guestfsd ln $(srcdir)/guestfs_shadow.aug tmp-d/usr/share/guestfs/guestfs_shadow.aug - ( cd tmp-d && tar zcf - * ) > $@-t + ( cd tmp-d && tar --mtime=$(abs_top_srcdir)/ChangeLog -zcf - * ) > $@-t rm -r tmp-d mv $@-t $@ @@ -113,7 +113,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 @@ -123,7 +123,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 $@