From b09c45f017da71ff966004752f8e926ea00ac451 Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Mon, 13 Aug 2012 13:20:38 -0700 Subject: runqemu: support booting ramfs-based images Added support for booting ramfs-based images (e.g, poky-tiny) which do not have block device support. This fixes [YOCTO #2612]. Signed-off-by: Scott Garman Signed-off-by: Saul Wold --- scripts/runqemu-internal | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/runqemu-internal') diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index eeadb24ebe..0d4f4a1d08 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -453,6 +453,11 @@ if [ "$MACHINE" = "akita" ]; then fi fi +if [ "x$RAMFS" = "xtrue" ]; then + QEMUOPTIONS="-initrd $ROOTFS -nographic" + KERNCMDLINE="root=/dev/ram0" +fi + if [ "x$QEMUOPTIONS" = "x" ]; then echo "Error: Unable to support this combination of options" cleanup -- cgit v1.2.3