]> code.ossystems Code Review - openembedded-core.git/commit
spdx.bbclass: improved stability, fixed SPDX compliance issues. Changes are reflected...
authorTobias Olausson <tobias.olausson@pelagicore.com>
Mon, 20 Oct 2014 14:09:15 +0000 (16:09 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 16:31:57 +0000 (17:31 +0100)
commit5d3a4f4f57e4d8581fd88a14324f94e93104a690
tree5a4f32011d57f273eaf4718f5c85563fb0a03748
parente5a40391dfa12c44f31bdb7550df1275edda3864
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@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@pelagicore.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/spdx.bbclass
meta/conf/licenses.conf