From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <mikko.rapeli@linaro.org>, <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] sbom.rst: how to disable SPDX generation
Date: Tue, 11 Mar 2025 10:43:44 +0100 [thread overview]
Message-ID: <D8DC8LODB20E.R52TATOR8S6C@bootlin.com> (raw)
In-Reply-To: <20250310153108.40579-1-mikko.rapeli@linaro.org>
Hi Mikko,
On Mon Mar 10, 2025 at 4:31 PM CET, Mikko Rapeli via lists.yoctoproject.org wrote:
> 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.
s/though ``poky`` reference/though the :term:`Poky` reference distribution/
> +
> +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
> +resources and thus if needed it can be disabled with:
"...it can be disabled from a :term:`configuration file` 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
Otherwise looks good to me, thanks!
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2025-03-11 9:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 15:31 [PATCH] sbom.rst: how to disable SPDX generation Mikko Rapeli
2025-03-11 9:43 ` Antonin Godard [this message]
2025-05-21 16:42 ` Antonin Godard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D8DC8LODB20E.R52TATOR8S6C@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=mikko.rapeli@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox