[yocto] [PATCH 1/1] scripts/runqemu: disable unfs boot mode for qemuppc

Bruce Ashfield bruce.ashfield at windriver.com
Thu Aug 25 06:52:08 PDT 2011


On 11-08-25 04:44 AM, Liming Wang wrote:
> 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 ed8c05b..10da6c9 100755
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -351,6 +351,12 @@ if [ -z "$FSTYPE" ]; then
>           usage
>       fi
>   fi
> +
> +if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then
> +    echo "Error: NFS boot mode is unstable for qemuppc, please don't use it now"

We can drop the last part.

"Error: usermode NFS boot is not available for qemuppc."

... or something similar is sufficient.

On the v2, make sure to cc' Saul just to be sure that this
doesn't miss any filters.

Cheers,

Bruce

> +    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 yocto mailing list