DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/2] scripts: remove update-diffs scripts
@ 2024-08-08 12:58 Roland Hieber
  2024-08-08 12:58 ` [DistroKit] [PATCH 2/2] doc: intro: update updating instructions Roland Hieber
  2024-08-14  7:27 ` [DistroKit] [PATCH 1/2] scripts: remove update-diffs scripts Robert Schwebel
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Hieber @ 2024-08-08 12:58 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

The list of barebox packages in update-diffs-v7a.sh is outdated, and
config diffs are also used for platform-v7a_noneon. However these
scripts are no longer needed anyway since PTXdist 2023.07.0 commit
77d83105dc514354c65e introduced the 'oldconfig all' target.

Link: https://git.pengutronix.de/cgit/ptxdist/commit/?h=77d83105dc514354c65e
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 doc/intro.rst                |  6 +++---
 scripts/update-diffs-mips.sh | 14 --------------
 scripts/update-diffs-v7a.sh  | 14 --------------
 3 files changed, 3 insertions(+), 31 deletions(-)
 delete mode 100755 scripts/update-diffs-mips.sh
 delete mode 100755 scripts/update-diffs-v7a.sh

diff --git a/doc/intro.rst b/doc/intro.rst
index d07a238808f6..d91cc20508c3 100644
--- a/doc/intro.rst
+++ b/doc/intro.rst
@@ -128,9 +128,9 @@ platforms in DistroKit, for example::
 
    $ ./scripts/p-all migrate
 
-The *mips* and *v7a* platforms use config diffs for kernel and/or barebox packages.
-When touching their config files, you can use ``scripts/update-diffs-mips.sh`` and
-``scripts/update-diffs-v7a.sh`` respectively to update the config diffs.
+Some platforms use config diffs for kernel and/or barebox packages.
+When touching their config files, you can use ``ptxdist oldconfig all``
+to update the config files and keep them in sync.
 
 License
 -------
diff --git a/scripts/update-diffs-mips.sh b/scripts/update-diffs-mips.sh
deleted file mode 100755
index b1bdde395def..000000000000
--- a/scripts/update-diffs-mips.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/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
diff --git a/scripts/update-diffs-v7a.sh b/scripts/update-diffs-v7a.sh
deleted file mode 100755
index dad3081eb579..000000000000
--- a/scripts/update-diffs-v7a.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/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
-
-BAREBOXES="barebox-common barebox-am335x barebox-mx6 barebox-rpi2 barebox-vexpress"
-for pkg in $BAREBOXES; do
-	$PTXDIST --platformconfig="configs/platform-v7a/platformconfig" oldconfig $pkg
-done
-- 
2.39.2




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

end of thread, other threads:[~2024-08-14  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-08 12:58 [DistroKit] [PATCH 1/2] scripts: remove update-diffs scripts Roland Hieber
2024-08-08 12:58 ` [DistroKit] [PATCH 2/2] doc: intro: update updating instructions Roland Hieber
2024-08-14  7:27 ` [DistroKit] [PATCH 1/2] scripts: remove update-diffs scripts Robert Schwebel

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