summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-21 07:57:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-21 22:05:37 +0000
commit68f4dcae68f0f99625f9de019eadc4e22d88777e (patch)
treed22aa486db845ab04cd5c169c65267593f58e37d /scripts/runqemu-internal
parent7dcf6c9d4545ee568b9ca769927f399790618740 (diff)
downloadpoky-68f4dcae68f0f99625f9de019eadc4e22d88777e.tar.gz
runqemu: Specify rootfstype to qemu to avoid QA warnings
With the change to ext4 filesystems for qemu, we get boot warnings from where it tried to mount the ext4 fileystem as ext2 and ext3 first. Avoid these by specifying the rootfs type directly on the kernel commandline for ext* images. (From OE-Core rev: ad9f54a5014f2d997165d0cfd6ad7c05e62f315b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index a0a1e96eb4..6594dc33ec 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -546,6 +546,10 @@ if [ "$MACHINE" = "qemush4" ]; then
546 fi 546 fi
547fi 547fi
548 548
549if [ "${FSTYPE:0:3}" = "ext" ]; then
550 KERNCMDLINE="$KERNCMDLINE rootfstype=$FSTYPE"
551fi
552
549if [ "$MACHINE" = "akita" ]; then 553if [ "$MACHINE" = "akita" ]; then
550 QEMU=qemu-system-arm 554 QEMU=qemu-system-arm
551 if [ "$FSTYPE" = "jffs2" ]; then 555 if [ "$FSTYPE" = "jffs2" ]; then