DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v1] MIPS: add a script to update all configs
@ 2020-04-03 12:40 Oleksij Rempel
  2020-04-03 13:54 ` Robert Schwebel
  2020-04-04 20:05 ` Roland Hieber
  0 siblings, 2 replies; 4+ messages in thread
From: Oleksij Rempel @ 2020-04-03 12:40 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-04 23:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 12:40 [DistroKit] [PATCH v1] MIPS: add a script to update all configs Oleksij Rempel
2020-04-03 13:54 ` Robert Schwebel
2020-04-04 20:05 ` Roland Hieber
2020-04-04 23:23   ` Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox