[oe-commits] Tobias Olausson : spdx.bbclass: improved stability, fixed SPDX compliance issues. Changes are reflected in licenses.conf.

git at git.openembedded.org git at git.openembedded.org
Fri Oct 24 16:37:05 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 5d3a4f4f57e4d8581fd88a14324f94e93104a690
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5d3a4f4f57e4d8581fd88a14324f94e93104a690

Author: Tobias Olausson <tobias.olausson at pelagicore.com>
Date:   Mon Oct 20 16:09:15 2014 +0200

spdx.bbclass: improved stability, fixed SPDX compliance issues. Changes are reflected in licenses.conf.

The previous version could crash on dead links in the rootfs, or if the manifest directory did not
exist. The generated files were also not compliant with the SPDX specification, for example file
entries did not always start with the FileName tag, time stamps were incorrectly formatted etc.

Stability issues are addressed by added checks, originally written by Johan Thelin
<johan.thelin at pelagicore.com>, who never upstreamed them. I've also added an option for getting full
SPDX output from FOSSology, i.e. not only for all files, but for the package as well, including
license references. License refs are required in order to process the output by SPDXTools. For that
reason, this option defaults to true.

Signed-off-by: Tobias Olausson <tobias.olausson at pelagicore.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/classes/spdx.bbclass | 154 +++++++++++++++++++++++++++++++---------------
 meta/conf/licenses.conf   |  24 +++++++-
 2 files changed, 126 insertions(+), 52 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=5d3a4f4f57e4d8581fd88a14324f94e93104a690


More information about the Openembedded-commits mailing list