From: akuster808 <akuster808@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [dizzy][PATCH] license.bbclass: set dirs for do_populate_lic_setscene
Date: Thu, 04 Jun 2015 10:54:27 -0700 [thread overview]
Message-ID: <557090D3.4030003@gmail.com> (raw)
In-Reply-To: <1433417861-18786-1-git-send-email-Martin.Jansa@gmail.com>
merged to staging.
- armin
On 06/04/2015 04:37 AM, Martin Jansa wrote:
> From: Robert Yang <liezhi.yang@windriver.com>
>
> 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>
> ---
> meta/classes/license.bbclass | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
> index 14d3107..d03b9eb 100644
> --- a/meta/classes/license.bbclass
> +++ b/meta/classes/license.bbclass
> @@ -389,6 +389,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)
> }
>
prev parent reply other threads:[~2015-06-04 17:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 11:37 [dizzy][PATCH] license.bbclass: set dirs for do_populate_lic_setscene Martin Jansa
2015-06-04 17:54 ` akuster808 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=557090D3.4030003@gmail.com \
--to=akuster808@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox