From 39d06472eb93d72940b2728d33e2dafa2676e47b Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Sat, 12 Feb 2022 17:01:31 +0900 Subject: tools: zip: fetch SOURCE_DATE_EPOCH directly Remove "--mtime" option introduced in commit 18c9faa03211 ("tools: zip: add option for reproducible archives") and instead fetch SOURCE_DATE_EPOCH environment variable directly in the code. Ref: https://sourceforge.net/p/infozip/patches/25/ Signed-off-by: Sungbo Eo --- include/image-commands.mk | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/image-commands.mk b/include/image-commands.mk index 21f851d205..b6593c138b 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -542,7 +542,6 @@ define Build/zip mkdir $@.tmp mv $@ $@.tmp/$(word 1,$(1)) TZ=UTC $(STAGING_DIR_HOST)/bin/zip -j -X \ - $(if $(SOURCE_DATE_EPOCH),--mtime="$(SOURCE_DATE_EPOCH)") \ $(wordlist 2,$(words $(1)),$(1)) \ $@ $@.tmp/$(if $(word 1,$(1)),$(word 1,$(1)),$$(basename $@)) rm -rf $@.tmp -- cgit v1.2.3