aboutsummaryrefslogtreecommitdiffstats
path: root/lib/layerindexlib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-30 11:05:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-04 10:41:13 +0100
commitff237c33337f4da2ca06c3a2c49699bc26608a6b (patch)
treeffe4392ebc075494b69e221e205f3a54a7a3137e /lib/layerindexlib
parent93e94c06baf013e3d072465a55bddd1fe61c0772 (diff)
downloadbitbake-ff237c33337f4da2ca06c3a2c49699bc26608a6b.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/layerindexlib')
-rw-r--r--lib/layerindexlib/__init__.py2
-rw-r--r--lib/layerindexlib/cooker.py2
-rw-r--r--lib/layerindexlib/plugin.py2
-rw-r--r--lib/layerindexlib/restapi.py2
-rw-r--r--lib/layerindexlib/tests/common.py2
-rw-r--r--lib/layerindexlib/tests/cooker.py2
-rw-r--r--lib/layerindexlib/tests/layerindexobj.py2
-rw-r--r--lib/layerindexlib/tests/restapi.py2
8 files changed, 16 insertions, 0 deletions
diff --git a/lib/layerindexlib/__init__.py b/lib/layerindexlib/__init__.py
index cb79cb37d..2854f6d0d 100644
--- a/lib/layerindexlib/__init__.py
+++ b/lib/layerindexlib/__init__.py
@@ -1,5 +1,7 @@
# Copyright (C) 2016-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/cooker.py b/lib/layerindexlib/cooker.py
index 848f0e2ee..87c7c8cc9 100644
--- a/lib/layerindexlib/cooker.py
+++ b/lib/layerindexlib/cooker.py
@@ -1,5 +1,7 @@
# Copyright (C) 2016-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/plugin.py b/lib/layerindexlib/plugin.py
index 92a2e978b..e7adae7ac 100644
--- a/lib/layerindexlib/plugin.py
+++ b/lib/layerindexlib/plugin.py
@@ -1,5 +1,7 @@
# Copyright (C) 2016-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/restapi.py b/lib/layerindexlib/restapi.py
index d08eb2055..89092fe34 100644
--- a/lib/layerindexlib/restapi.py
+++ b/lib/layerindexlib/restapi.py
@@ -1,5 +1,7 @@
# Copyright (C) 2016-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/tests/common.py b/lib/layerindexlib/tests/common.py
index 22a54585c..f4e04aacc 100644
--- a/lib/layerindexlib/tests/common.py
+++ b/lib/layerindexlib/tests/common.py
@@ -1,5 +1,7 @@
# Copyright (C) 2017-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/tests/cooker.py b/lib/layerindexlib/tests/cooker.py
index fdbf09110..648c7ba9f 100644
--- a/lib/layerindexlib/tests/cooker.py
+++ b/lib/layerindexlib/tests/cooker.py
@@ -1,5 +1,7 @@
# Copyright (C) 2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/tests/layerindexobj.py b/lib/layerindexlib/tests/layerindexobj.py
index e2fbb950b..7de1338d7 100644
--- a/lib/layerindexlib/tests/layerindexobj.py
+++ b/lib/layerindexlib/tests/layerindexobj.py
@@ -1,5 +1,7 @@
# Copyright (C) 2017-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/layerindexlib/tests/restapi.py b/lib/layerindexlib/tests/restapi.py
index 58766950c..fc4ff939b 100644
--- a/lib/layerindexlib/tests/restapi.py
+++ b/lib/layerindexlib/tests/restapi.py
@@ -1,5 +1,7 @@
# Copyright (C) 2017-2018 Wind River Systems, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.