aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-03-24 06:11:17 +0000
committerRobert Yang <liezhi.yang@windriver.com>2017-03-27 10:31:46 +0000
commit2f711e48736f36ead014a28d077975ab457fae99 (patch)
tree0db4358c0c9cfdf066771e73f0684530d2aa01d5
parent78928016f4cf38cf6751cb089200bf950d07ae93 (diff)
downloadopenembedded-core-contrib-rbt/tools.tar.gz
bitbake.conf: add sudo to HOSTTOOLSrbt/tools
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>
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 3 insertions, 0 deletions
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"