laforge submitted this change.
scripts/kernel-test/run-qemu: set init=/init
Set init= so the kernel doesn't try to run other scripts if /init
fails:
[ 2.946381] Run /init as init process
[ 2.948885] Failed to execute /init (error -2)
[ 2.949051] Run /sbin/init as init process
[ 2.949329] Run /etc/init as init process
[ 2.949566] Run /bin/init as init process
[ 2.949795] Run /bin/sh as init process
Change-Id: I063c7625acaa15130d8361d4e944c3773c9b37c4
---
M scripts/kernel-test/run-qemu.sh
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/scripts/kernel-test/run-qemu.sh b/scripts/kernel-test/run-qemu.sh
index 9951e94..5eb7ead 100755
--- a/scripts/kernel-test/run-qemu.sh
+++ b/scripts/kernel-test/run-qemu.sh
@@ -10,6 +10,7 @@
root=/dev/ram0
console=ttyS0
panic=-1
+ init=/init
$@
"
To view, visit change 33775. To unsubscribe, or for help writing mail filters, visit settings.