diff options
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 89a1e1ba27..6fa93c9d07 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -593,12 +593,12 @@ if [ "$MACHINE" = "qemuzynq" ]; then | |||
593 | fi | 593 | fi |
594 | fi | 594 | fi |
595 | 595 | ||
596 | if [ "x$RAMFS" = "xtrue" ]; then | 596 | if [ "$FSTYPE" = "cpio.gz" ]; then |
597 | QEMUOPTIONS="-initrd $ROOTFS -nographic" | 597 | QEMUOPTIONS="-initrd $ROOTFS -nographic" |
598 | KERNCMDLINE="root=/dev/ram0 console=ttyS0 debugshell" | 598 | KERNCMDLINE="root=/dev/ram0 console=ttyS0 debugshell" |
599 | fi | 599 | fi |
600 | 600 | ||
601 | if [ "x$ISOFS" = "xtrue" ]; then | 601 | if [ "$FSTYPE" = "iso" ]; then |
602 | QEMUOPTIONS="$QEMU_NETWORK_CMD -cdrom $ROOTFS $QEMU_UI_OPTIONS" | 602 | QEMUOPTIONS="$QEMU_NETWORK_CMD -cdrom $ROOTFS $QEMU_UI_OPTIONS" |
603 | fi | 603 | fi |
604 | 604 | ||