Skip to contentSkip to conversation

recipe-style-guide: Clarify when License-Update tag is needed

PATCH Superseded Paul Barker 2 participants 4 messages Jun 4 – Jun 5

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipe-style-guide: Clarify when License-Update tag is needed

As discussed in a patch review call, we don't need License-Update tags in commits where the upstream license has not changed, and we are instead changing the LICENSE variable to fix incorrect data.

---
 documentation/contributor-guide/recipe-style-guide.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
documentation/contributor-guide/recipe-style-guide.rst +5 -2
index 79bf7c79b67b..d05a535784d9 100644
@@ -268,14 +268,17 @@ 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::
+due to an upstream license change, 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.
 
+The ``License-Update:`` tag is not needed for commits which fix incorrect
+license data in our metadata.
+
 Tips and Guidelines for Writing Recipes
 ---------------------------------------
 

---
base-commit: d7376cca64a0784e59d4fd60b9baefb4da2ce289
change-id: 20260604-license-update-1ef504f8f2a5

Best regards,

Signature · 1 line
Paul Barker
#1 lore raw
Quoted 19 lines · Paul Barker

As discussed in a patch review call, we don't need License-Update tags in commits where the upstream license has not changed, and we are instead changing the LICENSE variable to fix incorrect data.

---
 documentation/contributor-guide/recipe-style-guide.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
documentation/contributor-guide/recipe-style-guide.rst +0 -2
index 79bf7c79b67b..d05a535784d9 100644
@@ -268,14 +268,17 @@ 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::

documentation/contributor-guide/recipe-style-guide.rst License Updates · line 280

Quoted 10 lines
documentation/contributor-guide/recipe-style-guide.rst +4 -0
+due to an upstream license change, 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.
 
+The ``License-Update:`` tag is not needed for commits which fix incorrect
+license data in our metadata.

By reading this alone I fail to see a use-case, could you provide an example? Perhaps a link to such a commit? (you can use :oecore_rev:<commit sha> to create the link).

Thanks,
Antonin

#2 lore raw
Quoted 28 lines · Antonin Godard via lists.yoctoproject.org
Quoted 27 lines · Paul Barker

As discussed in a patch review call, we don't need License-Update tags in commits where the upstream license has not changed, and we are instead changing the LICENSE variable to fix incorrect data.

---
 documentation/contributor-guide/recipe-style-guide.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
documentation/contributor-guide/recipe-style-guide.rst +2 -2
index 79bf7c79b67b..d05a535784d9 100644
@@ -268,14 +268,17 @@ 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::
+due to an upstream license change, 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.
 
Quoted 6 lines

documentation/contributor-guide/recipe-style-guide.rst License Updates · line 280

Quoted 2 lines
documentation/contributor-guide/recipe-style-guide.rst +2 -0
+The ``License-Update:`` tag is not needed for commits which fix incorrect
+license data in our metadata.

By reading this alone I fail to see a use-case, could you provide an example? Perhaps a link to such a commit? (you can use :oecore_rev:<commit sha> to create the link).

Hi Antonin,

This was while discussing a series from Joshua [1] and follow-up patches from Richard. I can send a v2 shortly once the commits are merged to master and mirrors have updated, etc.

[1]: https://lore.kernel.org/openembedded-core/[email protected]/

Best regards,

Signature · 1 line
Paul Barker
#3 lore raw

On Thu Jun 4, 2026 at 12:18 PM CEST, Paul Barker wrote:
[...]

Quoted 7 lines
Quoted 6 lines

documentation/contributor-guide/recipe-style-guide.rst License Updates · line 280

Quoted 2 lines
documentation/contributor-guide/recipe-style-guide.rst +2 -0
+The ``License-Update:`` tag is not needed for commits which fix incorrect
+license data in our metadata.

By reading this alone I fail to see a use-case, could you provide an example? Perhaps a link to such a commit? (you can use :oecore_rev:<commit sha> to create the link).

Quoted 7 lines

Hi Antonin,

This was while discussing a series from Joshua [1] and follow-up patches from Richard. I can send a v2 shortly once the commits are merged to master and mirrors have updated, etc.

[1]: https://lore.kernel.org/openembedded-core/[email protected]/

Sounds good! I think Joshua's patches have been merged.

Antonin