diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-30 11:05:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-04 10:44:04 +0100 |
commit | 79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b (patch) | |
tree | 52e6473c7ee9687b2c4b6c8a2eb39da9b73ddaa5 /bitbake/lib/toaster/bldcontrol | |
parent | 5eb53830942141bfe57251dffecda36df90a62c1 (diff) | |
download | poky-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/bldcontrol')
7 files changed, 24 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/admin.py b/bitbake/lib/toaster/bldcontrol/admin.py index fcbe5f5935..e85c30ed11 100644 --- a/bitbake/lib/toaster/bldcontrol/admin.py +++ b/bitbake/lib/toaster/bldcontrol/admin.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from django.contrib import admin | 5 | from django.contrib import admin |
2 | from django.contrib.admin.filters import RelatedFieldListFilter | 6 | from django.contrib.admin.filters import RelatedFieldListFilter |
3 | from .models import BuildEnvironment | 7 | from .models import BuildEnvironment |
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py index 5195600d90..d182a36e9e 100644 --- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py +++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py | |||
@@ -6,6 +6,8 @@ | |||
6 | # | 6 | # |
7 | # Copyright (C) 2014 Intel Corporation | 7 | # Copyright (C) 2014 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/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 9490635934..4d4afafd4d 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -6,6 +6,8 @@ | |||
6 | # | 6 | # |
7 | # Copyright (C) 2014 Intel Corporation | 7 | # Copyright (C) 2014 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/bldcontrol/management/commands/checksettings.py b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py index 14298d9daf..fe2c4dc2bb 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from django.core.management.base import BaseCommand, CommandError | 5 | from django.core.management.base import BaseCommand, CommandError |
2 | from django.db import transaction | 6 | from django.db import transaction |
3 | 7 | ||
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py index 6a55dd46c8..50ec409860 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from django.core.management.base import BaseCommand | 5 | from django.core.management.base import BaseCommand |
2 | from django.db import transaction | 6 | from django.db import transaction |
3 | from django.db.models import Q | 7 | from django.db.models import Q |
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py index 409614b9e7..bcffcf5e20 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from __future__ import unicode_literals | 5 | from __future__ import unicode_literals |
2 | from django.db import models | 6 | from django.db import models |
3 | from django.core.validators import MaxValueValidator, MinValueValidator | 7 | from django.core.validators import MaxValueValidator, MinValueValidator |
diff --git a/bitbake/lib/toaster/bldcontrol/views.py b/bitbake/lib/toaster/bldcontrol/views.py index 60f00ef0ef..286d88b45a 100644 --- a/bitbake/lib/toaster/bldcontrol/views.py +++ b/bitbake/lib/toaster/bldcontrol/views.py | |||
@@ -1 +1,5 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | # Create your views here. | 5 | # Create your views here. |