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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to