aboutsummaryrefslogtreecommitdiffstats
path: root/include/download.mk
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tmn505@gmail.com>2023-05-10 19:07:07 +0200
committerChristian Lamparter <chunkeey@gmail.com>2023-05-18 16:17:52 +0200
commit92fec5360988bb761481ffdcb10514493f203321 (patch)
treed6f4f986e6e59f21eba9c7accaa7576b100cae43 /include/download.mk
parent7519b35881149427c48d2c81a6c154ef3471d566 (diff)
downloadupstream-92fec5360988bb761481ffdcb10514493f203321.tar.gz
upstream-92fec5360988bb761481ffdcb10514493f203321.tar.bz2
upstream-92fec5360988bb761481ffdcb10514493f203321.zip
download: create immutable subversion checkout archive
On each generation of the archive check sum will differ, because when checking out subversion repository, current date is used for directories creation. Force tar to assign creation date of the last revision for all items inside archive. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Diffstat (limited to 'include/download.mk')
-rw-r--r--include/download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk
index 34d31653b1..9ab0b6c08f 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -187,7 +187,7 @@ define DownloadMethod/svn
svn export --non-interactive --trust-server-cert -r$(VERSION) $(URL) $(SUBDIR) || \
svn export --non-interactive -r$(VERSION) $(URL) $(SUBDIR) ) && \
echo "Packing checkout..." && \
- export TAR_TIMESTAMP="" && \
+ export TAR_TIMESTAMP="`svn info -r$(VERSION) --show-item last-changed-date $(URL)`" && \
$(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \
mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \
rm -rf $(SUBDIR); \