diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 9047e99f86..61e565b002 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -19,9 +19,11 @@ export SFTP := $(call qstrip,$(BR2_SFTP)) export LOCALFILES := $(call qstrip,$(BR2_LOCALFILES)) # Version of the format of the archives we generate in the corresponding -# download backend: -BR_FMT_VERSION_git = -br2 -BR_FMT_VERSION_svn = -br3 +# download backend and post-process: +BR_FMT_VERSION_git = -git3 +BR_FMT_VERSION_svn = -svn4 +BR_FMT_VERSION_go = -go1 +BR_FMT_VERSION_cargo = -cargo1 DL_WRAPPER = support/download/dl-wrapper diff --git a/support/download/helpers b/support/download/helpers index 90a7d6c1ec..823e4d2f91 100755 --- a/support/download/helpers +++ b/support/download/helpers @@ -61,7 +61,7 @@ mk_tar_gz() { # Create POSIX tarballs, since that's the format the most reproducible tar cf - --transform="s#^\./#${base_dir}/#S" \ --numeric-owner --owner=0 --group=0 --mtime="${date}" \ - --format=posix --pax-option="${pax_options}" \ + --format=posix --pax-option="${pax_options}" --mode='go=u,go-w' \ -T "${tmp}.sorted" >"${tmp}.tar" # Compress the archive