diff options
author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2022-10-26 16:12:04 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-28 15:48:03 +0100 |
commit | 8a9ac57515d1299359b5ec4d949f207b9455281b (patch) | |
tree | 3efe019fcd2b4cefb5b570ee5e1d0e63df060dee /documentation | |
parent | 20cf9c46a1ef298c434c57ae23b15fc434a922cb (diff) | |
download | poky-8a9ac57515d1299359b5ec4d949f207b9455281b.tar.gz |
ref-manual: variables.rst: add documentation for CVE_VERSION
Related to cve-check.bbclass.
(From yocto-docs rev: 1218775a9b32ac16556645c5d186007c19a5baf4)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 71e8c272a7..0f9df3ac20 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -1508,6 +1508,18 @@ system and gives an overview of their function and contents. | |||
1508 | 1508 | ||
1509 | CVE_PRODUCT = "vendor:package" | 1509 | CVE_PRODUCT = "vendor:package" |
1510 | 1510 | ||
1511 | :term:`CVE_VERSION` | ||
1512 | In a recipe, defines the version used to match the recipe version | ||
1513 | against the version in the `NIST CVE database <https://nvd.nist.gov/>`__ | ||
1514 | when usign :ref:`cve-check <ref-classes-cve-check>`. | ||
1515 | |||
1516 | The default is ${:term:`PV`} but if recipes use custom version numbers | ||
1517 | which do not map to upstream software component release versions and the versions | ||
1518 | used in the CVE database, then this variable can be used to set the | ||
1519 | version number for :ref:`cve-check <ref-classes-cve-check>`. Example:: | ||
1520 | |||
1521 | CVE_VERSION = "2.39" | ||
1522 | |||
1511 | :term:`CVSDIR` | 1523 | :term:`CVSDIR` |
1512 | The directory in which files checked out under the CVS system are | 1524 | The directory in which files checked out under the CVS system are |
1513 | stored. | 1525 | stored. |