diff options
| author | Enrico Jörns <ejo@pengutronix.de> | 2025-10-28 09:12:22 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-26 07:50:35 -0800 |
| commit | dbf5ddbdb59548df2605349b7b5183aeddadee81 (patch) | |
| tree | 81453bd09fcb0f1c28028b6231a64b40a0a5859e /documentation/dev-manual | |
| parent | fb988ddb650857483a01e65ad275097c4a19fd47 (diff) | |
| download | poky-dbf5ddbdb59548df2605349b7b5183aeddadee81.tar.gz | |
dev-manual/sbom.rst: reflect that create-spdx is enabled by default
Since nanbield (b34032ec "defaultsetup: Inherit create-spdx by
default"), the create-spdx class is pulled in by default, not only by
poky.
Adapt the text to reflect this and also change INHERIT to INHERIT_DISTRO
since this is the more concrete variable to modify for disabling
create-spdx.
[AG: fix conflicts]
(From yocto-docs rev: 4c47eb98e096121d71663342dde86b8c9256c9b5)
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2b6228943443faf76c9869a0daeccfe7f93688ca)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/dev-manual')
| -rw-r--r-- | documentation/dev-manual/sbom.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/documentation/dev-manual/sbom.rst b/documentation/dev-manual/sbom.rst index 7c4b5804fb..9157cbba5d 100644 --- a/documentation/dev-manual/sbom.rst +++ b/documentation/dev-manual/sbom.rst | |||
| @@ -24,11 +24,12 @@ users can read in standardized format. | |||
| 24 | :term:`SBOM` information is also critical to performing vulnerability exposure | 24 | :term:`SBOM` information is also critical to performing vulnerability exposure |
| 25 | assessments, as all the components used in the Software Supply Chain are listed. | 25 | assessments, as all the components used in the Software Supply Chain are listed. |
| 26 | 26 | ||
| 27 | The OpenEmbedded build system doesn't generate such information by default. | 27 | The OpenEmbedded build system generates such information by default (by |
| 28 | To make this happen, you must inherit the | 28 | inheriting the :ref:`ref-classes-create-spdx` class in :term:`INHERIT_DISTRO`). |
| 29 | :ref:`ref-classes-create-spdx` class from a configuration file:: | ||
| 30 | 29 | ||
| 31 | INHERIT += "create-spdx" | 30 | If needed, it can be disabled from a :term:`configuration file`:: |
| 31 | |||
| 32 | INHERIT_DISTRO:remove = "create-spdx" | ||
| 32 | 33 | ||
| 33 | Upon building an image, you will then get the compressed archive | 34 | Upon building an image, you will then get the compressed archive |
| 34 | ``IMAGE-MACHINE.spdx.tar.zst`` contains the index and the files for the single | 35 | ``IMAGE-MACHINE.spdx.tar.zst`` contains the index and the files for the single |
