diff options
author | Kevin Strasser <kevin.strasser@linux.intel.com> | 2013-06-12 13:27:15 -0700 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-07-08 10:30:19 +0100 |
commit | aa02769727203650bfebf38082a2dadcc7e3b443 (patch) | |
tree | 3df3ad98b3db12a41183437b0dc34c64a35c2239 /meta/classes/archive-original-source.bbclass | |
parent | af5120e5ff3a0ad960554ff4ab0e17673c239f9e (diff) | |
download | openembedded-core-aa02769727203650bfebf38082a2dadcc7e3b443.tar.gz openembedded-core-aa02769727203650bfebf38082a2dadcc7e3b443.tar.bz2 openembedded-core-aa02769727203650bfebf38082a2dadcc7e3b443.zip |
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>
Diffstat (limited to 'meta/classes/archive-original-source.bbclass')
0 files changed, 0 insertions, 0 deletions