From: Felix Fietkau Date: Mon, 12 Dec 2016 12:12:43 +0000 (+0100) Subject: download.mk: improve download tarball reproducibility X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1b9a39c528bcad4f66821e15f8c2162075a40191;p=openwrt%2Fstaging%2Fthess.git download.mk: improve download tarball reproducibility Store only numeric user/group id. Group 0 is 'root' on linux and 'wheel' on BSD and Mac OS X. Signed-off-by: Felix Fietkau --- diff --git a/include/download.mk b/include/download.mk index 49d2bf3bac..3c6b4a20cf 100644 --- a/include/download.mk +++ b/include/download.mk @@ -41,7 +41,7 @@ define dl_pack $(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown)) endef define dl_tar_pack - $(TAR) --owner=0 --group=0 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | $(call dl_pack,$(1)) + $(TAR) --numeric-owner --owner=0 --group=0 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | $(call dl_pack,$(1)) endef define DownloadMethod/unknown