diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2016-10-20 09:54:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-25 17:51:19 +0100 |
commit | 74f30e91bca1f6af3bef0ff9e652c0591013b412 (patch) | |
tree | 7321947768632c37500264a6861cd6a81eac1219 /scripts/lib/devtool/runqemu.py | |
parent | 143f9a3fa8dfd16aa107f03038383f2c578d7d49 (diff) | |
download | poky-74f30e91bca1f6af3bef0ff9e652c0591013b412.tar.gz |
build-appliance-image: add /sbin to PATH
runqemu script fails with an error when executed in Build Appliance.
Typical use case:
$ bitbake core-image-minimal
$ runqemu qemux86
Observed error:
runqemu - ERROR - In order for this script to dynamically infer paths
...snip...
runqemu-ifup, runqemu-ifdown or ip not found
The error is caused by the fact that "ip" is located in /sbin, however /sbin is
not in user's ("builder") PATH. To fix this we add /sbin to PATH.
The simplest place to do this is in user's .bashrc.
[YOCTO#10434]
(From OE-Core rev: 7561514454c20a86e9e126af80dcf114ccd23535)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions