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

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

From: Marc Reilly <hidden>
Date: 2021-06-13 22:30:31
Subsystem: the rest · Maintainer: Linus Torvalds

A dryrun boot will now run the boot script and a then a
dryrun of the bootm.

Signed-off-by: Marc Reilly <redacted>
---
 common/boot.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/common/boot.c b/common/boot.c
index 07b67734d..183e6bb43 100644
--- a/common/boot.c
+++ b/common/boot.c
@@ -77,7 +77,6 @@ static int bootscript_boot(struct bootentry *entry, int verbose, int dryrun)
 
 	if (dryrun) {
 		printf("Would run %s\n", bs->scriptpath);
-		return 0;
 	}
 
 	globalvar_add_simple("linux.bootargs.dyn.ip", NULL);
-- 
2.31.1


_______________________________________________
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