diff options
| author | liangcao <liangcao@unomaha.edu> | 2013-08-23 14:40:35 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 13:19:41 +0100 |
| commit | a0904066865c9792033d6c87c270966113b6ae66 (patch) | |
| tree | 79f27c3335d8f434bdfc7b3bba139dfae03a19fa /meta/conf | |
| parent | daedc2fda2383f8ef678170d6337cc70d1444e25 (diff) | |
| download | poky-a0904066865c9792033d6c87c270966113b6ae66.tar.gz | |
SPDX:real-time license scanning and SPDX output.
SPDX integrates real-time license scanning, generates
SPDX standard output and license verification
information during the OE-Core build process. The
existing module includes scanning patched packages
and creating package and file level SPDX documents.
(From OE-Core rev: 7a37cc81fb95d56b5ac5e5ca22a1900e45717911)
Signed-off-by: liangcao <liangcao@unomaha.edu>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
| -rw-r--r-- | meta/conf/licenses.conf | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf index 922b84c924..b41d0a89a9 100644 --- a/meta/conf/licenses.conf +++ b/meta/conf/licenses.conf | |||
| @@ -113,6 +113,55 @@ SPDXLICENSEMAP[SGIv1] = "SGI-1" | |||
| 113 | # Set if you want the license.manifest copied to the image | 113 | # Set if you want the license.manifest copied to the image |
| 114 | #COPY_LIC_MANIFEST = "1" | 114 | #COPY_LIC_MANIFEST = "1" |
| 115 | 115 | ||
| 116 | # If you want the pkg licenses copied over as well you must set | 116 | # If you want the pkg licenses copied over as well you must set |
| 117 | # both COPY_LIC_MANIFEST and COPY_LIC_DIRS | 117 | # both COPY_LIC_MANIFEST and COPY_LIC_DIRS |
| 118 | #COPY_LIC_DIRS = "1" | 118 | #COPY_LIC_DIRS = "1" |
| 119 | |||
| 120 | ## SPDX temporary directory | ||
| 121 | SPDX_TEMP_DIR = "${WORKDIR}/spdx_temp" | ||
| 122 | SPDX_MANIFEST_DIR = "/home/yocto/fossology_scans" | ||
| 123 | |||
| 124 | ## SPDX Format info | ||
| 125 | SPDX_VERSION = "SPDX-1.1" | ||
| 126 | DATA_LICENSE = "CC0-1.0" | ||
| 127 | |||
| 128 | ## Fossology scan information | ||
| 129 | # You can set option to control if the copyright information will be skipped | ||
| 130 | # during the identification process. | ||
| 131 | # | ||
| 132 | # It is defined as [FOSS_COPYRIGHT] in ./meta/conf/licenses.conf. | ||
| 133 | # FOSS_COPYRIGHT = "true" | ||
| 134 | # NO copyright will be processed. That means only license information will be | ||
| 135 | # identified and output to SPDX file | ||
| 136 | # FOSS_COPYRIGHT = "false" | ||
| 137 | # Copyright will be identified and output to SPDX file along with license | ||
| 138 | # information. The process will take more time than not processing copyright | ||
| 139 | # information. | ||
| 140 | # | ||
| 141 | |||
| 142 | FOSS_COPYRIGHT = "true" | ||
| 143 | |||
| 144 | # A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is | ||
| 145 | # used to control if FOSSology server need recursively unpack tar.gz file which | ||
| 146 | # is sent from do_spdx task. | ||
| 147 | # | ||
| 148 | # FOSS_RECURSIVE_UNPACK = "false": | ||
| 149 | # FOSSology server does NOT recursively unpack. In the current release, this | ||
| 150 | # is the default choice because recursively unpack will not necessarily break | ||
| 151 | # down original compressed files. | ||
| 152 | # FOSS_RECURSIVE_UNPACK = "true": | ||
| 153 | # FOSSology server recursively unpack components. | ||
| 154 | # | ||
| 155 | |||
| 156 | FOSS_RECURSIVE_UNPACK = "false" | ||
| 157 | |||
| 158 | # FOSSologySPDX instance server. | ||
| 159 | # For more information on FOSSologySPDX commandline: | ||
| 160 | # https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API | ||
| 161 | # | ||
| 162 | |||
| 163 | FOSS_SERVER = "http://localhost//?mod=spdx_license_once&noCopyright=${FOSS_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}" | ||
| 164 | |||
| 165 | FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0" | ||
| 166 | |||
| 167 | |||
