aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2019-08-22 15:08:18 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2019-08-22 15:08:18 +0900
commit195cf47fee448bf6fb05c37fdcabf19229b2f8cf (patch)
tree01d8446e094672b9203a73644cc9369fbade7a27
parent34108a62c4e0870e316cea89692540c643c889cd (diff)
downloadmeta-spdxscanner-195cf47fee448bf6fb05c37fdcabf19229b2f8cf.tar.gz
meta-spdxscanner-195cf47fee448bf6fb05c37fdcabf19229b2f8cf.tar.bz2
meta-spdxscanner-195cf47fee448bf6fb05c37fdcabf19229b2f8cf.zip
Update README.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
-rw-r--r--README.md35
1 files changed, 12 insertions, 23 deletions
diff --git a/README.md b/README.md
index 799bba1..5530e5b 100644
--- a/README.md
+++ b/README.md
@@ -1,52 +1,41 @@
# meta-spdxscanner
meta-spdxscanner supports the following SPDX create tools.
-1. fossdriver (recommend)
-2. DoSOCSv2 (Not recommended)
+1. fossdriver (Can work with fossology 3.5.0)
+2. DoSOCSv2 (Scanner comes from fossology 3.4.0)
# This layer depends on:
+1. fossdriver
+- openembedded-core
+
+2. DoSOCSv2
- openembedded-core
- meta-openembedded/meta-oe
- meta-openembedded/meta-python
# How to use
-1. fossdriver-host.bbclass(recommend)
+1. fossdriver-host.bbclass
- inherit the folowing class in your conf/local.conf for all of recipes or
in some recipes which you want.
```
INHERIT += "fossdriver-host"
- SPDX_DEPLOY_DIR = "${SPDX_DEST_DIR}"
```
Note
- If you want to use fossdriver-host.bbclass, you have to make sure that fossology server and fossdriver has been installed on your host and make sure it works well.
Please reference to https://hub.docker.com/r/fossology/fossology/ and https://github.com/fossology/fossdriver.
- Please use meta-spdxscanner/classes/nopackages.bbclass instead of oe-core. Because there is no necessary to create spdx files for *-native.
-2. dosocs-host.bbclass (Not recommended)
-- 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}"
-```
-
-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 (Not recommended)
+2. 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 tasks of do_spdx.
+Note
+- There is no necessary to install any OSS on host.
+- Please use meta-spdxscanner/classes/nopackages.bbclass instead of oe-core. Because there is no necessary to create spdx files for *-native.
+- Default, DoSOCSv2 uses SQLite for database, so dosocs.bbclass doesn't support multi tasks of do_spdx.