1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-15 15:37:03 +00:00

ref-manual: add more explanation to glossary variable LICENSE

Add the following to the variable glossary LICENSE entry:

  - it is a required variable in an OE recipe
  - it must be accompanied by LIC_FILES_CHKSUM, except in the
    case where LICENSE = "CLOSED"

(From yocto-docs rev: 1b819d324780a699d9307a2d4e68c69b576ab748)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit a75f75fe86c339246b94b78c593c54647a75ba6a)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Robert P. J. Day
2026-06-17 07:56:49 -04:00
committed by Paul Barker
parent 0e35838b91
commit 802e4c1135
+8 -1
View File
@@ -5349,7 +5349,8 @@ system and gives an overview of their function and contents.
section in the Yocto Project Development Tasks Manual.
:term:`LICENSE`
The list of source licenses for the recipe. Follow these rules:
This is a required field in an OpenEmbedded recipe file, and should
contain a list of source licenses for the recipe. Follow these rules:
- Do not use spaces within individual license names.
@@ -5389,6 +5390,12 @@ system and gives an overview of their function and contents.
LICENSE:${PN} = "GPL-2.0.only"
LICENSE:${PN}-doc = "GFDL-1.2"
.. note::
A recipe's :term:`LICENSE` value must be accompanied by an associated
:term:`LIC_FILES_CHKSUM` value, except in the special case where
the :term:`LICENSE` value is set to "CLOSED".
:term:`LICENSE_CREATE_PACKAGE`
Setting :term:`LICENSE_CREATE_PACKAGE` to "1" causes the OpenEmbedded
build system to create an extra package (i.e.