[oe-commits] Robert Yang : license.bbclass: set dirs for do_populate_lic_setscene
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 16 17:42:36 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: b3262af11094f93c9588f2e3edc70a5058491e6d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b3262af11094f93c9588f2e3edc70a5058491e6d
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Wed Mar 11 01:35:38 2015 -0700
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 at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/license.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 044b3b0..95e0121 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -438,6 +438,8 @@ do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
ROOTFS_POSTPROCESS_COMMAND_prepend = "write_package_manifest; license_create_manifest; "
+do_populate_lic_setscene[dirs] = "${LICSSTATEDIR}/${PN}"
+do_populate_lic_setscene[cleandirs] = "${LICSSTATEDIR}"
python do_populate_lic_setscene () {
sstate_setscene(d)
}
More information about the Openembedded-commits
mailing list