From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 22 Oct 2025 14:30:04 +0200 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 1vBXye-00AbeC-06 for lore@lore.pengutronix.de; Wed, 22 Oct 2025 14:30:04 +0200 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 1vBXyV-0001il-De; Wed, 22 Oct 2025 14:29:55 +0200 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 1vBXyS-0001i3-GZ; Wed, 22 Oct 2025 14:29:52 +0200 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) 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 1vBXyS-004tCd-10; Wed, 22 Oct 2025 14:29:52 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vBXyS-000000010xd-14aB; Wed, 22 Oct 2025 14:29:52 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 22 Oct 2025 14:29:10 +0200 Message-ID: <20251022122947.241881-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 1/3] ci-prepare: use the correct ptxdist script inside Jenkins environment X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Roland Hieber --- ci-prepare | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci-prepare b/ci-prepare index 4144d28eca2f..0bb4e58664c2 100755 --- a/ci-prepare +++ b/ci-prepare @@ -1,11 +1,13 @@ #!/bin/sh +# Note: this script is sourced by Jenkins, which has the auto-detected PTXdist +# version symlinked to ./p case "${JOB_BASE_NAME}" in *v8a*) [ -e selected_toolchain_r5 ] || { # store away the currently selected toolchain [ -e selected_toolchain ] && mv selected_toolchain selected_toolchain_ci_backup # create toolchain based on v7a platform, which is needed for R5 processor. - ptxdist toolchain --platformconfig=configs/platform-v7a/platformconfig + ./p toolchain --platformconfig=configs/platform-v7a/platformconfig mv selected_toolchain selected_toolchain_r5 # restore the selected toolchain, if there was one before [ -e selected_toolchain_ci_backup ] && mv selected_toolchain_ci_backup selected_toolchain -- 2.47.3