mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! defaultenv: base: add new devboot script
@ 2026-03-18 15:53 Ahmad Fatoum
  2026-03-19  6:49 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-03-18 15:53 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

defaultenv: base: devel: drop incomplete boot target

If boot.default is set to devel, what's the boot.default the boot
command uses...?

This boot target doesn't make sense and the alternative is for users to
write their own boot script, so drop the target and references to it.

Reported-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 Documentation/user/devboot.rst          | 3 ---
 defaultenv/defaultenv-2-base/boot/devel | 3 ---
 2 files changed, 6 deletions(-)
 mode change 100755 => 100644 defaultenv/defaultenv-2-base/boot/devel

diff --git a/Documentation/user/devboot.rst b/Documentation/user/devboot.rst
index 4425f0ebe91a..550ab9120576 100644
--- a/Documentation/user/devboot.rst
+++ b/Documentation/user/devboot.rst
@@ -140,9 +140,6 @@ Usage
   # Boot from the default boot entry
   devboot
 
-  # Make devboot the default for subsequent boots
-  nv.boot.default=devel
-
 Configuration script
 ^^^^^^^^^^^^^^^^^^^^
 
diff --git a/defaultenv/defaultenv-2-base/boot/devel b/defaultenv/defaultenv-2-base/boot/devel
old mode 100755
new mode 100644
index 9bcaaffb5870..e69de29bb2d1
--- a/defaultenv/defaultenv-2-base/boot/devel
+++ b/defaultenv/defaultenv-2-base/boot/devel
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-devboot
-- 
2.47.3




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

* Re: [PATCH] fixup! defaultenv: base: add new devboot script
  2026-03-18 15:53 [PATCH] fixup! defaultenv: base: add new devboot script Ahmad Fatoum
@ 2026-03-19  6:49 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-03-19  6:49 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Wed, 18 Mar 2026 16:53:41 +0100, Ahmad Fatoum wrote:
> defaultenv: base: devel: drop incomplete boot target
> 
> If boot.default is set to devel, what's the boot.default the boot
> command uses...?
> 
> This boot target doesn't make sense and the alternative is for users to
> write their own boot script, so drop the target and references to it.
> 
> [...]

Applied, thanks!

[1/1] fixup! defaultenv: base: add new devboot script
      https://git.pengutronix.de/cgit/barebox/commit/?id=f28cc2fbca0c (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-03-19  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-18 15:53 [PATCH] fixup! defaultenv: base: add new devboot script Ahmad Fatoum
2026-03-19  6:49 ` Sascha Hauer

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