aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2018-11-07 11:55:59 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2018-11-07 11:55:59 +0900
commit2c0b8d8170108ffe8c5e5fa753fcfd0a25e8654d (patch)
tree94ee15a1fac5411ecc43433fb875bf3bdc0e8a8c
parentb4a7cc8c8ebfbf7c5d82db6196d0ada4c1fedde2 (diff)
parent3a8b6840dc517917ccef04f3c230ef1dca72e194 (diff)
downloadmeta-spdxscanner-2c0b8d8170108ffe8c5e5fa753fcfd0a25e8654d.tar.gz
meta-spdxscanner-2c0b8d8170108ffe8c5e5fa753fcfd0a25e8654d.tar.bz2
meta-spdxscanner-2c0b8d8170108ffe8c5e5fa753fcfd0a25e8654d.zip
Merge branch 'master' of https://github.com/dl9pf/meta-spdxscanner
-rw-r--r--README.md36
1 files changed, 32 insertions, 4 deletions
diff --git a/README.md b/README.md
index 618c6f4..abf770d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
# meta-spdxscanner
-SPDX scanner(DoSOCSv2) support
+1. fossdriver support (recommend)
+2. SPDX scanner(DoSOCSv2) support
# This layer depends on:
@@ -9,13 +10,40 @@ SPDX scanner(DoSOCSv2) support
# How to use
+1. fossdriver-host.class
- inherit the folowing class in your conf/local.conf for all of recipes or
in some recipes which you want.
```
- inherit dosocs
+ INHERIT += "fossdriver-host"
+ SPDX_DEPLOY_DIR = "${SPDX_DEST_DIR}"
+```
+Note
+ If you want to use fossdriver-host.bbclass, you have to make sure that fossdriver has been installed on your host and it works wekk.
+ Please reference to https://github.com/fossology/fossdriver.
+
+2. dosocs-host.bbclass
+- inherit the folowing class in your conf/local.conf for all of recipes or
+ in some recipes which you want.
+
+```
+ INHERIT += "dosocs-host"
+ SPDX_DEPLOY_DIR = "${SPDX_DEST_DIR}"
```
-- Redefine SPDX_DEPLOY_DIR in conf/local.conf:
- SPDX_DEPLOY_DIR = "$PATH_DEST/$SPDX_DESTDIR"
+Note
+ - If you want to use dosocs-host.bbclass, you have to make sure that DoSOCSv2 has been installed on your host and it works wekk.
+ Please reference to https://github.com/DoSOCSv2/DoSOCSv2.
+ - To make DoSOCSv2 support multi task, Add PostgreSQL configuration for DoSOCSv2.
+
+3. dosocs.bbclass
+- inherit the folowing class in your conf/local.conf for all of recipes or
+ in some recipes which you want.
+
+```
+ INHERIT += "dosocs"
+ SPDX_DEPLOY_DIR = "${SPDX_DEST_DIR}"
+```
+Note
+ - Default, DoSOCSv2 uses SQLite for database, so dosocs.bbclass doesn't support multi task of do_spdx.