diff options
Diffstat (limited to 'documentation/ref-manual')
-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." |