src_distribute class change
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.
Signature · 5 lines
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.
Am 25.10.2007 um 19:11 schrieb Marcin Juszkiewicz:
Quoted 3 lines
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.
After a small question on IRC I'm fine with it. This avoids us maintaining the license.conf as the distributor needs to recheck the result anyway. And this way he will be able to see every license.
z.