summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu2
-rwxr-xr-xscripts/runqemu-internal2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 4bb3bb61ec..083090165b 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -454,7 +454,7 @@ if [ -e "$ROOTFS" -a -z "$FSTYPE" ]; then
454 fi 454 fi
455fi 455fi
456 456
457if [ -z "$KERNEL" -a "x$FSTYPE" != "xvmdk" -a "x$FSTYPE" != "xhddimg" -a "x$FSTYPE" != "xhdddirect" ]; then 457if [ -z "$KERNEL" -a "x$FSTYPE" != "xvmdk" -a "x$FSTYPE" != "xhddimg" -a "x$FSTYPE" != "xhdddirect" -a "x$FSTYPE" != "xwic" ]; then
458 setup_path_vars 1 458 setup_path_vars 1
459 eval kernel_file=\$${machine2}_DEFAULT_KERNEL 459 eval kernel_file=\$${machine2}_DEFAULT_KERNEL
460 KERNEL=$DEPLOY_DIR_IMAGE/$kernel_file 460 KERNEL=$DEPLOY_DIR_IMAGE/$kernel_file
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 2926024e3f..ad854d108d 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -301,7 +301,7 @@ case "$MACHINE" in
301 ;; 301 ;;
302esac 302esac
303 303
304if [ ! -f "$KERNEL" -a "x$FSTYPE" != "xvmdk" -a "x$FSTYPE" != "xhddimg" -a "x$FSTYPE" != "xhdddirect" ]; then 304if [ ! -f "$KERNEL" -a "x$FSTYPE" != "xvmdk" -a "x$FSTYPE" != "xhddimg" -a "x$FSTYPE" != "xhdddirect" -a "x$FSTYPE" != "xwic" ]; then
305 echo "Error: Kernel image file $KERNEL doesn't exist" 305 echo "Error: Kernel image file $KERNEL doesn't exist"
306 cleanup 306 cleanup
307 return 1 307 return 1