sbom.rst: how to disable SPDX generation
PATCH 1/1 sbom.rst: how to disable SPDX generation
Generating SPDX is enabled by default in poky but it can take a lot of build time resources so document how to disable it.
--- documentation/dev-manual/sbom.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
documentation/dev-manual/sbom.rst +9 -3
@@ -24,12 +24,18 @@ users can read in standardized format. :term:`SBOM` information is also critical to performing vulnerability exposure assessments, as all the components used in the Software Supply Chain are listed. -The OpenEmbedded build system doesn't generate such information by default. -To make this happen, you must inherit the -:ref:`ref-classes-create-spdx` class from a configuration file:: +The OpenEmbedded build system doesn't generate such information by default, +though ``poky`` reference distribution has it enabled out of the box. + +To enable it, inherit the :ref:`ref-classes-create-spdx` class from a configuration file:: INHERIT += "create-spdx" +In ``poky`` reference distribution, :term:`SPDX` generation does consume some build time +resources and thus if needed it can be disabled with: + + INHERIT:remove = "create-spdx" + Upon building an image, you will then get: - :term:`SPDX` output in JSON format as an ``IMAGE-MACHINE.spdx.json`` file in
Signature · 1 line
2.43.0
Hi Mikko,
Quoted 14 lines · Mikko Rapeli via lists.yoctoproject.org
Generating SPDX is enabled by default in poky but it can take a lot of build time resources so document how to disable it.
Signed-off-by Mikko Rapeli <[email protected]>--- documentation/dev-manual/sbom.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)documentation/dev-manual/sbom.rst +0
-0
documentation/dev-manual/sbom.rst users can read in standardized format. · line 28
Quoted 8 lines
documentation/dev-manual/sbom.rst +2
-3@@ -24,12 +24,18 @@ users can read in standardized format. :term:`SBOM` information is also critical to performing vulnerability exposure assessments, as all the components used in the Software Supply Chain are listed. -The OpenEmbedded build system doesn't generate such information by default. -To make this happen, you must inherit the -:ref:`ref-classes-create-spdx` class from a configuration file:: +The OpenEmbedded build system doesn't generate such information by default, +though ``poky`` reference distribution has it enabled out of the box.
s/though ``poky`` reference/though the :term:Poky reference distribution/
documentation/dev-manual/sbom.rst users can read in standardized format. · line 34
Quoted 6 lines
documentation/dev-manual/sbom.rst +3
-0+ +To enable it, inherit the :ref:`ref-classes-create-spdx` class from a configuration file:: INHERIT += "create-spdx" +In ``poky`` reference distribution, :term:`SPDX` generation does consume some build time
Same comment as above
documentation/dev-manual/sbom.rst users can read in standardized format. · line 35
Quoted 1 line
documentation/dev-manual/sbom.rst +1
-0+resources and thus if needed it can be disabled with:
"...it can be disabled from a :term:configuration file with:"
documentation/dev-manual/sbom.rst users can read in standardized format. · line 41
Quoted 6 lines
documentation/dev-manual/sbom.rst +3
-0+ + INHERIT:remove = "create-spdx" + Upon building an image, you will then get: - :term:`SPDX` output in JSON format as an ``IMAGE-MACHINE.spdx.json`` file in
Otherwise looks good to me, thanks!
Antonin
Signature · 3 lines
Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Antonin Godard
AppliedQuoted 5 lines · Mikko Rapeli
Generating SPDX is enabled by default in poky but it can take a lot of build time resources so document how to disable it.
Applied, thanks!
[1/1] sbom.rst: how to disable SPDX generation
commit: bcd58b7a9455fbb0ea5944089d663e327f0eb38f
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>