Skip to contentSkip to conversation

contributor-guide: add License-Update tag

PATCH Applied Justin Bronder 2 participants 2 messages Nov 21, 2023 – Nov 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 contributor-guide: add License-Update tag

Porting from the old wiki
https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935#Describing_license_changes

---
 .../contributor-guide/recipe-style-guide.rst          | 11 +++++++++++
 1 file changed, 11 insertions(+)
documentation/contributor-guide/recipe-style-guide.rst +11 -0
index a005aa324..bb8f6980e 100644
@@ -250,6 +250,17 @@ Recipes need to define both the :term:`LICENSE` and
    correct string that you can substitute into the recipe file for a
    subsequent build.
 
+License Updates
++++++++++++++++
+When you change the :term:`LICENSE` or :term:`LIC_FILES_CHKSUM` in the recipe
+you need to briefly explain the reason for the change via a ``License-Update:``
+tag.  Often it's quite trivial, such as::
+
+    License-Update: copyright years refreshed
+
+Less often, the actual licensing terms themselves will have changed.  If so, do
+try to link to upstream making/justifying that decision.
+
 Tips and Guidelines for Writing Recipes
 ---------------------------------------
 
Signature · 1 line
2.42.0
Reviewed-by on v1 1/1 Applied
#1 lore raw

Hi Justin,

Many thanks for this improvement to the docs.

Quoted 13 lines · Justin Bronder

Porting from the old wiki
https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935#Describing_license_changes

---
  .../contributor-guide/recipe-style-guide.rst          | 11 +++++++++++
  1 file changed, 11 insertions(+)
documentation/contributor-guide/recipe-style-guide.rst +0 -0
index a005aa324..bb8f6980e 100644

documentation/contributor-guide/recipe-style-guide.rst Recipes need to define both the :term:`LICENSE` and · line 254

Quoted 5 lines
documentation/contributor-guide/recipe-style-guide.rst +2 -0
@@ -250,6 +250,17 @@ Recipes need to define both the :term:`LICENSE` and
     correct string that you can substitute into the recipe file for a
     subsequent build.
 
+License Updates
++++++++++++++++

I just replaced "++++..." by "~~~~..." as recommended in documentation/README and used in other parts of the manual, though the result looks the same to create a subsection.

Merged into "master-next".

Thanks again
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com