summaryrefslogtreecommitdiffstats
path: root/bitbake/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-06-19 18:04:01 +0100
commite1db6a16905f1f7af73e92019b8124881701b81a (patch)
tree99a5afff6908d94f02aa6a966fec38411363ba73 /bitbake/lib/layerindexlib
parentb164f0dc3e69ba9cb552b48834cd6c50f50c5000 (diff)
downloadpoky-e1db6a16905f1f7af73e92019b8124881701b81a.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: ac556588fac55e91b7ce4839a975eb9ebb5aa192) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/layerindexlib')
-rw-r--r--bitbake/lib/layerindexlib/__init__.py2
-rw-r--r--bitbake/lib/layerindexlib/cooker.py2
-rw-r--r--bitbake/lib/layerindexlib/plugin.py2
-rw-r--r--bitbake/lib/layerindexlib/restapi.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/common.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/cooker.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/layerindexobj.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/restapi.py2
8 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/lib/layerindexlib/__init__.py b/bitbake/lib/layerindexlib/__init__.py
index cb79cb37d7..2854f6d0da 100644
--- a/bitbake/lib/layerindexlib/__init__.py
+++ b/bitbake/lib/layerindexlib/__init__.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/cooker.py b/bitbake/lib/layerindexlib/cooker.py
index 848f0e2ee2..87c7c8cc9a 100644
--- a/bitbake/lib/layerindexlib/cooker.py
+++ b/bitbake/lib/layerindexlib/cooker.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/plugin.py b/bitbake/lib/layerindexlib/plugin.py
index 92a2e978ba..e7adae7ac0 100644
--- a/bitbake/lib/layerindexlib/plugin.py
+++ b/bitbake/lib/layerindexlib/plugin.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/restapi.py b/bitbake/lib/layerindexlib/restapi.py
index d08eb20555..89092fe34e 100644
--- a/bitbake/lib/layerindexlib/restapi.py
+++ b/bitbake/lib/layerindexlib/restapi.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/common.py b/bitbake/lib/layerindexlib/tests/common.py
index 22a54585c8..f4e04aacc1 100644
--- a/bitbake/lib/layerindexlib/tests/common.py
+++ b/bitbake/lib/layerindexlib/tests/common.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2017-2018 Wind River Systems, Inc. 1# Copyright (C) 2017-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/cooker.py b/bitbake/lib/layerindexlib/tests/cooker.py
index fdbf091103..648c7ba9f4 100644
--- a/bitbake/lib/layerindexlib/tests/cooker.py
+++ b/bitbake/lib/layerindexlib/tests/cooker.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2018 Wind River Systems, Inc. 1# Copyright (C) 2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/layerindexobj.py b/bitbake/lib/layerindexlib/tests/layerindexobj.py
index e2fbb950b0..7de1338d78 100644
--- a/bitbake/lib/layerindexlib/tests/layerindexobj.py
+++ b/bitbake/lib/layerindexlib/tests/layerindexobj.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2017-2018 Wind River Systems, Inc. 1# Copyright (C) 2017-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/restapi.py b/bitbake/lib/layerindexlib/tests/restapi.py
index 58766950ce..fc4ff939bb 100644
--- a/bitbake/lib/layerindexlib/tests/restapi.py
+++ b/bitbake/lib/layerindexlib/tests/restapi.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2017-2018 Wind River Systems, Inc. 1# Copyright (C) 2017-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.