From 74479c792ee29fa6a4dc459825f513625f096616 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Fri, 5 Apr 2019 09:37:02 +0100 Subject: [PATCH] Use source date in .tar.bz2 archive All files are now added using the date the build-with-docker script was last changed. Since this includes the hash of the result, it should be up-to-date. This ensures that rebuilding the archive doesn't change it in any way. Reported-by: Holger Levsen --- Makefile.user | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.user b/Makefile.user index 33335e6..da810cd 100644 --- a/Makefile.user +++ b/Makefile.user @@ -3,5 +3,5 @@ tar: build mkdir _build/mirage-firewall cp qubes_firewall.xen _build/mirage-firewall/vmlinuz touch _build/mirage-firewall/modules.img - cat /dev/null | gzip > _build/mirage-firewall/initramfs - tar cjf mirage-firewall.tar.bz2 -C _build mirage-firewall + cat /dev/null | gzip -n > _build/mirage-firewall/initramfs + tar cjf mirage-firewall.tar.bz2 -C _build --mtime=./build-with-docker.sh mirage-firewall