laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/33775 )
Change subject: scripts/kernel-test/run-qemu: set init=/init ......................................................................
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(-)
Approvals: fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified laforge: Looks good to me, approved
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 $@ "