summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/licenses.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-01-05 08:34:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 17:39:09 +0000
commit8b1909aa6f7a51a878dc3d4a9223403ad3e164a9 (patch)
treee1418f545ad6640afb5fde004696eef2a9e6e67b /documentation/dev-manual/licenses.rst
parentae280972ffba62d7ed839b692957f61b0955cbca (diff)
downloadpoky-8b1909aa6f7a51a878dc3d4a9223403ad3e164a9.tar.gz
manuals: simplify references to classes
Now that .bbclass is removed from class section titles. We can now have, for example, :ref:`ref-classes-insane` instead of :ref:`insane <ref-classes-insane>`. Then, when necessary, rework paragraphs so that they have lines of even length, not exceeding 80 characters. (From yocto-docs rev: e76190e3be78c1e483bec0469f1e437dbf8f3791) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Suggested-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/licenses.rst')
-rw-r--r--documentation/dev-manual/licenses.rst19
1 files changed, 9 insertions, 10 deletions
diff --git a/documentation/dev-manual/licenses.rst b/documentation/dev-manual/licenses.rst
index 0f8d759519..65914e5efe 100644
--- a/documentation/dev-manual/licenses.rst
+++ b/documentation/dev-manual/licenses.rst
@@ -325,13 +325,12 @@ and not just the source used in the released image. It will include
325toolchain source, and other artifacts, which you would not generally 325toolchain source, and other artifacts, which you would not generally
326release. However, the more serious issue for most companies is 326release. However, the more serious issue for most companies is
327accidental release of proprietary software. The Yocto Project provides 327accidental release of proprietary software. The Yocto Project provides
328an :ref:`archiver <ref-classes-archiver>` class to 328an :ref:`ref-classes-archiver` class to help avoid some of these concerns.
329help avoid some of these concerns.
330 329
331Before you employ :term:`DL_DIR` or the :ref:`archiver <ref-classes-archiver>` class, you need to 330Before you employ :term:`DL_DIR` or the :ref:`ref-classes-archiver` class, you
332decide how you choose to provide source. The source :ref:`archiver <ref-classes-archiver>` class 331need to decide how you choose to provide source. The source
333can generate tarballs and SRPMs and can create them with various levels 332:ref:`ref-classes-archiver` class can generate tarballs and SRPMs and can
334of compliance in mind. 333create them with various levels of compliance in mind.
335 334
336One way of doing this (but certainly not the only way) is to release 335One way of doing this (but certainly not the only way) is to release
337just the source as a tarball. You can do this by adding the following to 336just the source as a tarball. You can do this by adding the following to
@@ -417,8 +416,8 @@ generation are included on your image.
417 adds a separate package and an upgrade path for adding licenses to an 416 adds a separate package and an upgrade path for adding licenses to an
418 image. 417 image.
419 418
420As the source :ref:`archiver <ref-classes-archiver>` class has already archived the original 419As the source :ref:`ref-classes-archiver` class has already archived the
421unmodified source that contains the license files, you would have 420original unmodified source that contains the license files, you would have
422already met the requirements for inclusion of the license information 421already met the requirements for inclusion of the license information
423with source as defined by the GPL and other open source licenses. 422with source as defined by the GPL and other open source licenses.
424 423
@@ -488,8 +487,8 @@ mechanisms as well as explicitly included in the image recipe with
488:term:`IMAGE_INSTALL`, and depends on a static linked library recipe B 487:term:`IMAGE_INSTALL`, and depends on a static linked library recipe B
489(``DEPENDS += "B"``), package B will neither appear in the generated license 488(``DEPENDS += "B"``), package B will neither appear in the generated license
490manifest nor in the generated source tarballs. This occurs as the 489manifest nor in the generated source tarballs. This occurs as the
491:ref:`license <ref-classes-license>` and :ref:`archiver <ref-classes-archiver>` 490:ref:`ref-classes-license` and :ref:`ref-classes-archiver` classes assume that
492classes assume that only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS` 491only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS`
493end up in the image. 492end up in the image.
494 493
495As a result, potential obligations regarding license compliance for package B 494As a result, potential obligations regarding license compliance for package B