]> code.ossystems Code Review - openembedded-core.git/commit
build-appliance-image: add /sbin to PATH
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 20 Oct 2016 16:54:23 +0000 (09:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Oct 2016 16:47:15 +0000 (17:47 +0100)
commit7561514454c20a86e9e126af80dcf114ccd23535
tree5118bf30e528e941860f5cbceb66c3b97ed506f1
parentdeb7d22d00ace3bfa1252e0a5df1961386231bc2
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]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/images/build-appliance-image_15.0.0.bb