summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/layerindexlib/tests
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:44:04 +0100
commit79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b (patch)
tree52e6473c7ee9687b2c4b6c8a2eb39da9b73ddaa5 /bitbake/lib/layerindexlib/tests
parent5eb53830942141bfe57251dffecda36df90a62c1 (diff)
downloadpoky-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/layerindexlib/tests')
-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
4 files changed, 8 insertions, 0 deletions
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.