[oe-commits] Liming Wang : scripts/runqemu: disable unfs boot mode for qemuppc

git version control git at git.openembedded.org
Mon Aug 29 12:50:27 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 74ff1bc8c248824116ba4b787b10fa6ee0c13ce1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=74ff1bc8c248824116ba4b787b10fa6ee0c13ce1

Author: Liming Wang <liming.wang at windriver.com>
Date:   Thu Aug 25 22:45:29 2011 +0800

scripts/runqemu: disable unfs boot mode for qemuppc

Because unfs boot mode is unstable for qemuppc, disable
it temporarily.

Signed-off-by: Liming Wang <liming.wang at windriver.com>

---

 scripts/runqemu |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 91c3c9e..113088e 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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.





More information about the Openembedded-commits mailing list