From 6f5d6e2e0fa7a2a0e52a22bb6fc407ca37c329d1 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 9 Jan 2013 10:31:57 +0800 Subject: runqemu-internal: add 'debugshell' as a default kernel option Add 'debugshell' as a default kernel option for ramfs booting. If rootfs.img cannot be found under /media, init-live.sh loops forever without showing any information. Silently looping forever and blocking users is inappropriate. Now that the 'debugshell' feature has been implemented in init-live.sh, It's reasonable to add it to the kernel option when booting a ramfs-based image. In this way, the system doesn't loop forever and instead drops to a shell after a default timeout (30 seconds). (From OE-Core rev: 0ffdfabc5ab5f6303aff11f8ea511875f1eaf0f5) Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- scripts/runqemu-internal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index a11220dd50..9d570ed9c6 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -472,7 +472,7 @@ fi if [ "x$RAMFS" = "xtrue" ]; then QEMUOPTIONS="-initrd $ROOTFS -nographic" - KERNCMDLINE="root=/dev/ram0" + KERNCMDLINE="root=/dev/ram0 debugshell" fi if [ "x$QEMUOPTIONS" = "x" ]; then -- cgit v1.2.3-54-g00ecf