From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] ptxd_make_get_git: use singlethreaded compression with XZ
Date: Fri, 14 Feb 2025 10:02:14 +0100 [thread overview]
Message-ID: <20250214090214.2797980-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250203100830.3586543-1-l.stach@pengutronix.de>
Thanks, applied as d4b63d86f07445cc0357c248c6a93cbcc8ef9605.
Michael
[sent from post-receive hook]
On Fri, 14 Feb 2025 10:02:14 +0100, Lucas Stach <l.stach@pengutronix.de> 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 <l.stach@pengutronix.de>
> Message-Id: <20250203100830.3586543-1-l.stach@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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
prev parent reply other threads:[~2025-02-14 9:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-03 10:08 [ptxdist] [PATCH] " Lucas Stach
2025-02-14 9:02 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250214090214.2797980-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox