[yocto] ExpansionError during parsing
Burton, Ross
ross.burton at intel.com
Tue Sep 9 02:43:11 PDT 2014
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
More information about the yocto
mailing list