dev-manual: licenses: update license manifest location
PATCH 1/2 dev-manual: licenses: update license manifest location
From: Michael Opdenacker <[email protected]>
- Fix broken markup (wasn't displaying properly)
- Update the path to the directory containing license information
- Fix typo later in the document
Signed-off-by Michael Opdenacker <[email protected]>
--- documentation/dev-manual/licenses.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
documentation/dev-manual/licenses.rst +3 -2
@@ -317,7 +317,8 @@ audit all artifacts to ensure completeness. .. note:: The Yocto Project generates a license manifest during image creation - that is located in ``${DEPLOY_DIR}/licenses/``\ `image_name`\ ``-``\ `datestamp` + that is located in + ``${DEPLOY_DIR}/licenses/<image-name>-<machine>.rootfs-<datestamp>/`` to assist with any audits. Providing the Source Code
@@ -435,7 +436,7 @@ with source as defined by the GPL and other open source licenses. Providing Compilation Scripts and Source Code Modifications ----------------------------------------------------------- -At this point, we have addressed all we need to prior to generating the +At this point, we have addressed all we need prior to generating the image. The next two requirements are addressed during the final packaging of the release.
Signature · 1 line
2.34.1
PATCH 2/2 dev-manual: licenses: mention SPDX for license compliance
From: Michael Opdenacker <[email protected]>
Signed-off-by Michael Opdenacker <[email protected]>
CC Joshua Watt <[email protected]>
--- documentation/dev-manual/licenses.rst | 30 ++++++++++++++++++++------- 1 file changed, 22 insertions(+), 8 deletions(-)
documentation/dev-manual/licenses.rst +22 -8
@@ -305,14 +305,28 @@ There are other requirements beyond the scope of these three and the methods described in this section (e.g. the mechanism through which source code is distributed). -As different organizations have different methods of complying with open -source licensing, this section is not meant to imply that there is only -one single way to meet your compliance obligations, but rather to -describe one method of achieving compliance. The remainder of this -section describes methods supported to meet the previously mentioned -three requirements. Once you take steps to meet these requirements, and -prior to releasing images, sources, and the build system, you should -audit all artifacts to ensure completeness. +As different organizations have different ways of releasing software, +there can be multiple ways of meeting license obligations. At +least, we describe here two methods for achieving compliance: + +- The first method is to use OpenEmbedded's ability to provide + the source code, provide a list of licenses, as well as + compilation scripts and source code modifications. + + The remainder of this section describes supported methods to meet + the previously mentioned three requirements. + +- The second method is to generate a *Software Bill of Materials* + (:term:`SBoM`), as described in the ":doc:`/dev-manual/sbom`" section. + Not only do you generate :term:`SPDX` output which can be used meet + license compliance requirements (except for sharing the build system + and layers sources for the time being), but this output also includes + component version and patch information which can be used + for vulnerability assessment. + +Whatever method you choose, prior to releasing images, sources, +and the build system, you should audit all artifacts to ensure +completeness. .. note::
Signature · 1 line
2.34.1