blob: ed1d2f5b3b2f7ed0eb8522888e4a65e5ae29f8a1 [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001From b44b00dae195d8587857c7e8054e9be4eaa1f8b3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 7 Apr 2022 09:26:09 +0200
4Subject: [PATCH] install-manpages.sh: do not write original timestamps into
5 .gz metadata
6
7This helps binary reproducibility.
8
9Upstream-Status: Submitted [https://github.com/plougher/squashfs-tools/pull/177]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 generate-manpages/install-manpages.sh | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/generate-manpages/install-manpages.sh b/generate-manpages/install-manpages.sh
16index d4c9e91..6a43b89 100755
17--- a/generate-manpages/install-manpages.sh
18+++ b/generate-manpages/install-manpages.sh
19@@ -56,7 +56,7 @@ for i in mksquashfs unsquashfs sqfstar sqfscat; do
20 exit 1
21 fi
22
23- if ! gzip -f9 $2/$i.1; then
24+ if ! gzip -n -f9 $2/$i.1; then
25 echo "$0: Compressing installed manpage failed. Aborting" >&2
26 exit 1
27 fi
28--
292.30.2
30