[OE-core] [PATCH v3 0/2] These patches aim to make the spdx file be compliant with the SPDX 1.2 Specification.

Lei Maohui leimaohui at cn.fujitsu.com
Mon Jun 8 10:25:37 UTC 2015


Those patches aim to make the spdx file be compliant with the SPDX 1.2 Specification. 
If you want to use this feature,you need to do:
1. Make sure your fossology+spdx server works well.You can get spdx file with the following command.
   curl http://127.0.0.1/repo/ --noproxy 127.0.0.1 -k -F mod=spdx_license_once -F noCopyright=false 
   -F jsonOutput=false -F fullSPDXFlag=true -F file=@xxx.tar.gz -o xxx.spdx
   
2. Add the following INHERIT statement and set the SPDX_MANIFEST_DIR at the end of your conf/local.conf file found in the Build Directory.
   SPDX_MANIFEST_DIR = "/xxx/xxx/xxx"
   INHERIT += "spdx"

Lei Maohui (2):
  licenses.conf: Modified parameters for new spdx.bbclass
  spdx.bbclass: Create the spdx file which is compliant with SPDX 1.2
    Specification

 meta/classes/spdx.bbclass | 425 +++++++++++++++++-----------------------------
 meta/conf/licenses.conf   |  77 +++------
 2 files changed, 175 insertions(+), 327 deletions(-)

-- 
1.8.4.2




More information about the Openembedded-core mailing list