Thread (9 messages) 9 messages, 3 authors, 2021-06-15

Re: [PATCH 1/4] common: boot: don't return too early in bootscript dryrun

From: Sascha Hauer <hidden>
Date: 2021-06-15 18:47:42

On Mon, Jun 14, 2021 at 10:51:27AM +0200, Ahmad Fatoum wrote:
Hi,

On 14.06.21 00:26, Marc Reilly wrote:
quoted
A dryrun boot will now run the boot script and a then a
dryrun of the bootm.
This would change behavior for boot scripts that directly boot
instead of setting up variables for bootm to use, but I think
that's acceptable,
That's the reason the dryrun for bootscripts is aborted before executing
them. Both ways are not really optimal, but I don't want to replace one
suboptimal solution with another.
Maybe we could pass an option to the bootscript so that a script has
the chance to test for that option before booting. That would still
change the behaviour for scripts that don't test for that option, but
at least they could be fixed.

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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help