From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Robert Yang <liezhi.yang@windriver.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
Date: Mon, 27 Mar 2017 14:26:22 +0100 [thread overview]
Message-ID: <1490621182.13980.260.camel@linuxfoundation.org> (raw)
In-Reply-To: <2f711e48736f36ead014a28d077975ab457fae99.1490610854.git.liezhi.yang@windriver.com>
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@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
next prev parent reply other threads:[~2017-03-27 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 10:34 [PATCH 0/1] bitbake.conf: add sudo to HOSTTOOLS Robert Yang
2017-03-27 10:34 ` [PATCH 1/1] " Robert Yang
2017-03-27 11:34 ` Burton, Ross
2017-03-27 13:26 ` Richard Purdie [this message]
2017-03-27 13:28 ` Burton, Ross
2017-03-28 1:32 ` Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490621182.13980.260.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox