diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-02-27 19:21:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-01 23:44:59 +0000 |
commit | 68d1a56e987ee530620bdf245ddf1812f8cf6d39 (patch) | |
tree | 24197a3306fa5fc65571001e28c081a53188651f /scripts/lib/recipetool/create.py | |
parent | 949aa76210b4de3eaab79d006af982ce8a44b29d (diff) | |
download | poky-68d1a56e987ee530620bdf245ddf1812f8cf6d39.tar.gz |
recipetool: Use SPDX license identifiers
There are still a couple of cases where the license may be set as, e.g.,
"GPL" or "GPL-2.0" since there is not enough information to decide the
actual SPDX license. It is then assumed that the developer will have to
correct the information.
(From OE-Core rev: e7df51f8d2361e9fe2d67669d2e17f0a5d01004e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r-- | scripts/lib/recipetool/create.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 4cf6a5a95c..0b5d5466ba 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -1080,7 +1080,7 @@ def crunch_license(licfile): | |||
1080 | 1080 | ||
1081 | # common licenses | 1081 | # common licenses |
1082 | crunched_md5sums['89f3bf322f30a1dcfe952e09945842f0'] = 'Apache-2.0' | 1082 | crunched_md5sums['89f3bf322f30a1dcfe952e09945842f0'] = 'Apache-2.0' |
1083 | crunched_md5sums['13b6fe3075f8f42f2270a748965bf3a1'] = 'BSD-0-Clause' | 1083 | crunched_md5sums['13b6fe3075f8f42f2270a748965bf3a1'] = '0BSD' |
1084 | crunched_md5sums['ba87a7d7c20719c8df4b8beed9b78c43'] = 'BSD-2-Clause' | 1084 | crunched_md5sums['ba87a7d7c20719c8df4b8beed9b78c43'] = 'BSD-2-Clause' |
1085 | crunched_md5sums['7f8892c03b72de419c27be4ebfa253f8'] = 'BSD-3-Clause' | 1085 | crunched_md5sums['7f8892c03b72de419c27be4ebfa253f8'] = 'BSD-3-Clause' |
1086 | crunched_md5sums['21128c0790b23a8a9f9e260d5f6b3619'] = 'BSL-1.0' | 1086 | crunched_md5sums['21128c0790b23a8a9f9e260d5f6b3619'] = 'BSL-1.0' |
@@ -1108,15 +1108,15 @@ def crunch_license(licfile): | |||
1108 | # https://github.com/waffle-gl/waffle/blob/master/LICENSE.txt | 1108 | # https://github.com/waffle-gl/waffle/blob/master/LICENSE.txt |
1109 | crunched_md5sums['50fab24ce589d69af8964fdbfe414c60'] = 'BSD-2-Clause' | 1109 | crunched_md5sums['50fab24ce589d69af8964fdbfe414c60'] = 'BSD-2-Clause' |
1110 | # https://github.com/spigwitmer/fakeds1963s/blob/master/LICENSE | 1110 | # https://github.com/spigwitmer/fakeds1963s/blob/master/LICENSE |
1111 | crunched_md5sums['88a4355858a1433fea99fae34a44da88'] = 'GPLv2' | 1111 | crunched_md5sums['88a4355858a1433fea99fae34a44da88'] = 'GPL-2.0' |
1112 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt | 1112 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt |
1113 | crunched_md5sums['063b5c3ebb5f3aa4c85a2ed18a31fbe7'] = 'GPLv2' | 1113 | crunched_md5sums['063b5c3ebb5f3aa4c85a2ed18a31fbe7'] = 'GPL-2.0' |
1114 | # https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv2.1 | 1114 | # https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv2.1 |
1115 | crunched_md5sums['7f5202f4d44ed15dcd4915f5210417d8'] = 'LGPLv2.1' | 1115 | crunched_md5sums['7f5202f4d44ed15dcd4915f5210417d8'] = 'LGPL-2.1' |
1116 | # unixODBC-2.3.4 COPYING | 1116 | # unixODBC-2.3.4 COPYING |
1117 | crunched_md5sums['3debde09238a8c8e1f6a847e1ec9055b'] = 'LGPLv2.1' | 1117 | crunched_md5sums['3debde09238a8c8e1f6a847e1ec9055b'] = 'LGPL-2.1' |
1118 | # https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv3 | 1118 | # https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv3 |
1119 | crunched_md5sums['f90c613c51aa35da4d79dd55fc724ceb'] = 'LGPLv3' | 1119 | crunched_md5sums['f90c613c51aa35da4d79dd55fc724ceb'] = 'LGPL-3.0' |
1120 | # https://raw.githubusercontent.com/eclipse/mosquitto/v1.4.14/epl-v10 | 1120 | # https://raw.githubusercontent.com/eclipse/mosquitto/v1.4.14/epl-v10 |
1121 | crunched_md5sums['efe2cb9a35826992b9df68224e3c2628'] = 'EPL-1.0' | 1121 | crunched_md5sums['efe2cb9a35826992b9df68224e3c2628'] = 'EPL-1.0' |
1122 | 1122 | ||