diff options
author | Liming Wang <liming.wang@windriver.com> | 2011-08-25 22:45:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-29 13:48:03 +0100 |
commit | 8a8a3b3905b81f09e42ba02fc3c3b3f189a0f484 (patch) | |
tree | 3f8e0d6ab144648f526f33ba08003c065914eb6b /scripts/runqemu | |
parent | 5633ac73b3b8e8618d443525f001649e47915a5f (diff) | |
download | poky-8a8a3b3905b81f09e42ba02fc3c3b3f189a0f484.tar.gz |
scripts/runqemu: disable unfs boot mode for qemuppc
Because unfs boot mode is unstable for qemuppc, disable
it temporarily.
(From OE-Core rev: 74ff1bc8c248824116ba4b787b10fa6ee0c13ce1)
Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 91c3c9e93c..113088e548 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -354,6 +354,12 @@ if [ -z "$FSTYPE" ]; then | |||
354 | usage | 354 | usage |
355 | fi | 355 | fi |
356 | fi | 356 | fi |
357 | |||
358 | if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then | ||
359 | echo "Error: usermode NFS boot is not available for qemuppc." | ||
360 | exit 1 | ||
361 | fi | ||
362 | |||
357 | # FSTYPE is now set for all cases | 363 | # FSTYPE is now set for all cases |
358 | 364 | ||
359 | # Handle cases where a ROOTFS type is given instead of a filename, e.g. | 365 | # Handle cases where a ROOTFS type is given instead of a filename, e.g. |