[OE-core] [PATCH 4/4] bitbake.conf: add sudo to HOSTTOOLS_NONFATAL
Ed Bartosh
ed.bartosh at linux.intel.com
Fri Mar 17 13:18:35 UTC 2017
runqemu is using sudo to configure tap networking. Without sudo
in HOSTTOOLS_NONFATAL it may cause bitbake -c testimage to fail
with this error:
runqemu - INFO - Setting up tap interface under sudo
/bin/sh: sudo: command not found
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
meta/conf/bitbake.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 9fdbdfd..649dcef 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -469,7 +469,7 @@ HOSTTOOLS += " \
HOSTTOOLS += "ps stty ip ssh scp ping vi"
# Link to these if present
-HOSTTOOLS_NONFATAL += "ccache ld.bfd ld.gold gcc-ar gpg sftp nc socat"
+HOSTTOOLS_NONFATAL += "ccache ld.bfd ld.gold gcc-ar gpg sftp nc socat sudo"
CCACHE ??= ""
# Disable ccache explicitly if CCACHE is null since gcc may be a symlink
--
2.1.4
More information about the Openembedded-core
mailing list