]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: set dirs for do_populate_lic_setscene
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 4 Jun 2015 11:37:41 +0000 (13:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2015 19:53:06 +0000 (20:53 +0100)
commit29872741d1d118e32cc04469535fed1b892b92e6
tree39e7b149849d6972e4a5fb5a4ae576ae3eba45a3
parentbf7bbcf1f28f83b08b9067b13352af477bf48b37
license.bbclass: set dirs for do_populate_lic_setscene

Fixed:
ERROR: Build of do_populate_lic failed
ERROR: Traceback (most recent call last):
  File "bitbake/lib/bb/build.py", line 497, in exec_task
    return _exec_task(fn, task, d, quieterr)
  File "bitbake/lib/bb/build.py", line 437, in _exec_task
    exec_func(func, localdata)
  File "bitbake/lib/bb/build.py", line 212, in exec_func
    exec_func_python(func, d, runfile, cwd=adir)
  File "/home/nxadm/nx/ala-blade44.1/builds-2015-03-09-163005/qemuppc_world_oe_bp/bitbake/lib/bb/build.py", line 237, in exec_func_python
    os.chdir(cwd)
OSError: [Errno 2] No such file or directory: 'bitbake_build/tmp/work/ppc7400-wrs-linux/taglib/1.9.1-r0/build'

When running setscene, the cwd is $B which maybe removed by
autotools.bbclass or cmake.bbclass when rebuild.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@smtp.gmail.com>
meta/classes/license.bbclass