mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
dev-manual, ref-manual: Documented NO_GENERIC_LICENSE
FIXES [YOCTO #12734] Added a new variable description and created a new section in the dev-manual. (From yocto-docs rev: 854e641482171585c96ee5b9387b3e64146072b9) Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
293183961e
commit
2a74e8fb94
@@ -15072,6 +15072,31 @@
|
|||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section id='copying-licenses-that-do-not-exist'>
|
||||||
|
<title>Copying Licenses that Do Not Exist</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Some packages, such as the linux-firmware package, have many
|
||||||
|
licenses that are not in any way common.
|
||||||
|
You can avoid adding a lot of these types of common license
|
||||||
|
files, which are only applicable to a specific package, by using
|
||||||
|
the
|
||||||
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-NO_GENERIC_LICENSE'><filename>NO_GENERIC_LICENSE</filename></ulink>
|
||||||
|
variable.
|
||||||
|
Using this variable also avoids QA errors when you use a
|
||||||
|
non-common, non-CLOSED license in a recipe.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
The following is an example that uses the
|
||||||
|
<filename>LICENSE.Abilis.txt</filename>
|
||||||
|
file as the license from the fetched source:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='using-the-error-reporting-tool'>
|
<section id='using-the-error-reporting-tool'>
|
||||||
|
|||||||
@@ -9011,6 +9011,40 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
|||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|
||||||
|
<glossentry id='var-NO_GENERIC_LICENSE'><glossterm>NO_GENERIC_LICENSE</glossterm>
|
||||||
|
<info>
|
||||||
|
NO_GENERIC_LICENSE[doc] = "Used to allow copying a license that does not exist in common licenses."
|
||||||
|
</info>
|
||||||
|
<glossdef>
|
||||||
|
<para role="glossdeffirst">
|
||||||
|
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
||||||
|
Avoids QA errors when you use a non-common, non-CLOSED
|
||||||
|
license in a recipe.
|
||||||
|
Packages exist, such as the linux-firmware package, with
|
||||||
|
many licenses that are not in any way common.
|
||||||
|
Also, new licenses are added occasionally to avoid
|
||||||
|
introducing a lot of common license files, which are only
|
||||||
|
applicable to a specific package.
|
||||||
|
<filename>NO_GENERIC_LICENSE</filename> is used to allow
|
||||||
|
copying a license that does not exist in common licenses.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
The following example shows how to add
|
||||||
|
<filename>NO_GENERIC_LICENSE</filename> to a recipe:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
NO_GENERIC_LICENSE[<replaceable>license_name</replaceable>] = "<replaceable>license_file_in_fetched_source</replaceable>"
|
||||||
|
</literallayout>
|
||||||
|
The following is an example that uses the
|
||||||
|
<filename>LICENSE.Abilis.txt</filename> file as the license
|
||||||
|
from the fetched source:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
|
||||||
<glossentry id='var-NO_RECOMMENDATIONS'><glossterm>NO_RECOMMENDATIONS</glossterm>
|
<glossentry id='var-NO_RECOMMENDATIONS'><glossterm>NO_RECOMMENDATIONS</glossterm>
|
||||||
<info>
|
<info>
|
||||||
NO_RECOMMENDATIONS[doc] = "When set to '1', no recommended packages will be installed. Some recommended packages might be required for certain system functionality, such as kernel-modules. It is up to the user to add packages to IMAGE_INSTALL as needed."
|
NO_RECOMMENDATIONS[doc] = "When set to '1', no recommended packages will be installed. Some recommended packages might be required for certain system functionality, such as kernel-modules. It is up to the user to add packages to IMAGE_INSTALL as needed."
|
||||||
|
|||||||
Reference in New Issue
Block a user