All, I wanted to make folks aware that we've released a new layer to do automated fossology runs within OE. The old spdx.bbclass is bitrot and we needed something to make some of our license clearance and tracking easier to manage.
http://layers.openembedded.org/layerindex/branch/master/layer/meta-license-tools/ This layer takes patched archives created by the source archiver during the build and, using a utility we wrote called fossup, sends them on to a fossology instance for out of build scanning. The impact on build times is relatively small. If you want to use it, you'll need to install fossup (https://gitlab.com/toganlabs/fossup), set up the fossup rc file to point to your fossology instance (all of this is in the README), and ensure that the bits needed for an archiver build are included in your local.conf Typically this will look like the following: INHERIT += "archiver" ARCHIVER_MODE[src] = "patched" ARCHIVER_MODE[diff] = "0" ARCHIVER_MODE[dumpdata] = "0" ARCHIVER_MODE[recipe] = "1" COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*' COPYLEFT_LICENSE_EXCLUDE = 'CLOSED Proprietary' COPYLEFT_RECIPE_TYPES = 'target' INHERIT += "fossology" Feedback welcome of course. -b ---- Beth 'pidge' Flanagan [email protected] -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
