From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1] MIPS: add a script to update all configs
Date: Fri, 3 Apr 2020 14:40:24 +0200 [thread overview]
Message-ID: <20200403124024.16885-1-o.rempel@pengutronix.de> (raw)
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
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
next reply other threads:[~2020-04-03 12:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 12:40 Oleksij Rempel [this message]
2020-04-03 13:54 ` Robert Schwebel
2020-04-04 20:05 ` Roland Hieber
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=20200403124024.16885-1-o.rempel@pengutronix.de \
--to=o.rempel@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