[OE-core] [PATCH] To make yocto-spdx support spdx2.0 SPEC

Lei Maohui leimaohui at cn.fujitsu.com
Mon Jun 27 00:11:41 UTC 2016


There are some problems in spdx module(spdx.bbclass).
1. The newest version of spdxi specification is 2.0. But even spdx 1.1, yocto+SPDX can't support well.
2. It is complex to build a Yocto+SPDX environment.
3. Creating a spdx file spends too much time, especially for large software.

To improve spdx module ,I change the spdx create tool from fossology to dosocs2.
With this patch:
1. Also gets license informations by scanner from fossology.
1. Can support SPDX2.0 SPEC.
2. Because dosocs2 can work on directories, so there is no necessary to pack source code before do_spdx. It can save time for large software.

Lei Maohui (1):
  To Make yocto-spdx support spdx v2.0 specification.

 meta/classes/spdx.bbclass | 488 +++++++++++++++++-----------------------------
 meta/conf/licenses.conf   |  67 +------
 2 files changed, 184 insertions(+), 371 deletions(-)

-- 
1.9.1






More information about the Openembedded-core mailing list