From 586c7ec2f0da3a67b84b500aa300450ce79a4883 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Thu, 6 Aug 2026 11:17:36 +0200 Subject: [PATCH] Fixed the source tarball still not being reproducible 72c04dd9 covered everything but gzip's header, which records the time it ran, so two builds of the same tree still differed. Changelog: The source tarball is now reproducible Signed-off-by: Lars Erik Wik --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 536eacbb74..f99c1633ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,6 +37,9 @@ export TAR_OPTIONS LC_ALL = C export LC_ALL +# --no-name strips the mtime from the gzip header. --best is automake's default. +GZIP_ENV = "--best --no-name" + # Store the permissions properly in the tarball for acceptance tests to succeed. # Also normalize directory permissions (which would otherwise be affected by the # builder's umask). When SOURCE_DATE_EPOCH is set, clamp every mtime to it so