]> code.ossystems Code Review - openembedded-core.git/commit
oe/copy_buildsystem: check_sstate_task_list also pop BBPATH from env
authorAníbal Limón <anibal.limon@linux.intel.com>
Thu, 29 Jun 2017 21:48:24 +0000 (14:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 07:44:20 +0000 (08:44 +0100)
commit33634b4c38d84e1c5d06056766933f1fe4f47e8d
tree7c2ea551ec5f4ee4da32c39e6367ab535576a677
parent9419c81e69d2facc82e39c846466670c09e6b444
oe/copy_buildsystem: check_sstate_task_list also pop BBPATH from env

The BBPATH environment could be set and can make a failure when try
to build an extensible sdk because it will look the bitbake.lock
file in the original build folder.

Example:

$ export BBPATH=`pwd`
$ bitbake core-image-minimal -c populate_sdk_ext

ERROR: bitbake failed:
ERROR: Only one copy of bitbake should be run against a build directory
ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed:
copy_buildsystem

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
meta/lib/oe/copy_buildsystem.py