Re: [yocto] ExpansionError during parsing

2014-09-09 Thread Burton, Ross
On 9 September 2014 16:19, Nemicolopterus Crypticus wrote: > 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_ function is a shell > function o

Re: [yocto] ExpansionError during parsing

2014-09-09 Thread Nemicolopterus Crypticus
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_ function is a shell function or a python function. Is there a way to find that out? Also thanks for t

Re: [yocto] ExpansionError during parsing

2014-09-09 Thread Burton, Ross
On 9 September 2014 01:22, Nemicolopterus Crypticus wrote: > do_install_prepend(){ > bb.build.exec_func('do_change_dir', d) > } > > do_change_dir(){ > cd > } do_install is a shell function, so bitbake is parsing your python code as shell. You want to do this: do_install_prepend() {