From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 22 Apr 2025 11:24:35 +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 1u79rn-003zeE-2L for lore@lore.pengutronix.de; Tue, 22 Apr 2025 11:24:35 +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 1u79rn-0005Ju-9C; Tue, 22 Apr 2025 11:24:35 +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 1u79rj-0005Iv-QN; Tue, 22 Apr 2025 11:24:31 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) 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 1u79rj-001Wni-22; Tue, 22 Apr 2025 11:24:31 +0200 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1u79rj-00F63a-1e; Tue, 22 Apr 2025 11:24:31 +0200 Date: Tue, 22 Apr 2025 11:24:31 +0200 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20250414102850.3164387-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250414102850.3164387-1-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [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: distrokit@pengutronix.de 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 Series applied to next. On Mon, Apr 14, 2025 at 12:28:48PM +0200, Ahmad Fatoum wrote: > 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 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |