From e1db6a16905f1f7af73e92019b8124881701b81a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 30 Apr 2019 11:05:26 +0100 Subject: 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 Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- bitbake/lib/bb/tests/codeparser.py | 2 ++ bitbake/lib/bb/tests/cooker.py | 2 ++ bitbake/lib/bb/tests/cow.py | 2 ++ bitbake/lib/bb/tests/data.py | 2 ++ bitbake/lib/bb/tests/event.py | 2 ++ bitbake/lib/bb/tests/fetch.py | 2 ++ bitbake/lib/bb/tests/parse.py | 2 ++ bitbake/lib/bb/tests/persist_data.py | 2 ++ bitbake/lib/bb/tests/utils.py | 2 ++ 9 files changed, 18 insertions(+) (limited to 'bitbake/lib/bb/tests') 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 @@ # Copyright (C) 2010 Chris Larson # Copyright (C) 2012 Richard Purdie # +# 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/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 @@ # # BitBake Tests for cooker.py # +# 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/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 @@ # # BitBake Tests for Copy-on-Write (cow.py) # +# SPDX-License-Identifier: GPL-2.0-only +# # Copyright 2006 Holger Freyther # # 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 @@ # Copyright (C) 2010 Chris Larson # Copyright (C) 2012 Richard Purdie # +# 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/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 @@ # # Copyright (C) 2017 Intel Corporation # +# 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/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 @@ # # Copyright (C) 2012 Richard Purdie # +# 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/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 @@ # # Copyright (C) 2015 Richard Purdie # +# 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/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 @@ # # Copyright (C) 2018 Garmin Ltd. # +# 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/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 @@ # # Copyright (C) 2012 Richard Purdie # +# 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. -- cgit v1.2.3-54-g00ecf