diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-30 11:05:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-04 10:44:04 +0100 |
commit | 79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b (patch) | |
tree | 52e6473c7ee9687b2c4b6c8a2eb39da9b73ddaa5 /bitbake/lib/bblayers | |
parent | 5eb53830942141bfe57251dffecda36df90a62c1 (diff) | |
download | poky-79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b.tar.gz |
bitbake: bitbake: Add initial pass of SPDX license headers to source code
This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.
The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.
The COPYING file is replaced with LICENSE.X files which contain the full
license texts.
(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bblayers')
-rw-r--r-- | bitbake/lib/bblayers/__init__.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bblayers/action.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bblayers/common.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bblayers/layerindex.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bblayers/query.py | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/bitbake/lib/bblayers/__init__.py b/bitbake/lib/bblayers/__init__.py index 3ad9513f40..4e7c09da04 100644 --- a/bitbake/lib/bblayers/__init__.py +++ b/bitbake/lib/bblayers/__init__.py | |||
@@ -1,2 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from pkgutil import extend_path | 5 | from pkgutil import extend_path |
2 | __path__ = extend_path(__path__, __name__) | 6 | __path__ = extend_path(__path__, __name__) |
diff --git a/bitbake/lib/bblayers/action.py b/bitbake/lib/bblayers/action.py index a3f658f931..d6459d6617 100644 --- a/bitbake/lib/bblayers/action.py +++ b/bitbake/lib/bblayers/action.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import fnmatch | 5 | import fnmatch |
2 | import logging | 6 | import logging |
3 | import os | 7 | import os |
diff --git a/bitbake/lib/bblayers/common.py b/bitbake/lib/bblayers/common.py index 98515ced4f..c5657d3819 100644 --- a/bitbake/lib/bblayers/common.py +++ b/bitbake/lib/bblayers/common.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import argparse | 5 | import argparse |
2 | import logging | 6 | import logging |
3 | import os | 7 | import os |
diff --git a/bitbake/lib/bblayers/layerindex.py b/bitbake/lib/bblayers/layerindex.py index b2ff2268ea..57cd9027f6 100644 --- a/bitbake/lib/bblayers/layerindex.py +++ b/bitbake/lib/bblayers/layerindex.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import layerindexlib | 5 | import layerindexlib |
2 | 6 | ||
3 | import argparse | 7 | import argparse |
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py index 9294dfa884..993589de94 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import collections | 5 | import collections |
2 | import fnmatch | 6 | import fnmatch |
3 | import logging | 7 | import logging |