From 26d7eed0aa224546adb204438b3053cd3af345e4 Mon Sep 17 00:00:00 2001 From: Frank Heimes Date: Tue, 4 Jun 2024 10:44:18 +0200 Subject: [PATCH] zfcpdump: Do not save timestamps when compressing Having timestamps in gzip leads to lintian warning 'package-contains-timestamped-gzip' and will harm reproducible builds. Gzip option '-n' avoids saving original file name and especially timestamps by default. Fixes: https://github.com/ibm-s390-linux/s390-tools/pull/169 Signed-off-by: Frank Heimes Reviewed-by: Steffen Eiden Reviewed-by: Alexander Egorenkov [seiden@linux.ibm.com: Fix commit message] Signed-off-by: Steffen Eiden --- zfcpdump/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfcpdump/Makefile b/zfcpdump/Makefile index 309ea8f6..101f65e0 100644 --- a/zfcpdump/Makefile +++ b/zfcpdump/Makefile @@ -35,7 +35,7 @@ zfcpdump_part: zfcpdump.o zfcpdump_part.o $(ZFCPDUMP_INITRD): cpioinit zfcpdump_part $(CPIOINIT) zfcpdump_part > $@.tmp - $(GZIP) -f $@.tmp + $(GZIP) -f -n $@.tmp $(MV) $@.tmp.gz $(ZFCPDUMP_INITRD) scripts: $(INSTALL_SCRIPTS)