public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* [PATCH] sbom.rst: how to disable SPDX generation
@ 2025-03-10 15:31 Mikko Rapeli
  2025-03-11  9:43 ` [docs] " Antonin Godard
  2025-05-21 16:42 ` Antonin Godard
  0 siblings, 2 replies; 3+ messages in thread
From: Mikko Rapeli @ 2025-03-10 15:31 UTC (permalink / raw)
  To: docs; +Cc: 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.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 documentation/dev-manual/sbom.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/documentation/dev-manual/sbom.rst b/documentation/dev-manual/sbom.rst
index b72bad1554..f5a706bc14 100644
--- a/documentation/dev-manual/sbom.rst
+++ b/documentation/dev-manual/sbom.rst
@@ -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
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-21 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10 15:31 [PATCH] sbom.rst: how to disable SPDX generation Mikko Rapeli
2025-03-11  9:43 ` [docs] " Antonin Godard
2025-05-21 16:42 ` Antonin Godard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox