DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH v1] MIPS: add a script to update all configs
Date: Sat, 4 Apr 2020 22:05:19 +0200	[thread overview]
Message-ID: <20200404200519.5yllsngjbivy6odp@pengutronix.de> (raw)
In-Reply-To: <20200403124024.16885-1-o.rempel@pengutronix.de>

On Fri, Apr 03, 2020 at 02:40:24PM +0200, Oleksij Rempel wrote:
> Add a script to make updating of barebox and kernel packages easier.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  scripts/update-diffs-mips.sh | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100755 scripts/update-diffs-mips.sh

We already have scripts/p-all for the ptxdist part, and we have several
bareboxes in the v7a platform as well, and I think we can solve all of
those by expanding your script. Luckily I have a similar script lying
around in another BSP… let me see if I can adapt that :)

 - Roland


> diff --git a/scripts/update-diffs-mips.sh b/scripts/update-diffs-mips.sh
> new file mode 100755
> index 0000000..b1bdde3
> --- /dev/null
> +++ b/scripts/update-diffs-mips.sh
> @@ -0,0 +1,14 @@
> +#!/bin/sh
> +
> +if [ -z "$PTXDIST" ]; then
> +	PTXDIST=ptxdist
> +else
> +	tput setaf 3 # yellow
> +	echo Note: using PTXDIST=$PTXDIST
> +	tput sgr 0   # back to normal
> +fi
> +
> +PACKAGES="barebox-common barebox-ar9331 barebox-malta kernel kernel-ar9331 kernel-malta"
> +for pkg in $PACKAGES; do
> +	$PTXDIST --platformconfig="configs/platform-mips/platformconfig" oldconfig $pkg
> +done
> -- 
> 2.26.0.rc2
> 
> 
> _______________________________________________
> DistroKit mailing list
> DistroKit@pengutronix.de
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  parent reply	other threads:[~2020-04-04 20:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 12:40 Oleksij Rempel
2020-04-03 13:54 ` Robert Schwebel
2020-04-04 20:05 ` Roland Hieber [this message]
2020-04-04 23:23   ` 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=20200404200519.5yllsngjbivy6odp@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=o.rempel@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