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

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Feb 16 00:54:35 PST 2026


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?

Thanks,
Ahmad

> 
> [1/1] commands: bootm: add proper support for boot script calling bootm
>       https://git.pengutronix.de/cgit/barebox/commit/?id=4338ebfd4635 (link may not be stable)
> 
> Best regards,


-- 
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