DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH v2 2/3] ci-prepare: use the correct ptxdist script inside Jenkins environment
Date: Wed, 22 Oct 2025 15:05:34 +0200	[thread overview]
Message-ID: <20251022130535.284556-2-rhi@pengutronix.de> (raw)
In-Reply-To: <20251022130535.284556-1-rhi@pengutronix.de>

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
v2:
* reorder after indentation change

v1: https://lore.distrokit.org/distrokit/20251022122947.241881-1-rhi@pengutronix.de
---
 ci-prepare | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ci-prepare b/ci-prepare
index 1e2605c05553..93e9bc0d68ca 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




  reply	other threads:[~2025-10-22 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-22 13:05 [DistroKit] [PATCH v2 1/3] ci-prepare: fix indentation Roland Hieber
2025-10-22 13:05 ` Roland Hieber [this message]
2025-10-22 13:05 ` [DistroKit] [PATCH v2 3/3] ci-prepare: make return value safe Roland Hieber

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=20251022130535.284556-2-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@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