[yocto] ExpansionError during parsing

Nemicolopterus Crypticus ncrypticus at gmail.com
Tue Sep 9 08:19:28 PDT 2014


Ah I see - that makes sense, thank you.

I found this:
http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#functions

But I'm not sure how to tell whether a given do_<task> function is a shell
function or a python function. Is there a way to find that out?

Also thanks for the hint about S or B - those may indeed be helpful!

On Tue, Sep 9, 2014 at 2:43 AM, Burton, Ross <ross.burton at intel.com> wrote:

> On 9 September 2014 01:22, Nemicolopterus Crypticus
> <ncrypticus at gmail.com> wrote:
> > do_install_prepend(){
> >      bb.build.exec_func('do_change_dir', d)
> > }
> >
> > do_change_dir(){
> >      cd <a directory>
> >  }
>
> do_install is a shell function, so bitbake is parsing your python code as
> shell.
>
> You want to do this:
>
> do_install_prepend() {
>   cd <somewhere>
> }
>
> If you need to do this though, have a look to see if setting S or B is
> sufficient.
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140909/6990a991/attachment.html>


More information about the yocto mailing list