aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastermain
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:41:13 +0100
commitff237c33337f4da2ca06c3a2c49699bc26608a6b (patch)
treeffe4392ebc075494b69e221e205f3a54a7a3137e /lib/toaster/toastermain
parent93e94c06baf013e3d072465a55bddd1fe61c0772 (diff)
downloadbitbake-ff237c33337f4da2ca06c3a2c49699bc26608a6b.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastermain')
-rw-r--r--lib/toaster/toastermain/management/commands/builddelete.py4
-rw-r--r--lib/toaster/toastermain/management/commands/buildimport.py2
-rw-r--r--lib/toaster/toastermain/management/commands/buildslist.py4
-rw-r--r--lib/toaster/toastermain/management/commands/checksocket.py2
-rw-r--r--lib/toaster/toastermain/management/commands/perf.py4
-rw-r--r--lib/toaster/toastermain/settings.py2
-rw-r--r--lib/toaster/toastermain/settings_production_example.py2
-rw-r--r--lib/toaster/toastermain/settings_test.py2
-rw-r--r--lib/toaster/toastermain/urls.py2
-rw-r--r--lib/toaster/toastermain/wsgi.py4
10 files changed, 28 insertions, 0 deletions
diff --git a/lib/toaster/toastermain/management/commands/builddelete.py b/lib/toaster/toastermain/management/commands/builddelete.py
index bf69a8fb8..c2d773a57 100644
--- a/lib/toaster/toastermain/management/commands/builddelete.py
+++ b/lib/toaster/toastermain/management/commands/builddelete.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
from django.core.management.base import BaseCommand, CommandError
from django.core.exceptions import ObjectDoesNotExist
from orm.models import Build
diff --git a/lib/toaster/toastermain/management/commands/buildimport.py b/lib/toaster/toastermain/management/commands/buildimport.py
index 2d57ab557..2f99c6d55 100644
--- a/lib/toaster/toastermain/management/commands/buildimport.py
+++ b/lib/toaster/toastermain/management/commands/buildimport.py
@@ -6,6 +6,8 @@
#
# Copyright (C) 2018 Wind River Systems
#
+# 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/lib/toaster/toastermain/management/commands/buildslist.py b/lib/toaster/toastermain/management/commands/buildslist.py
index 70b5812d9..1ed20224d 100644
--- a/lib/toaster/toastermain/management/commands/buildslist.py
+++ b/lib/toaster/toastermain/management/commands/buildslist.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
from django.core.management.base import BaseCommand, CommandError
from orm.models import Build
import os
diff --git a/lib/toaster/toastermain/management/commands/checksocket.py b/lib/toaster/toastermain/management/commands/checksocket.py
index 0399b8659..d9cdb555d 100644
--- a/lib/toaster/toastermain/management/commands/checksocket.py
+++ b/lib/toaster/toastermain/management/commands/checksocket.py
@@ -6,6 +6,8 @@
#
# Copyright (C) 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/lib/toaster/toastermain/management/commands/perf.py b/lib/toaster/toastermain/management/commands/perf.py
index 6b450bbdf..7d629fb37 100644
--- a/lib/toaster/toastermain/management/commands/perf.py
+++ b/lib/toaster/toastermain/management/commands/perf.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
from django.core.management.base import BaseCommand
from django.test.client import Client
import os, sys, re
diff --git a/lib/toaster/toastermain/settings.py b/lib/toaster/toastermain/settings.py
index 13541d380..637355919 100644
--- a/lib/toaster/toastermain/settings.py
+++ b/lib/toaster/toastermain/settings.py
@@ -6,6 +6,8 @@
#
# Copyright (C) 2013 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/lib/toaster/toastermain/settings_production_example.py b/lib/toaster/toastermain/settings_production_example.py
index 61a288864..206762435 100644
--- a/lib/toaster/toastermain/settings_production_example.py
+++ b/lib/toaster/toastermain/settings_production_example.py
@@ -6,6 +6,8 @@
#
# Copyright (C) 2016 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/lib/toaster/toastermain/settings_test.py b/lib/toaster/toastermain/settings_test.py
index a32271157..963d77f28 100644
--- a/lib/toaster/toastermain/settings_test.py
+++ b/lib/toaster/toastermain/settings_test.py
@@ -6,6 +6,8 @@
#
# Copyright (C) 2016 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/lib/toaster/toastermain/urls.py b/lib/toaster/toastermain/urls.py
index e2fb0aebf..1a98754ed 100644
--- a/lib/toaster/toastermain/urls.py
+++ b/lib/toaster/toastermain/urls.py
@@ -6,6 +6,8 @@
#
# Copyright (C) 2013 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/lib/toaster/toastermain/wsgi.py b/lib/toaster/toastermain/wsgi.py
index 031b314b1..5ad22aea1 100644
--- a/lib/toaster/toastermain/wsgi.py
+++ b/lib/toaster/toastermain/wsgi.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
"""
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-