diff options
author | Justin Bronder <jsbronder@cold-front.org> | 2023-11-21 14:58:54 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-12-21 06:18:23 -1000 |
commit | 6891ec882c763fcb53b83cc2ff926005a03adca2 (patch) | |
tree | b008d15d56707bb997ded4c4b98a354bbd2156bb /documentation | |
parent | 26124fcc414753f7e36791921a96ffda3e17325f (diff) | |
download | poky-6891ec882c763fcb53b83cc2ff926005a03adca2.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: 42bfd6eba02d90493a3d10f053e1862b6467b23a)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/contributor-guide/recipe-style-guide.rst | 12 |
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 | ||
253 | License Updates | ||
254 | ~~~~~~~~~~~~~~~ | ||
255 | |||
256 | When you change the :term:`LICENSE` or :term:`LIC_FILES_CHKSUM` in the recipe | ||
257 | you need to briefly explain the reason for the change via a ``License-Update:`` | ||
258 | tag. Often it's quite trivial, such as:: | ||
259 | |||
260 | License-Update: copyright years refreshed | ||
261 | |||
262 | Less often, the actual licensing terms themselves will have changed. If so, do | ||
263 | try to link to upstream making/justifying that decision. | ||
264 | |||
253 | Tips and Guidelines for Writing Recipes | 265 | Tips and Guidelines for Writing Recipes |
254 | --------------------------------------- | 266 | --------------------------------------- |
255 | 267 | ||