<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/license.bbclass, branch bernard</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=bernard</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=bernard'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-02-26T22:15:50+00:00</updated>
<entry>
<title>Fixing type: license.bbclass</title>
<updated>2011-02-26T22:15:50+00:00</updated>
<author>
<name>Beth Flanagan</name>
<email>elizabeth.flanagan@intel.com</email>
</author>
<published>2011-02-26T22:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=136ba6a3c41b65949956bbc17dfeab64b63a3fb5'/>
<id>urn:sha1:136ba6a3c41b65949956bbc17dfeab64b63a3fb5</id>
<content type='text'>
Munged a tab. Fixing

Signed-off-by: Beth Flanagan &lt;elizabeth.flanagan@intel.com&gt;
</content>
</entry>
<entry>
<title>Fixing my bad license parsing: license.bbclass</title>
<updated>2011-02-26T22:04:41+00:00</updated>
<author>
<name>Beth Flanagan</name>
<email>elizabeth.flanagan@intel.com</email>
</author>
<published>2011-02-26T22:04:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d041ab31a106e914d511a98b682e9df41ffc51e2'/>
<id>urn:sha1:d041ab31a106e914d511a98b682e9df41ffc51e2</id>
<content type='text'>
Fix to my bad license parsing. Also added the MIT generic license
files.

Signed-off-by: Beth Flanagan &lt;elizabeth.flanagan@intel.com&gt;
</content>
</entry>
<entry>
<title>[BUG:650] Fix LICENSE parsing: license.bblcass</title>
<updated>2011-02-26T00:39:08+00:00</updated>
<author>
<name>Beth Flanagan</name>
<email>elizabeth.flanagan@intel.com</email>
</author>
<published>2011-02-25T23:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3c0522e9447c90b314f81e938a3bc4c1316b746e'/>
<id>urn:sha1:3c0522e9447c90b314f81e938a3bc4c1316b746e</id>
<content type='text'>
LICENSE parsing was missing some cases. Fixed

Signed-off-by: Beth Flanagan &lt;elizabeth.flanagan@intel.com&gt;
</content>
</entry>
<entry>
<title>license.bbclass: Add coverage by sstate code (also use cleandirs and dirs task attribures for directory handling)</title>
<updated>2011-02-03T12:33:18+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-03T12:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9b2fd4b0fe103f1a626e079ade20bbc19d21ebf3'/>
<id>urn:sha1:9b2fd4b0fe103f1a626e079ade20bbc19d21ebf3</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>license.bbclass: don't mark it as 'nostamp'</title>
<updated>2011-01-31T16:21:48+00:00</updated>
<author>
<name>Kevin Tian</name>
<email>kevin.tian@intel.com</email>
</author>
<published>2011-01-31T06:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=eb879e2ef815a7931fa76db6b12681eff57d9d02'/>
<id>urn:sha1:eb879e2ef815a7931fa76db6b12681eff57d9d02</id>
<content type='text'>
'nostamp' is normally used for some standalone tasks like clean, checkuri, etc.
It doesn't make sense to mark do_populate_lic as 'nostamp', which is depended
by do_package. No stamp file in the build dependency chain implicates that
do_package needs to be reinvoked and thus further do_package_write* stuff.

This together with another sstate bug fully confused recent master, that people
keep observing unnecessary do_package rebuilt with or without change. Below is
a short explanation for two behaviors we observed:

a) a fresh build, and then bitbake same target w/o any change. User will observe
one unnecessary rebuild and then later rebuild is fine:
    [1st rebuild]
    * do_populate_lic has no stamp, and thus do_package is thought not current
    * do_package_setscene is then invoked with stamp file created
    * then later do_package_write*** also are rebuilt
    [2nd and later rebuild]
    * do_populate_lic has no stamp, and thus do_package is thought not current
    * do_package_setscene has stamp file and thus no need to re-execute setscene
    * thus no further rebuild required

b) a fresh build, and then adjust order of PACKAGE_CLASSES. There's one bug
regarding to PACKAGE_CLASSES and do_package_setscene, that only switch the
order in PACKAGE_CLASSES generates different checksum. In this case user may
observe up to 3 rebuilds when switching package_rpm/package_ipk back and forth.

Signed-off-by: Lianhao Lu &lt;lianhao.lu@intel.com&gt;
Signed-off-by: Kevin Tian &lt;kevin.tian@intel.com&gt;
</content>
</entry>
<entry>
<title>license.bbclass: handle | (or) in the LICENSE field</title>
<updated>2011-01-31T11:11:30+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2011-01-31T11:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=92f1b4976b4352d0dbd43392b59628c85873b063'/>
<id>urn:sha1:92f1b4976b4352d0dbd43392b59628c85873b063</id>
<content type='text'>
The class strips out operators from the LICENSE field and to reduce it to a
list of license, | was missing but is quite frequently used so add it to the
list of replaced characters.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Initial commit of license reporting:</title>
<updated>2011-01-28T16:49:13+00:00</updated>
<author>
<name>Beth Flanagan</name>
<email>elizabeth.flanagan@intel.com</email>
</author>
<published>2011-01-27T19:25:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4bda50f28919d62410feabae530e6f7186812938'/>
<id>urn:sha1:4bda50f28919d62410feabae530e6f7186812938</id>
<content type='text'>
This is an intial commit for the license reporting system. A few notes:
The LICENSE fields needs to be standardized throughout poky. As it
stands, we throw a warning if the license file is not found (either
because it does not exist or because LICENSE_FILE_CHKSUM is munged)
in the generic license directory. This should eventually become an
error.

I've seen a few places where Apache-v2.0 is written differently and
I'm sure this will throw the above warning. This does not put the
license data on the rootfs. Also, I provide both the actual license
text and a link to the best guess of the generic_license. That guessing
is not very robust and I'm loath to get into a bunch of pattern matching
rather than standardize LICENSE.

This adds one new param to poky.conf and one new to license.bbclass:

LICENSE_DIR: the base directory we copy all the license results to (set
in license.bbclass)
COMMON_LICENSE_DIR: this is the directory that holds all the common
generic license files. currently meta/files/common-licenses (set in
poky.conf)

TODO:
- We should verify the common-licenses. I stripped these from my Ubuntu
  10.10 system.
- We should allow the capability of licenses on the rootfs, although the
  resulting image created would be a lot larger.
- More common-licenses. I don't include bzip, zlib, ICS.... I should,
  but that means tracking down a lot of licenses.
- General cleanup of licensing and standardization of names. We should
  standardize on a naming convention. What's in licenses.conf should
  match up with what is in the recipes which should match with what is
  in common-licenses. Outside the scope of this though. See:
  http://bugzilla.pokylinux.org/show_bug.cgi?id=650
</content>
</entry>
</feed>
