[oe] [RFC] src_distribute class change

Marcin Juszkiewicz openembedded at haerwu.biz
Thu Oct 25 17:11:26 UTC 2007


In Poky we have rewritten version of src_distribute.bbclass which I would 
like to merge into OpenEmbedded. The problem is that it works in a bit 
other way then OE version (on which Poky version is based).

OE version use conf/licenses.conf file to get list of LICENSE values which 
user running build wants to distribute. This method works but many 
recipes has own values of LICENSE field so editing of file is not so 
comfortable.

Version available in Poky solves it in other way. Each source is 
copied/moved/symlinked to SRC_DISTRIBUTE_DIR/LICENSE_VALUE where 
LICENSE_VALUE is name (or part of it if there are spaces in it) of 
license. This way user can select which sources he wants to distribute by 
just copying directories - no need to manually enter values into 
licenses.conf file (which is now deprecated and not used).

As I do not know how many people use this class I prefer to write about 
changes and wait for comments. If there will be no comments until Monday 
29 October 2007 I will merge it like it is.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

Vi has two modes: the one in which it beeps, and the one in which it 
doesn't.






More information about the Openembedded-devel mailing list