DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH 1/2] scripts: remove update-diffs scripts
Date: Thu,  8 Aug 2024 14:58:23 +0200	[thread overview]
Message-ID: <20240808125824.2079957-1-rhi@pengutronix.de> (raw)

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




             reply	other threads:[~2024-08-08 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-08 12:58 Roland Hieber [this message]
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

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=20240808125824.2079957-1-rhi@pengutronix.de \
    --to=rhi@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