diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-04 13:37:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-20 20:54:31 +0100 |
commit | 7113efd02da8337fabd57fac2d9033905f49100d (patch) | |
tree | 3acb031bc64aecd1372f344f6bc79c09be2ddeda /meta/classes/license.bbclass | |
parent | b46979910304977ee419073b3231c5bb1e6258f6 (diff) | |
download | poky-7113efd02da8337fabd57fac2d9033905f49100d.tar.gz |
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.
(From OE-Core rev: 29872741d1d118e32cc04469535fed1b892b92e6)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 14d3107c4a..d03b9eb805 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -389,6 +389,8 @@ do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/" | |||
389 | 389 | ||
390 | ROOTFS_POSTPROCESS_COMMAND_prepend = "write_package_manifest; license_create_manifest; " | 390 | ROOTFS_POSTPROCESS_COMMAND_prepend = "write_package_manifest; license_create_manifest; " |
391 | 391 | ||
392 | do_populate_lic_setscene[dirs] = "${LICSSTATEDIR}/${PN}" | ||
393 | do_populate_lic_setscene[cleandirs] = "${LICSSTATEDIR}" | ||
392 | python do_populate_lic_setscene () { | 394 | python do_populate_lic_setscene () { |
393 | sstate_setscene(d) | 395 | sstate_setscene(d) |
394 | } | 396 | } |