diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-12-12 13:12:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-12-13 12:16:26 +0100 |
commit | 1b9a39c528bcad4f66821e15f8c2162075a40191 (patch) | |
tree | ba9e6ee42bae35aab9a7cd3c587b70816431e105 /include/download.mk | |
parent | 19d3b78304794bc5c87dc74df4c3735715579b5c (diff) | |
download | upstream-1b9a39c528bcad4f66821e15f8c2162075a40191.tar.gz upstream-1b9a39c528bcad4f66821e15f8c2162075a40191.tar.bz2 upstream-1b9a39c528bcad4f66821e15f8c2162075a40191.zip |
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 <nbd@nbd.name>
Diffstat (limited to 'include/download.mk')
-rw-r--r-- | include/download.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |