]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/runqemu: disable unfs boot mode for qemuppc
authorLiming Wang <liming.wang@windriver.com>
Thu, 25 Aug 2011 14:45:29 +0000 (22:45 +0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 26 Aug 2011 19:34:02 +0000 (12:34 -0700)
Because unfs boot mode is unstable for qemuppc, disable
it temporarily.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
scripts/runqemu

index 91c3c9e93cc4c8e6225013d987fcff683f5fc632..113088e54849d2abced78e8024942f968d700550 100755 (executable)
@@ -354,6 +354,12 @@ if [ -z "$FSTYPE" ]; then
         usage
     fi
 fi
+
+if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then
+    echo "Error: usermode NFS boot is not available for qemuppc."
+    exit 1
+fi
+
 # FSTYPE is now set for all cases
 
 # Handle cases where a ROOTFS type is given instead of a filename, e.g.