[rtems commit] build: Make gzip archives reproducible

Sebastian Huber sebh at rtems.org
Mon Aug 14 06:02:13 UTC 2023


Module:    rtems
Branch:    master
Commit:    67925cebd8492510d7fbcd49151928e469b35fd9
Changeset: http://git.rtems.org/rtems/commit/?id=67925cebd8492510d7fbcd49151928e469b35fd9

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat Aug 12 09:22:25 2023 +0200

build: Make gzip archives reproducible

---

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

diff --git a/wscript b/wscript
index a51064d764..280c3929cd 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):



More information about the vc mailing list