[bitbake-devel] [PATCH 0/5] Refactoring + improve bitbake-diffsigs

Richard Purdie richard.purdie at linuxfoundation.org
Fri Sep 7 11:09:25 UTC 2012


On Mon, 2012-08-27 at 21:44 +0100, Paul Eggleton wrote:
> Refactor out a class which can be used as the basis for bitbake-based
> utilities, and use it to improve bitbake-diffsigs to enable easily
> specifying a recipe and task and determine what the difference was in
> the signature data between the last two executions.
> 
> This change requires some support code within the metadata (since
> BitBake itself knows nothing about the implementation of shared state);
> a patch to implement this in OE-Core has been sent to the OE-Core
> mailing list.
> 
> Note that this is similar in spirit but does not directly overlap with
> Robert's bitbake-whatchanged script - that allows you to determine what
> will be done before it happens, whereas this tool is useful for
> determining why a rebuild occurred afterwards.
> 
> 
> The following changes (against poky, but apply cleanly with -p2 against 
> bitbake master) are available in the git repository at:
> 
>   git://git.yoctoproject.org/poky-contrib paule/bbdiffsigs
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/bbdiffsigs
> 
> Paul Eggleton (5):
>   tinfoil: create simple interface for bitbake-based utilities
>   lib/bb/siggen: replace tabs with spaces
>   lib/bb/siggen.py: insert a colon between class and recipe name
>   lib/bb/siggen.py: make signature dump/compare functions return a list
>   bitbake-diffsigs: allow specifying task & follow deps recursively

Merged to master, thanks.

Nice to have this working better :)

Cheers,

Richard





More information about the bitbake-devel mailing list