DistroKit Mailinglist
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Roland Hieber <rhi@pengutronix.de>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH v1 2/1] scripts: p-all: add mips platform
Date: Mon, 2 Mar 2020 09:04:21 +0100	[thread overview]
Message-ID: <20200302080421.d3qkquurxnzdsrhp@pengutronix.de> (raw)
In-Reply-To: <20200228092452.18636-1-rhi@pengutronix.de>

On Fri, Feb 28, 2020 at 10:24:52AM +0100, Roland Hieber wrote:
> This way it is less likely to get lost when doing a PTXdist migrate for
> all platforms.  
> ---
>  scripts/p-all | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/p-all b/scripts/p-all
> index bdef601ad99c..7eb9694e6e6e 100755
> --- a/scripts/p-all
> +++ b/scripts/p-all
> @@ -7,7 +7,7 @@ else
>  	echo Note: using PTXDIST=$PTXDIST
>  	tput sgr 0   # back to normal
>  fi
> -PLATFORMS="v7a v8a rpi"
> +PLATFORMS="v7a v8a rpi mips"

What about making this instead:

diff --git a/scripts/p-all b/scripts/p-all
index bdef601ad99c..bb95ed265e19 100755
--- a/scripts/p-all
+++ b/scripts/p-all
@@ -7,7 +7,7 @@ else
        echo Note: using PTXDIST=$PTXDIST
        tput sgr 0   # back to normal
 fi
-PLATFORMS="v7a v8a rpi"
-for p in $PLATFORMS; do
-       $PTXDIST --platformconfig=configs/platform-${p}/platformconfig "$@"
+
+for pcfg in configs/platform-*/platformconfig; do
+       $PTXDIST --platformconfig="$pcfg" "$@"
 done

Best regards
Uwe


-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  reply	other threads:[~2020-03-02  8:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28  5:11 [DistroKit] [PATCH v1] MIPS: ptxdist: version bump 2020.01.0 -> 2020.02.0 Oleksij Rempel
2020-02-28  9:24 ` [DistroKit] [PATCH v1 2/1] scripts: p-all: add mips platform Roland Hieber
2020-03-02  8:04   ` Uwe Kleine-König [this message]
2020-03-02  9:37     ` Roland Hieber
2020-03-05 16:36       ` Robert Schwebel
2020-03-05 16:36 ` [DistroKit] [PATCH v1] MIPS: ptxdist: version bump 2020.01.0 -> 2020.02.0 Robert Schwebel

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=20200302080421.d3qkquurxnzdsrhp@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=o.rempel@pengutronix.de \
    --cc=rhi@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