From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 14 Apr 2025 12:28:55 +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 1u4H3f-000bLE-1T for lore@lore.pengutronix.de; Mon, 14 Apr 2025 12:28:55 +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 1u4H3f-0003OU-17; Mon, 14 Apr 2025 12:28:55 +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 1u4H3a-0003Kn-RW; Mon, 14 Apr 2025 12:28:50 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u4H3a-000EYn-28; Mon, 14 Apr 2025 12:28:50 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1u4H3a-00DHDM-1p; Mon, 14 Apr 2025 12:28:50 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Mon, 14 Apr 2025 12:28:48 +0200 Message-Id: <20250414102850.3164387-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 1/3] v7a: barebox: defaultenv: delete no-op init 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: Ahmad Fatoum 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 These scripts are all no-ops when nv.boot.default is set and that file in indeed set in the built-in environment shipped with DistroKit. They can thus be safely removed. Signed-off-by: Ahmad Fatoum --- .../barebox-am335x-defaultenv/init/bootsource | 11 ----------- .../barebox-mx6-defaultenv/init/bootsource | 13 ------------- .../barebox-rpi2-defaultenv/init/bootsource | 12 ------------ .../barebox-vexpress-defaultenv/init/bootsource | 7 ------- 4 files changed, 43 deletions(-) delete mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource delete mode 100644 configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource delete mode 100644 configs/platform-v7a/barebox-rpi2-defaultenv/init/bootsource delete mode 100644 configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource b/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource deleted file mode 100644 index b3b73e790334..000000000000 --- a/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -if [ -n "$nv.boot.default" ]; then - exit -fi - -if [ $bootsource = mmc ]; then - global.boot.default="bootchooser net" -else - global.boot.default="net bootchooser" -fi diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource b/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource deleted file mode 100644 index 852cfd7d9611..000000000000 --- a/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ -n "$nv.boot.default" ]; then - exit -fi - -if [ $bootsource = mmc ]; then - detect mmc$bootsource_instance - global.boot.default="bootchooser net" -else - global.boot.default="net bootchooser" -fi - diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/init/bootsource b/configs/platform-v7a/barebox-rpi2-defaultenv/init/bootsource deleted file mode 100644 index 50f505f6266b..000000000000 --- a/configs/platform-v7a/barebox-rpi2-defaultenv/init/bootsource +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -if [ -n "$nv.boot.default" ]; then - exit -fi - -if [ $bootsource = mmc ]; then - global.boot.default="bootchooser net" -else - global.boot.default="net bootchooser" -fi - diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource b/configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource deleted file mode 100644 index 4432e021fb0f..000000000000 --- a/configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if [ -n "$nv.boot.default" ]; then - exit -fi - -global.boot.default="bootchooser net" -- 2.39.5