* [PATCH 0/1] bitbake.conf: add sudo to HOSTTOOLS
@ 2017-03-27 10:34 Robert Yang
2017-03-27 10:34 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2017-03-27 10:34 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 78928016f4cf38cf6751cb089200bf950d07ae93:
classes: Replace "if test" file tests with POSIX file tests (2017-03-27 11:08:28 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/tools
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/tools
Robert Yang (1):
bitbake.conf: add sudo to HOSTTOOLS
meta/conf/bitbake.conf | 3 +++
1 file changed, 3 insertions(+)
--
2.11.0.rc2.dirty
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
2017-03-27 10:34 [PATCH 0/1] bitbake.conf: add sudo to HOSTTOOLS Robert Yang
@ 2017-03-27 10:34 ` Robert Yang
2017-03-27 11:34 ` Burton, Ross
2017-03-27 13:26 ` Richard Purdie
0 siblings, 2 replies; 6+ messages in thread
From: Robert Yang @ 2017-03-27 10:34 UTC (permalink / raw)
To: openembedded-core
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"
--
2.11.0.rc2.dirty
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
2017-03-27 10:34 ` [PATCH 1/1] " Robert Yang
@ 2017-03-27 11:34 ` Burton, Ross
2017-03-27 13:26 ` Richard Purdie
1 sibling, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2017-03-27 11:34 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
On 27 March 2017 at 11:34, Robert Yang <liezhi.yang@windriver.com> wrote:
> [snip]
> /bin/sh: sudo: command not found
> runqemu - ERROR - Failed to setup tap device. Run runqemu-gen-tapdevs to
> manually create.
> [snip]
>
This only happens if the tapdevs haven't already been generated, in which
case sudo isn't required. Should it be a NONFATAL tool?
Ross
[-- Attachment #2: Type: text/html, Size: 798 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
2017-03-27 10:34 ` [PATCH 1/1] " Robert Yang
2017-03-27 11:34 ` Burton, Ross
@ 2017-03-27 13:26 ` Richard Purdie
2017-03-27 13:28 ` Burton, Ross
2017-03-28 1:32 ` Robert Yang
1 sibling, 2 replies; 6+ messages in thread
From: Richard Purdie @ 2017-03-27 13:26 UTC (permalink / raw)
To: Robert Yang, openembedded-core
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
2017-03-27 13:26 ` Richard Purdie
@ 2017-03-27 13:28 ` Burton, Ross
2017-03-28 1:32 ` Robert Yang
1 sibling, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2017-03-27 13:28 UTC (permalink / raw)
To: Richard Purdie; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
On 27 March 2017 at 14:26, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:
> sudo is already in HOSTTOOLS_NONFATAL?
>
Good point well made.
Ross
[-- Attachment #2: Type: text/html, Size: 588 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] bitbake.conf: add sudo to HOSTTOOLS
2017-03-27 13:26 ` Richard Purdie
2017-03-27 13:28 ` Burton, Ross
@ 2017-03-28 1:32 ` Robert Yang
1 sibling, 0 replies; 6+ messages in thread
From: Robert Yang @ 2017-03-28 1:32 UTC (permalink / raw)
To: Richard Purdie, openembedded-core
On 03/27/2017 09:26 PM, Richard Purdie wrote:
> 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?
Sorry, it isn't there when I added it last week, please drop my patch.
// Robert
>
> Cheers,
>
> Richard
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-03-28 1:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-03-27 13:28 ` Burton, Ross
2017-03-28 1:32 ` Robert Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.