[bitbake-devel] Implement function to be executed before ending each bitbake session

Burton, Ross ross.burton at intel.com
Thu Jul 19 22:24:29 UTC 2018


Wasn't this discussed on IRC last week?

Yes, the BuildComplete event.
https://github.com/rossburton/meta-ross/blob/master/classes/timer.bbclass
is a small example.

Ross

On 17 July 2018 at 14:56, Sherif Mousa <sherif.e.mousa at gmail.com> wrote:
> Hi,
>
> Is it possible to setup a function to be executed at the end of each
> bitbake-session execution, just before calling sys.exit(ret) , but without
> patching the original bitbake script "poky/bitbake/bin/bitbake" ?
> Is there a way to do this from a recipe (event handler, ....) ?
>
> Regards,
> Sherif
>
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>



More information about the bitbake-devel mailing list