On Mon, Jun 14, 2021 at 10:51:27AM +0200, Ahmad Fatoum wrote: > Hi, > > On 14.06.21 00:26, Marc Reilly wrote: > > 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox