aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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
fi
fi
+if [ "${FSTYPE:0:3}" = "ext" ]; then
+ KERNCMDLINE="$KERNCMDLINE rootfstype=$FSTYPE"
+fi
+
if [ "$MACHINE" = "akita" ]; then
QEMU=qemu-system-arm
if [ "$FSTYPE" = "jffs2" ]; then