summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/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/bb/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/bb/tests')
-rw-r--r--bitbake/lib/bb/tests/codeparser.py2
-rw-r--r--bitbake/lib/bb/tests/cooker.py2
-rw-r--r--bitbake/lib/bb/tests/cow.py2
-rw-r--r--bitbake/lib/bb/tests/data.py2
-rw-r--r--bitbake/lib/bb/tests/event.py2
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
-rw-r--r--bitbake/lib/bb/tests/parse.py2
-rw-r--r--bitbake/lib/bb/tests/persist_data.py2
-rw-r--r--bitbake/lib/bb/tests/utils.py2
9 files changed, 18 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/codeparser.py b/bitbake/lib/bb/tests/codeparser.py
index 3fd76a8f9f..00ee6de533 100644
--- a/bitbake/lib/bb/tests/codeparser.py
+++ b/bitbake/lib/bb/tests/codeparser.py
@@ -6,6 +6,8 @@
6# Copyright (C) 2010 Chris Larson 6# Copyright (C) 2010 Chris Larson
7# Copyright (C) 2012 Richard Purdie 7# Copyright (C) 2012 Richard Purdie
8# 8#
9# SPDX-License-Identifier: GPL-2.0-only
10#
9# This program is free software; you can redistribute it and/or modify 11# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License version 2 as 12# it under the terms of the GNU General Public License version 2 as
11# published by the Free Software Foundation. 13# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/cooker.py b/bitbake/lib/bb/tests/cooker.py
index 2b44236506..850dde4f6e 100644
--- a/bitbake/lib/bb/tests/cooker.py
+++ b/bitbake/lib/bb/tests/cooker.py
@@ -3,6 +3,8 @@
3# 3#
4# BitBake Tests for cooker.py 4# BitBake Tests for cooker.py
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/cow.py b/bitbake/lib/bb/tests/cow.py
index d149d84d0d..5051e4ed73 100644
--- a/bitbake/lib/bb/tests/cow.py
+++ b/bitbake/lib/bb/tests/cow.py
@@ -3,6 +3,8 @@
3# 3#
4# BitBake Tests for Copy-on-Write (cow.py) 4# BitBake Tests for Copy-on-Write (cow.py)
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# Copyright 2006 Holger Freyther <freyther@handhelds.org> 8# Copyright 2006 Holger Freyther <freyther@handhelds.org>
7# 9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
diff --git a/bitbake/lib/bb/tests/data.py b/bitbake/lib/bb/tests/data.py
index 3c511f214b..b584edee54 100644
--- a/bitbake/lib/bb/tests/data.py
+++ b/bitbake/lib/bb/tests/data.py
@@ -6,6 +6,8 @@
6# Copyright (C) 2010 Chris Larson 6# Copyright (C) 2010 Chris Larson
7# Copyright (C) 2012 Richard Purdie 7# Copyright (C) 2012 Richard Purdie
8# 8#
9# SPDX-License-Identifier: GPL-2.0-only
10#
9# This program is free software; you can redistribute it and/or modify 11# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License version 2 as 12# it under the terms of the GNU General Public License version 2 as
11# published by the Free Software Foundation. 13# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/event.py b/bitbake/lib/bb/tests/event.py
index d3a5f6269f..4822dc7bca 100644
--- a/bitbake/lib/bb/tests/event.py
+++ b/bitbake/lib/bb/tests/event.py
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2017 Intel Corporation 6# Copyright (C) 2017 Intel Corporation
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 429998b34f..559b4892e3 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2012 Richard Purdie 6# Copyright (C) 2012 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/parse.py b/bitbake/lib/bb/tests/parse.py
index 747fc35fc2..bbb4dc376c 100644
--- a/bitbake/lib/bb/tests/parse.py
+++ b/bitbake/lib/bb/tests/parse.py
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2015 Richard Purdie 6# Copyright (C) 2015 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/persist_data.py b/bitbake/lib/bb/tests/persist_data.py
index 812bcbd7b8..6aee9f1ca8 100644
--- a/bitbake/lib/bb/tests/persist_data.py
+++ b/bitbake/lib/bb/tests/persist_data.py
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2018 Garmin Ltd. 6# Copyright (C) 2018 Garmin Ltd.
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tests/utils.py b/bitbake/lib/bb/tests/utils.py
index f1cd83a419..13351068d7 100644
--- a/bitbake/lib/bb/tests/utils.py
+++ b/bitbake/lib/bb/tests/utils.py
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2012 Richard Purdie 6# Copyright (C) 2012 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.