[bitbake-devel] [PATCH] fix bundled base.bbclass file

Andrew Stubbs ams at codesourcery.com
Tue Jan 15 12:52:33 UTC 2013


On 14/01/13 15:19, Andrew Stubbs wrote:
> Hi,
>
> The base.bbclass file that is included with the bitbake sources does not
> appear to work properly. Specifically, none of the output appears on
> screen.
>
> A quick look at the poky equivalent shows that they use a different
> means to print the data. Presumably something got updated somewhere, and
> the example base class is merely out of date.
>
> The attached patch fixes the do_listtasks and do_showdata code such that
> it works as I would expect.
>
> I had expected that the base_do_build function would run if my .bb file
> did not define do_build, but it does not appear to, and it's not obvious
> to me how, when, or why it is supposed to work.

I forgot to add, the env printing still doesn't work, but I don't know 
how best to fix that? The emit_env method takes a file handle, but 
stdout and stderr don't work.

Andrew




More information about the bitbake-devel mailing list