Bug 13320

Summary: Update license files to match current SPDX names and license contents
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Ida Delphine <idadelm>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: akuster808, alex.kanavin, idadelm, meta.mr.watcher, meta.watcher, niko.mauno, randy.macleod
Version: 2.7   
Target Milestone: 3.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: NEWCOMER
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2019-05-02 13:09:52 UTC
Under meta/files/common-licences we define the license the given tag as used in OE refers to. There are two issues:

a) Some of the names have changed, e.g. GPL-2.0 has become GPL-2.0-only and GPL-2.0+ has become GPL-2.0-or-later. We should update to the latest SDPX naming.

b) Some of the license contents may have changed, we should also update to match that once the naming is resolved.

The bigger question of whether our LICENSE fields should match SPDX naming is out of scope of this bug, only the mappings should be updated (see meta/conf/licenses.conf)
Comment 1 Randy MacLeod 2020-03-12 15:19:23 UTC
Alex is this something you have an interest in helping with? (YP bug meeting team)
Comment 2 Alexander Kanavin 2020-03-14 13:06:28 UTC
I am not sure what needs to be done here; neither location mentioned by RP defines 'only' vs '-or-later' distinction, they refer to exact licenses only.
Comment 3 Ida Delphine 2020-10-07 22:32:20 UTC
Hello, I have taken this bug. Am I to update just the meta/conf/licenses.conf file?
Comment 5 Ida Delphine 2021-04-26 18:12:41 UTC
(In reply to comment #4)
> does this commit address this bug?
> https://git.openembedded.org/openembedded-core/commit/meta/conf/licenses.
> conf?id=5ecf139a31fa7bd813855f1235ea9f434fbcb2e0

Yes, it does
Comment 6 akuster 2021-04-26 18:58:35 UTC
Many Thanks.