diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-10-09 09:41:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 17:04:53 +0100 |
commit | a91f06c3a62eef378df8e48e2ee8f770adbf600f (patch) | |
tree | 1359e0e3cfc00f2e2e9381b3bfe4f1ffed6cae35 /documentation | |
parent | b3a7565465c1c4a70a2cddc8bb62baa78ac70475 (diff) | |
download | poky-a91f06c3a62eef378df8e48e2ee8f770adbf600f.tar.gz |
ref-manual: add new vex class
Add a brief description on the new vex.bbclass that is used to generate
metadata needed by external tools to check for vulnerabilities.
(From yocto-docs rev: 32cf3414f5ed127f59119e38639bc8dbd57b7891)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/classes.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 9520d0bf7c..46d77d0e55 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -3489,6 +3489,31 @@ This class is enabled by default because it is inherited by the | |||
3489 | The :ref:`ref-classes-vala` class supports recipes that need to build software written | 3489 | The :ref:`ref-classes-vala` class supports recipes that need to build software written |
3490 | using the Vala programming language. | 3490 | using the Vala programming language. |
3491 | 3491 | ||
3492 | .. _ref-classes-vex: | ||
3493 | |||
3494 | ``vex`` | ||
3495 | ======== | ||
3496 | |||
3497 | The :ref:`ref-classes-vex` class is used to generate metadata needed by external | ||
3498 | tools to check for vulnerabilities, for example CVEs. It can be used as a | ||
3499 | replacement for :ref:`ref-classes-cve-check`. | ||
3500 | |||
3501 | In order to use this class, inherit the class in the ``local.conf`` file and it | ||
3502 | will add the ``generate_vex`` task for every recipe:: | ||
3503 | |||
3504 | INHERIT += "vex" | ||
3505 | |||
3506 | If an image is built it will generate a report in :term:`DEPLOY_DIR_IMAGE` for | ||
3507 | all the packages used, it will also generate a file for all recipes used in the | ||
3508 | build. | ||
3509 | |||
3510 | Variables use the ``CVE_CHECK`` prefix to keep compatibility with the | ||
3511 | :ref:`ref-classes-cve-check` class. | ||
3512 | |||
3513 | Example usage:: | ||
3514 | |||
3515 | bitbake -c generate_vex openssl | ||
3516 | |||
3492 | .. _ref-classes-waf: | 3517 | .. _ref-classes-waf: |
3493 | 3518 | ||
3494 | ``waf`` | 3519 | ``waf`` |