[OE-core] [PATCH 2/3] package.bbclass: trigger event when collecting package info

Richard Purdie richard.purdie at linuxfoundation.org
Tue Sep 24 16:44:06 UTC 2013


On Tue, 2013-09-24 at 17:36 +0100, Alex DAMIAN wrote:
> From: Alexandru DAMIAN <alexandru.damian at intel.com>
> 
> Adding an event that contains the package details,
> which is triggered when the emit_pkgdata runs.
> This is used to collect package information in the UI clients.
> 
> Slight rewrite of the file-writing section as to make
> the code easier to maintain.
> 
> Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
> ---
>  meta/classes/package.bbclass | 41 +++++++++++++----------------------------
>  1 file changed, 13 insertions(+), 28 deletions(-)

Simply put, this isn't going in and it isn't right.

If you want to do this, please do this in a different class file which
hooks into the packaging code and generates the event needed, preferably
with one event rather than two.

The class can then be inherited when webhob is enabled (and removed from
influencing the sstate checksums).

Cheers,

Richard




More information about the Openembedded-core mailing list