[OE-core] [PATCH] package.bbclass: Clean up writing of runtime pkgdata files

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed Jun 5 14:30:58 UTC 2019


> -----Original Message-----
> From: Richard Purdie <richard.purdie at linuxfoundation.org>
> Sent: den 5 juni 2019 16:07
> To: Peter Kjellerstedt <peter.kjellerstedt at axis.com>; openembedded-
> core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] package.bbclass: Clean up writing of
> runtime pkgdata files
> 
> On Wed, 2019-06-05 at 16:01 +0200, Peter Kjellerstedt wrote:
> > This introduces a variable, PKGDATA_VARS, that contains the names of
> > the variables that are to be output in the runtime pkgdata files.
> 
> Its a good cleanup, I just know how people are going to use this
> variable to write out all kind of other data into pkgdata :(

This was of course triggered by Rob Walton's recent attempt at adding 
HOMEPAGE and my own earlier attempt at adding SRC_URI. But is it a 
problem (for OE-Core) that this possibility exists? As long as you do 
not accept the addition of those variables into OE-Core, then nothing 
has changed for you (except that the code is now a bit more tidy).

However, for us it means I can get rid of the horrible hack we have 
that adds SRC_URI to the pkgdata files, and instead replace it with a 
simple variable addition in our distro configuration.

> Cheers,
> 
> Richard

//Peter



More information about the Openembedded-core mailing list