summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain/management
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/toaster/toastermain/management
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/toaster/toastermain/management')
-rw-r--r--bitbake/lib/toaster/toastermain/management/commands/builddelete.py4
-rw-r--r--bitbake/lib/toaster/toastermain/management/commands/buildimport.py2
-rw-r--r--bitbake/lib/toaster/toastermain/management/commands/buildslist.py4
-rw-r--r--bitbake/lib/toaster/toastermain/management/commands/checksocket.py2
-rw-r--r--bitbake/lib/toaster/toastermain/management/commands/perf.py4
5 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastermain/management/commands/builddelete.py b/bitbake/lib/toaster/toastermain/management/commands/builddelete.py
index bf69a8fb80..c2d773a577 100644
--- a/bitbake/lib/toaster/toastermain/management/commands/builddelete.py
+++ b/bitbake/lib/toaster/toastermain/management/commands/builddelete.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django.core.management.base import BaseCommand, CommandError 5from django.core.management.base import BaseCommand, CommandError
2from django.core.exceptions import ObjectDoesNotExist 6from django.core.exceptions import ObjectDoesNotExist
3from orm.models import Build 7from orm.models import Build
diff --git a/bitbake/lib/toaster/toastermain/management/commands/buildimport.py b/bitbake/lib/toaster/toastermain/management/commands/buildimport.py
index 2d57ab557a..2f99c6d556 100644
--- a/bitbake/lib/toaster/toastermain/management/commands/buildimport.py
+++ b/bitbake/lib/toaster/toastermain/management/commands/buildimport.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2018 Wind River Systems 7# Copyright (C) 2018 Wind River Systems
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/toaster/toastermain/management/commands/buildslist.py b/bitbake/lib/toaster/toastermain/management/commands/buildslist.py
index 70b5812d98..1ed20224d3 100644
--- a/bitbake/lib/toaster/toastermain/management/commands/buildslist.py
+++ b/bitbake/lib/toaster/toastermain/management/commands/buildslist.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django.core.management.base import BaseCommand, CommandError 5from django.core.management.base import BaseCommand, CommandError
2from orm.models import Build 6from orm.models import Build
3import os 7import os
diff --git a/bitbake/lib/toaster/toastermain/management/commands/checksocket.py b/bitbake/lib/toaster/toastermain/management/commands/checksocket.py
index 0399b8659b..d9cdb555df 100644
--- a/bitbake/lib/toaster/toastermain/management/commands/checksocket.py
+++ b/bitbake/lib/toaster/toastermain/management/commands/checksocket.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2015 Intel Corporation 7# Copyright (C) 2015 Intel Corporation
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/toaster/toastermain/management/commands/perf.py b/bitbake/lib/toaster/toastermain/management/commands/perf.py
index 6b450bbdfc..7d629fb37f 100644
--- a/bitbake/lib/toaster/toastermain/management/commands/perf.py
+++ b/bitbake/lib/toaster/toastermain/management/commands/perf.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django.core.management.base import BaseCommand 5from django.core.management.base import BaseCommand
2from django.test.client import Client 6from django.test.client import Client
3import os, sys, re 7import os, sys, re