XZ switched to use multithreaded compression by default in versions after 5.4. Unfortunately this changes the checksum of the resulting archive, as the compression algorithm isn't exactly the same when multithreading is used.
Signed-off-by: Lucas Stach <[email protected]> --- scripts/lib/ptxd_make_get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh index eea56f8afbab..584123d75b09 100644 --- a/scripts/lib/ptxd_make_get.sh +++ b/scripts/lib/ptxd_make_get.sh @@ -237,7 +237,7 @@ ptxd_make_get_git() { git --git-dir="${mirror}" config transfer.fsckObjects true && git --git-dir="${mirror}" config tar.tar.gz.command "gzip -cn" && git --git-dir="${mirror}" config tar.tar.bz2.command "bzip2 -c" && - git --git-dir="${mirror}" config tar.tar.xz.command "xz -c" && + git --git-dir="${mirror}" config tar.tar.xz.command "xz -T 1 -c" && git --git-dir="${mirror}" remote add origin "${url}" && git --git-dir="${mirror}" fetch --progress -pf origin "+refs/*:refs/*" && # at least for some git versions this is not group writeable for shared repos -- 2.48.1
