diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-04-07 19:00:16 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:11 +0100 |
commit | abff42ff318fd806d7607ed40da5bc0c89793d76 (patch) | |
tree | 4389b000ee4bf74027ebc1cdb3f8896aeaa4c2da /meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch | |
parent | 15df00f0f0e3c15560b3f0774227817deade81f9 (diff) | |
download | poky-abff42ff318fd806d7607ed40da5bc0c89793d76.tar.gz |
squashfs-tools: update 4.5 -> 4.5.1
Drop backports.
Correctly set source and installation directories.
(From OE-Core rev: feaa1ed77c31a3c7dd8abe17d8d0e6f94157eb61)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch')
-rw-r--r-- | meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch new file mode 100644 index 0000000000..ed1d2f5b3b --- /dev/null +++ b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From b44b00dae195d8587857c7e8054e9be4eaa1f8b3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Thu, 7 Apr 2022 09:26:09 +0200 | ||
4 | Subject: [PATCH] install-manpages.sh: do not write original timestamps into | ||
5 | .gz metadata | ||
6 | |||
7 | This helps binary reproducibility. | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/plougher/squashfs-tools/pull/177] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | generate-manpages/install-manpages.sh | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/generate-manpages/install-manpages.sh b/generate-manpages/install-manpages.sh | ||
16 | index 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 | -- | ||
29 | 2.30.2 | ||
30 | |||