diff options
| author | Kristi Rifenbark <kristi@buzzcollectivemarketing.com> | 2018-06-12 11:49:34 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-28 09:22:57 +0100 |
| commit | 2a74e8fb94257d93dd28be56aa6d3017f52dad93 (patch) | |
| tree | a1ee29b2a6aab2b090e7640892a6ff5444307d6e /documentation/ref-manual/ref-variables.xml | |
| parent | 293183961e3cf91bb7fd7995e8b1877d961f8d7b (diff) | |
| download | poky-2a74e8fb94257d93dd28be56aa6d3017f52dad93.tar.gz | |
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>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1c55a92d15..2465553010 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -9011,6 +9011,40 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 9011 | </glossdef> | 9011 | </glossdef> |
| 9012 | </glossentry> | 9012 | </glossentry> |
| 9013 | 9013 | ||
| 9014 | <glossentry id='var-NO_GENERIC_LICENSE'><glossterm>NO_GENERIC_LICENSE</glossterm> | ||
| 9015 | <info> | ||
| 9016 | NO_GENERIC_LICENSE[doc] = "Used to allow copying a license that does not exist in common licenses." | ||
| 9017 | </info> | ||
| 9018 | <glossdef> | ||
| 9019 | <para role="glossdeffirst"> | ||
| 9020 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | ||
| 9021 | Avoids QA errors when you use a non-common, non-CLOSED | ||
| 9022 | license in a recipe. | ||
| 9023 | Packages exist, such as the linux-firmware package, with | ||
| 9024 | many licenses that are not in any way common. | ||
| 9025 | Also, new licenses are added occasionally to avoid | ||
| 9026 | introducing a lot of common license files, which are only | ||
| 9027 | applicable to a specific package. | ||
| 9028 | <filename>NO_GENERIC_LICENSE</filename> is used to allow | ||
| 9029 | copying a license that does not exist in common licenses. | ||
| 9030 | </para> | ||
| 9031 | |||
| 9032 | <para> | ||
| 9033 | The following example shows how to add | ||
| 9034 | <filename>NO_GENERIC_LICENSE</filename> to a recipe: | ||
| 9035 | <literallayout class='monospaced'> | ||
| 9036 | NO_GENERIC_LICENSE[<replaceable>license_name</replaceable>] = "<replaceable>license_file_in_fetched_source</replaceable>" | ||
| 9037 | </literallayout> | ||
| 9038 | The following is an example that uses the | ||
| 9039 | <filename>LICENSE.Abilis.txt</filename> file as the license | ||
| 9040 | from the fetched source: | ||
| 9041 | <literallayout class='monospaced'> | ||
| 9042 | NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt" | ||
| 9043 | </literallayout> | ||
| 9044 | </para> | ||
| 9045 | </glossdef> | ||
| 9046 | </glossentry> | ||
| 9047 | |||
| 9014 | <glossentry id='var-NO_RECOMMENDATIONS'><glossterm>NO_RECOMMENDATIONS</glossterm> | 9048 | <glossentry id='var-NO_RECOMMENDATIONS'><glossterm>NO_RECOMMENDATIONS</glossterm> |
| 9015 | <info> | 9049 | <info> |
| 9016 | 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." | 9050 | 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." |
