diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-10-09 09:40:59 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-10-24 06:31:59 -0700 |
commit | 67fd2ee995f313f4e09d07cda5d59ca5dda62646 (patch) | |
tree | 8c1064dd19891852503c628ebb07d52a8537a189 /documentation | |
parent | ca77e7584675089fd91641313582fe21c6cb31fa (diff) | |
download | poky-67fd2ee995f313f4e09d07cda5d59ca5dda62646.tar.gz |
ref-manual: add missing CVE_CHECK manifest variables
Variables that can be used for toggling creation of manifest and
specifying the path to the output in the deploy directory.
(From yocto-docs rev: fb462c47bb15522cc02642fe51f39c8e15044957)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 14131a42a7ea8bbae2165c1b8dbcabd5f28b2b22)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 70d8d8baeb..757cce5fb8 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -135,7 +135,7 @@ system and gives an overview of their function and contents. | |||
135 | appear in :term:`DISTRO_FEATURES` within the current configuration, then | 135 | appear in :term:`DISTRO_FEATURES` within the current configuration, then |
136 | the recipe will be skipped, and if the build system attempts to build | 136 | the recipe will be skipped, and if the build system attempts to build |
137 | the recipe then an error will be triggered. | 137 | the recipe then an error will be triggered. |
138 | 138 | ||
139 | 139 | ||
140 | :term:`APPEND` | 140 | :term:`APPEND` |
141 | An override list of append strings for each target specified with | 141 | An override list of append strings for each target specified with |
@@ -1521,6 +1521,10 @@ system and gives an overview of their function and contents. | |||
1521 | variable only in certain contexts (e.g. when building for kernel | 1521 | variable only in certain contexts (e.g. when building for kernel |
1522 | and kernel module recipes). | 1522 | and kernel module recipes). |
1523 | 1523 | ||
1524 | :term:`CVE_CHECK_CREATE_MANIFEST` | ||
1525 | Specifies whether to create a CVE manifest to place in the deploy | ||
1526 | directory. The default is "1". | ||
1527 | |||
1524 | :term:`CVE_CHECK_IGNORE` | 1528 | :term:`CVE_CHECK_IGNORE` |
1525 | The list of CVE IDs which are ignored. Here is | 1529 | The list of CVE IDs which are ignored. Here is |
1526 | an example from the :oe_layerindex:`Python3 recipe</layerindex/recipe/23823>`:: | 1530 | an example from the :oe_layerindex:`Python3 recipe</layerindex/recipe/23823>`:: |
@@ -1528,6 +1532,10 @@ system and gives an overview of their function and contents. | |||
1528 | # This is windows only issue. | 1532 | # This is windows only issue. |
1529 | CVE_CHECK_IGNORE += "CVE-2020-15523" | 1533 | CVE_CHECK_IGNORE += "CVE-2020-15523" |
1530 | 1534 | ||
1535 | :term:`CVE_CHECK_MANIFEST_JSON` | ||
1536 | Specifies the path to the CVE manifest in JSON format. See | ||
1537 | :term:`CVE_CHECK_CREATE_MANIFEST`. | ||
1538 | |||
1531 | :term:`CVE_CHECK_REPORT_PATCHED` | 1539 | :term:`CVE_CHECK_REPORT_PATCHED` |
1532 | Specifies whether or not the :ref:`ref-classes-cve-check` | 1540 | Specifies whether or not the :ref:`ref-classes-cve-check` |
1533 | class should report patched or ignored CVEs. The default is "1", but you | 1541 | class should report patched or ignored CVEs. The default is "1", but you |
@@ -2489,8 +2497,8 @@ system and gives an overview of their function and contents. | |||
2489 | .. note:: | 2497 | .. note:: |
2490 | 2498 | ||
2491 | From a security perspective, hardcoding a default password is not | 2499 | From a security perspective, hardcoding a default password is not |
2492 | generally a good idea or even legal in some jurisdictions. It is | 2500 | generally a good idea or even legal in some jurisdictions. It is |
2493 | recommended that you do not do this if you are building a production | 2501 | recommended that you do not do this if you are building a production |
2494 | image. | 2502 | image. |
2495 | 2503 | ||
2496 | Additionally there is a special ``passwd-expire`` command that will | 2504 | Additionally there is a special ``passwd-expire`` command that will |
@@ -9554,4 +9562,3 @@ system and gives an overview of their function and contents. | |||
9554 | 9562 | ||
9555 | On systems where many tasks run in parallel, setting a limit to this | 9563 | On systems where many tasks run in parallel, setting a limit to this |
9556 | can be helpful in controlling system resource usage. | 9564 | can be helpful in controlling system resource usage. |
9557 | |||