]> code.ossystems Code Review - openembedded-core.git/commit
archiver.bbclass: check if package contains a copyleft license
authorKevin Strasser <kevin.strasser@linux.intel.com>
Wed, 12 Jun 2013 20:27:15 +0000 (13:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jun 2013 15:44:35 +0000 (16:44 +0100)
commit3d0f9ee3d2fcce331d35467d5965ff44b825427f
treef36a89a4c7488da7d3185499d364dd4837ce6f0d
parent3dd21bc6f70a2b157936257c9673dee6ce7f90bd
archiver.bbclass: check if package contains a copyleft license

The copyleft filter is only excluding packages that contain a
closed source license. This is because oe.license.is_included()
returns a boolean value that indicates if the license is excluded,
and a string that contains the matched included licenses. If the
string is empty it indicates that no licenses were matched.

Reject packages that do not contain a copyleft license.

[YOCTO 4630]

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/archiver.bbclass