ref-manual: add more explanation to glossary variable LICENSE
PATCH 1/1 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"
---
documentation/ref-manual/variables.rst +8 -1
@@ -5871,7 +5871,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.
@@ -5911,6 +5912,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.
Hi Robert,
Quoted 16 lines · Robert P. J. Day via lists.yoctoproject.org
Add the following to the variable glossary LICENSE entry:
- it is a required variable in an OE recipe
- it must be accompanied byLIC_FILES_CHKSUM, except in the case where LICENSE = "CLOSED"Signed-off-by Robert P. J. Day <[email protected]>---
documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 5874
Quoted 5 lines
documentation/ref-manual/variables.rst +1
-1@@ -5871,7 +5871,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
Isn't it required for all recipes? It's a bit confusing to say "Openembedded recipe file" when I believe it applies to all recipes (provided you use OE-Core, but if you're reading the YP docs, you must have it included, if it were the BitBake docs it'd be different).
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 5919
Quoted 13 lines
documentation/ref-manual/variables.rst +6
-0+ contain a list of source licenses for the recipe. Follow these rules: - Do not use spaces within individual license names.@@ -5911,6 +5912,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".
Remove mention of "value", it's unnecessarily verbose.
Cheers,
Quentin
Antonin Godard
AppliedApplied, thanks!
[1/1] ref-manual: add more explanation to glossary variable LICENSE
commit: a75f75fe86c339246b94b78c593c54647a75ba6a