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-06-19 18:04:01 +0100
commite1db6a16905f1f7af73e92019b8124881701b81a (patch)
tree99a5afff6908d94f02aa6a966fec38411363ba73 /bitbake/lib/bb/tests
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/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 64cdf3d90c..d1530e4dc6 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 1bc47405d9..d256aa7cf0 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.