[OE-core] [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Mar 27 13:26:22 UTC 2017
On Mon, 2017-03-27 at 03:34 -0700, Robert Yang wrote:
> Fixed:
> $ bitbake meta-ide-support
> $ . ./tmp/environment-setup-i586-poky-linux
> $ runqemu tmp/deploy/images/qemux86/core-image-sato-
> qemux86.qemuboot.conf
>
> [snip]
> /bin/sh: sudo: command not found
> runqemu - ERROR - Failed to setup tap device. Run runqemu-gen-tapdevs
> to manually create.
> [snip]
>
> The qemu can start, but the IP was wrong, this patch fixes the
> problem.
>
> [YOCTO #11232]
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
> meta/conf/bitbake.conf | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index fa5445b65b..0b1d8d82e0 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -468,6 +468,9 @@ HOSTTOOLS += " \
> # Tools needed to run testimage runtime image testing
> HOSTTOOLS += "ps stty ip ssh scp ping"
>
> +# Tools needed by runqemu in meta-ide-support environment
> +HOSTTOOLS += "sudo"
> +
> # Link to these if present
> HOSTTOOLS_NONFATAL += "ccache ld.bfd ld.gold gcc-ar gpg sftp nc
> socat sudo"
sudo is already in HOSTTOOLS_NONFATAL?
Cheers,
Richard
More information about the Openembedded-core
mailing list