On 31 August 2018 at 12:24, Alan Martinovic <alan.martino...@senic.com> wrote:
> Thanks Ross
> this is what more or less what I'm doing.
> What I haven't found a way to do from python is making modifications from
> the initialized build directory.
>
> I'd like to do that to change things in conf/local.conf.
> For example generate DISTRO_VERSION from git describe --tags
>
> That is something that needs to happen in between
> . oe-init-build-env  and bitbake foo

subprocess.call(". oe-init-build-env mybuild", shell=True)
# call git-desribe, write to mybuild/conf/auto.conf
subprocess.call(". oe-init-build-env mybuild ; bitbake foo", shell=True)

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to