mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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 <frank.heimes@canonical.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> [seiden@linux.ibm.com: Fix commit message] Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
e0034eddbf
commit
26d7eed0aa
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user