From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 14 Feb 2025 10:02:43 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tirau-002Cb4-07 for lore@lore.pengutronix.de; Fri, 14 Feb 2025 10:02:43 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tiras-0003XA-UH; Fri, 14 Feb 2025 10:02:42 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tiraR-0002bk-78; Fri, 14 Feb 2025 10:02:15 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tiraR-000tAV-08; Fri, 14 Feb 2025 10:02:15 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tiraQ-00Bjst-3D; Fri, 14 Feb 2025 10:02:14 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 14 Feb 2025 10:02:14 +0100 Message-Id: <20250214090214.2797980-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250203100830.3586543-1-l.stach@pengutronix.de> References: <20250203100830.3586543-1-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] ptxd_make_get_git: use singlethreaded compression with XZ X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lucas Stach Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as d4b63d86f07445cc0357c248c6a93cbcc8ef9605. Michael [sent from post-receive hook] On Fri, 14 Feb 2025 10:02:14 +0100, Lucas Stach 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 > Message-Id: <20250203100830.3586543-1-l.stach@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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