[PATCH] commands: bootm: add proper support for boot script calling bootm

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 23 03:26:48 PST 2026


On Mon, Feb 16, 2026 at 09:54:35AM +0100, Ahmad Fatoum wrote:
> Hello Sascha,
> 
> On 1/30/26 14:37, Sascha Hauer wrote:
> > 
> > On Mon, 26 Jan 2026 11:55:41 +0100, Ahmad Fatoum wrote:
> >> If a boot script calls bootm and it returns whether due to error or dry
> >> run, bootscript_boot() will just call bootm again leading to confusing
> >> output.
> >>
> >> Let's detect whether bootm was called and skip calling it again in that
> >> case. This will allow boot scripts to do cleanup in future.
> >>
> >> [...]
> > 
> > Applied, thanks!
> 
> THis commit was previously applied, but after a rebase on the current master,
> it's no longer in next. Is this intentional?

No, applied again.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list