summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Weiß <simone.p.weiss@posteo.com>2024-02-05 16:13:09 +0000
committerSteve Sakoman <steve@sakoman.com>2024-03-01 05:19:54 -1000
commitf4356b671620baa428b0ae62498a770afeefadde (patch)
treed78f6e134a5ab2c0a85fc05fc72e8db7c400c4e3
parent26f23535eef1f3314c42cd00cda0c6da7cdaf9af (diff)
downloadpoky-f4356b671620baa428b0ae62498a770afeefadde.tar.gz
dev-manual: Rephrase spdx creation
Make the options more clear by providing them in a list instead of plain prosa. Also add a ref for a presentation wrt spdx 3.0 in the Yocto project. Fixes [YOCTO 7476] (From yocto-docs rev: 9e5956736a9b6e6c99967d120303d5142550fdb1) Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--documentation/dev-manual/sbom.rst39
1 files changed, 24 insertions, 15 deletions
diff --git a/documentation/dev-manual/sbom.rst b/documentation/dev-manual/sbom.rst
index 448c071c55..6949675c25 100644
--- a/documentation/dev-manual/sbom.rst
+++ b/documentation/dev-manual/sbom.rst
@@ -30,22 +30,29 @@ To make this happen, you must inherit the
30 30
31 INHERIT += "create-spdx" 31 INHERIT += "create-spdx"
32 32
33You then get :term:`SPDX` output in JSON format as an 33Upon building an image, you will then get:
34``IMAGE-MACHINE.spdx.json`` file in ``tmp/deploy/images/MACHINE/`` inside the
35:term:`Build Directory`.
36 34
37This is a toplevel file accompanied by an ``IMAGE-MACHINE.spdx.index.json`` 35- :term:`SPDX` output in JSON format as an ``IMAGE-MACHINE.spdx.json`` file in
38containing an index of JSON :term:`SPDX` files for individual recipes, together 36 ``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`.
39with an ``IMAGE-MACHINE.spdx.tar.zst`` compressed archive containing all such 37
40files. 38- This toplevel file is accompanied by an ``IMAGE-MACHINE.spdx.index.json``
39 containing an index of JSON :term:`SPDX` files for individual recipes.
40
41- The compressed archive ``IMAGE-MACHINE.spdx.tar.zst`` contains the index
42 and the files for the single recipes.
41 43
42The :ref:`ref-classes-create-spdx` class offers options to include 44The :ref:`ref-classes-create-spdx` class offers options to include
43more information in the output :term:`SPDX` data, such as making the generated 45more information in the output :term:`SPDX` data:
44files more human readable (:term:`SPDX_PRETTY`), adding compressed archives of 46
45the files in the generated target packages (:term:`SPDX_ARCHIVE_PACKAGED`), 47- Make the json files more human readable by setting (:term:`SPDX_PRETTY`).
46adding a description of the source files used to generate host tools and target 48
47packages (:term:`SPDX_INCLUDE_SOURCES`) and adding archives of these source 49- Add compressed archives of the files in the generated target packages by
48files themselves (:term:`SPDX_ARCHIVE_SOURCES`). 50 setting (:term:`SPDX_ARCHIVE_PACKAGED`).
51
52- Add a description of the source files used to generate host tools and target
53 packages (:term:`SPDX_INCLUDE_SOURCES`)
54
55- Add archives of these source files themselves (:term:`SPDX_ARCHIVE_SOURCES`).
49 56
50Though the toplevel :term:`SPDX` output is available in 57Though the toplevel :term:`SPDX` output is available in
51``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`, ancillary 58``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`, ancillary
@@ -67,6 +74,8 @@ See the `tools page <https://spdx.dev/resources/tools/>`__ on the :term:`SPDX`
67project website for a list of tools to consume and transform the :term:`SPDX` 74project website for a list of tools to consume and transform the :term:`SPDX`
68data generated by the OpenEmbedded build system. 75data generated by the OpenEmbedded build system.
69 76
70See also Joshua Watt's 77See also Joshua Watt's presentations
71`Automated SBoM generation with OpenEmbedded and the Yocto Project <https://youtu.be/Q5UQUM6zxVU>`__ 78`Automated SBoM generation with OpenEmbedded and the Yocto Project <https://youtu.be/Q5UQUM6zxVU>`__
72presentation at FOSDEM 2023. 79at FOSDEM 2023 and
80`SPDX in the Yocto Project <https://fosdem.org/2024/schedule/event/fosdem-2024-3318-spdx-in-the-yocto-project/>`__
81at FOSDEM 2024.