From 79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b 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: ff237c33337f4da2ca06c3a2c49699bc26608a6b) Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 2 ++ bitbake/bin/bitbake-diffsigs | 2 ++ bitbake/bin/bitbake-hashserv | 2 ++ bitbake/bin/bitbake-layers | 2 ++ bitbake/bin/bitbake-prserv | 4 ++++ bitbake/bin/bitbake-selftest | 2 ++ bitbake/bin/bitbake-worker | 3 +++ bitbake/bin/bitdoc | 2 ++ bitbake/bin/git-make-shallow | 4 ++++ bitbake/bin/toaster | 4 +++- bitbake/bin/toaster-eventreplay | 3 ++- 11 files changed, 28 insertions(+), 2 deletions(-) (limited to 'bitbake/bin') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 716cb55546..0205b67f99 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -9,6 +9,8 @@ # Copyright (C) 2005 ROAD GmbH # Copyright (C) 2006 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/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs index 73229b7735..de4e3786e9 100755 --- a/bitbake/bin/bitbake-diffsigs +++ b/bitbake/bin/bitbake-diffsigs @@ -5,6 +5,8 @@ # # Copyright (C) 2012-2013, 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/bin/bitbake-hashserv b/bitbake/bin/bitbake-hashserv index c49397b73a..924e602592 100755 --- a/bitbake/bin/bitbake-hashserv +++ b/bitbake/bin/bitbake-hashserv @@ -2,6 +2,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/bin/bitbake-layers b/bitbake/bin/bitbake-layers index d184011ea6..da52990515 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers @@ -7,6 +7,8 @@ # Copyright (C) 2011 Mentor Graphics Corporation # Copyright (C) 2011-2015 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/bin/bitbake-prserv b/bitbake/bin/bitbake-prserv index f38d2dd882..1e9b6cbc1b 100755 --- a/bitbake/bin/bitbake-prserv +++ b/bitbake/bin/bitbake-prserv @@ -1,4 +1,8 @@ #!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0-only +# + import os import sys,logging import optparse diff --git a/bitbake/bin/bitbake-selftest b/bitbake/bin/bitbake-selftest index 99f1af910f..5b2a5e1d15 100755 --- a/bitbake/bin/bitbake-selftest +++ b/bitbake/bin/bitbake-selftest @@ -2,6 +2,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/bin/bitbake-worker b/bitbake/bin/bitbake-worker index a9e997e1f6..f63f060c57 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0-only +# import os import sys diff --git a/bitbake/bin/bitdoc b/bitbake/bin/bitdoc index 2744678824..cfe54a9236 100755 --- a/bitbake/bin/bitdoc +++ b/bitbake/bin/bitdoc @@ -4,6 +4,8 @@ # # Copyright (C) 2005 Holger Hans Peter Freyther # +# 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/bin/git-make-shallow b/bitbake/bin/git-make-shallow index 296d3a3dbd..57069f7edf 100755 --- a/bitbake/bin/git-make-shallow +++ b/bitbake/bin/git-make-shallow @@ -1,4 +1,8 @@ #!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0-only +# + """git-make-shallow: make the current git repository shallow Remove the history of the specified revisions, then optionally filter the diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index ecf66fa51f..9da2a2649c 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -3,7 +3,9 @@ # toaster - shell script to start Toaster # Copyright (C) 2013-2015 Intel Corp. - +# +# SPDX-License-Identifier: GPL-2.0-or-later +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or diff --git a/bitbake/bin/toaster-eventreplay b/bitbake/bin/toaster-eventreplay index 80967a0934..abd91fe8b2 100755 --- a/bitbake/bin/toaster-eventreplay +++ b/bitbake/bin/toaster-eventreplay @@ -4,10 +4,11 @@ # # Copyright (C) 2014 Alex Damian # +# SPDX-License-Identifier: GPL-2.0-only +# # This file re-uses code spread throughout other Bitbake source files. # As such, all other copyrights belong to their own right holders. # -# # 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