bitbake.conf: add sudo to HOSTTOOLS_NONFATAL

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

(From OE-Core rev: 716e0524cfbcac2eb272be1014280833b74bc5c4)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2017-03-17 15:18:35 +02:00 committed by Richard Purdie
parent 0e4ccf1734
commit d60ede3315
1 changed files with 1 additions and 1 deletions

View File

@ -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"
# Temporary add few more detected in bitbake world
HOSTTOOLS_NONFATAL += "join nl size yes zcat"