[PATCH] build: Make gzip archives reproducible

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Aug 12 11:17:27 UTC 2023


---
 wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wscript b/wscript
index 4baf701c27..e0e38e67bb 100755
--- a/wscript
+++ b/wscript
@@ -465,7 +465,7 @@ class Item(object):
 
     def gzip(self, bld, source):
         target = source + ".gz"
-        bld(rule="${GZIP} < ${SRC} > ${TGT}", source=source, target=target)
+        bld(rule="${GZIP} -n < ${SRC} > ${TGT}", source=source, target=target)
         return target
 
     def xz(self, bld, source):
-- 
2.35.3



More information about the devel mailing list