From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 08 Aug 2024 14:58:33 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sc2iv-007Uwq-0M for lore@lore.pengutronix.de; Thu, 08 Aug 2024 14:58:33 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sc2iu-0008Mf-EZ; Thu, 08 Aug 2024 14:58:32 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sc2io-0008Lc-ER; Thu, 08 Aug 2024 14:58:26 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sc2io-005Qk2-0h; Thu, 08 Aug 2024 14:58:26 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sc2in-008j6b-37; Thu, 08 Aug 2024 14:58:25 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Thu, 8 Aug 2024 14:58:23 +0200 Message-Id: <20240808125824.2079957-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 1/2] scripts: remove update-diffs scripts X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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