Thanks, applied as d4b63d86f07445cc0357c248c6a93cbcc8ef9605.

Michael

[sent from post-receive hook]

On Fri, 14 Feb 2025 10:02:14 +0100, Lucas Stach <[email protected]> wrote:
> 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]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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

Reply via email to