On 9 September 2014 01:22, Nemicolopterus Crypticus
<ncrypti...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to