]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake.conf: add sudo to HOSTTOOLS rbt/tools
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 24 Mar 2017 06:11:17 +0000 (06:11 +0000)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 27 Mar 2017 10:31:46 +0000 (10:31 +0000)
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

index fa5445b65bcb8c2664f636011e7da8bee8349cc6..0b1d8d82e0f69a9ac7280c980f8a54ede748d9f1 100644 (file)
@@ -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"