summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@cold-front.org>2023-11-21 14:58:54 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-01 17:45:06 +0000
commit9773b0c64c9974f43b52a309e9811fdc31cd607b (patch)
tree8d8959f8422f89a72c9794f24c1b010acd8448bf /documentation
parent5785754244ba8c7a3a0f7d81c9c3479e6437ea17 (diff)
downloadpoky-9773b0c64c9974f43b52a309e9811fdc31cd607b.tar.gz
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 (From yocto-docs rev: 51e55b44a4532ae16595bd5a712c34deeff5d47b) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/contributor-guide/recipe-style-guide.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/contributor-guide/recipe-style-guide.rst b/documentation/contributor-guide/recipe-style-guide.rst
index a005aa3247..08d8fb4259 100644
--- a/documentation/contributor-guide/recipe-style-guide.rst
+++ b/documentation/contributor-guide/recipe-style-guide.rst
@@ -250,6 +250,18 @@ Recipes need to define both the :term:`LICENSE` and
250 correct string that you can substitute into the recipe file for a 250 correct string that you can substitute into the recipe file for a
251 subsequent build. 251 subsequent build.
252 252
253License Updates
254~~~~~~~~~~~~~~~
255
256When you change the :term:`LICENSE` or :term:`LIC_FILES_CHKSUM` in the recipe
257you need to briefly explain the reason for the change via a ``License-Update:``
258tag. Often it's quite trivial, such as::
259
260 License-Update: copyright years refreshed
261
262Less often, the actual licensing terms themselves will have changed. If so, do
263try to link to upstream making/justifying that decision.
264
253Tips and Guidelines for Writing Recipes 265Tips and Guidelines for Writing Recipes
254--------------------------------------- 266---------------------------------------
255 267