[bitbake-devel] [PATCH] cooker: Ensure bbappend files are processed in a determistic order
clarson at kergoth.com
Tue Mar 31 15:28:38 UTC 2015
On Mon, Mar 30, 2015 at 5:29 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:
> self.appendlist is a dict and as such unordered. This can lead to cases
> where appends with different names (e.g. x_%.bbappend vs. x_123.bbappend)
> can be reordered in application which in turn reorders the variables
> that those bbappend files might touch. Reorderd variables changes the
> cache signatures causing real world issues.
> To avoid this, use a list for the append files instead.
> This patch is conservative and just adds a new data structure alongside
> the existing one and uses it to resolve the core issue. Later patches
> (post release) can handle some of the wider but less problematic ones
> (e.g. issues in bitbake-layers flatten).
> [YOCTO #7511]
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Nice, looks good for now. Thanks for the quick fix on this. It should help
sstate reuse in some cases.
Acked-by: Christopher Larson <chris_larson at mentor.com>
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bitbake-devel