diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-01-05 08:34:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 17:39:09 +0000 |
commit | 8b1909aa6f7a51a878dc3d4a9223403ad3e164a9 (patch) | |
tree | e1418f545ad6640afb5fde004696eef2a9e6e67b /documentation/dev-manual/licenses.rst | |
parent | ae280972ffba62d7ed839b692957f61b0955cbca (diff) | |
download | poky-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.rst | 19 |
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 | |||
325 | toolchain source, and other artifacts, which you would not generally | 325 | toolchain source, and other artifacts, which you would not generally |
326 | release. However, the more serious issue for most companies is | 326 | release. However, the more serious issue for most companies is |
327 | accidental release of proprietary software. The Yocto Project provides | 327 | accidental release of proprietary software. The Yocto Project provides |
328 | an :ref:`archiver <ref-classes-archiver>` class to | 328 | an :ref:`ref-classes-archiver` class to help avoid some of these concerns. |
329 | help avoid some of these concerns. | ||
330 | 329 | ||
331 | Before you employ :term:`DL_DIR` or the :ref:`archiver <ref-classes-archiver>` class, you need to | 330 | Before you employ :term:`DL_DIR` or the :ref:`ref-classes-archiver` class, you |
332 | decide how you choose to provide source. The source :ref:`archiver <ref-classes-archiver>` class | 331 | need to decide how you choose to provide source. The source |
333 | can generate tarballs and SRPMs and can create them with various levels | 332 | :ref:`ref-classes-archiver` class can generate tarballs and SRPMs and can |
334 | of compliance in mind. | 333 | create them with various levels of compliance in mind. |
335 | 334 | ||
336 | One way of doing this (but certainly not the only way) is to release | 335 | One way of doing this (but certainly not the only way) is to release |
337 | just the source as a tarball. You can do this by adding the following to | 336 | just 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 | ||
420 | As the source :ref:`archiver <ref-classes-archiver>` class has already archived the original | 419 | As the source :ref:`ref-classes-archiver` class has already archived the |
421 | unmodified source that contains the license files, you would have | 420 | original unmodified source that contains the license files, you would have |
422 | already met the requirements for inclusion of the license information | 421 | already met the requirements for inclusion of the license information |
423 | with source as defined by the GPL and other open source licenses. | 422 | with 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 |
490 | manifest nor in the generated source tarballs. This occurs as the | 489 | manifest 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 |
492 | classes assume that only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS` | 491 | only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS` |
493 | end up in the image. | 492 | end up in the image. |
494 | 493 | ||
495 | As a result, potential obligations regarding license compliance for package B | 494 | As a result, potential obligations regarding license compliance for package B |