]> 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)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Jul 2013 09:30:19 +0000 (10:30 +0100)
commitaa02769727203650bfebf38082a2dadcc7e3b443
tree3df3ad98b3db12a41183437b0dc34c64a35c2239
parentaf5120e5ff3a0ad960554ff4ab0e17673c239f9e
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]

(From OE-Core master rev: 3d0f9ee3d2fcce331d35467d5965ff44b825427f)

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