summaryrefslogtreecommitdiffstats
path: root/bitbake
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-06-19 18:04:01 +0100
commite1db6a16905f1f7af73e92019b8124881701b81a (patch)
tree99a5afff6908d94f02aa6a966fec38411363ba73 /bitbake
parentb164f0dc3e69ba9cb552b48834cd6c50f50c5000 (diff)
downloadpoky-e1db6a16905f1f7af73e92019b8124881701b81a.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: ac556588fac55e91b7ce4839a975eb9ebb5aa192) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/HEADER2
-rw-r--r--bitbake/LICENSE12
-rw-r--r--bitbake/LICENSE.GPL-2.0-only (renamed from bitbake/COPYING)61
-rw-r--r--bitbake/LICENSE.MIT25
-rwxr-xr-xbitbake/bin/bitbake2
-rwxr-xr-xbitbake/bin/bitbake-diffsigs2
-rwxr-xr-xbitbake/bin/bitbake-hashserv2
-rwxr-xr-xbitbake/bin/bitbake-layers2
-rwxr-xr-xbitbake/bin/bitbake-prserv4
-rwxr-xr-xbitbake/bin/bitbake-selftest2
-rwxr-xr-xbitbake/bin/bitbake-worker3
-rwxr-xr-xbitbake/bin/bitdoc2
-rwxr-xr-xbitbake/bin/git-make-shallow4
-rwxr-xr-xbitbake/bin/toaster4
-rwxr-xr-xbitbake/bin/toaster-eventreplay3
-rw-r--r--bitbake/lib/bb/__init__.py2
-rw-r--r--bitbake/lib/bb/build.py2
-rw-r--r--bitbake/lib/bb/cache.py2
-rw-r--r--bitbake/lib/bb/cache_extra.py2
-rw-r--r--bitbake/lib/bb/checksum.py2
-rw-r--r--bitbake/lib/bb/codeparser.py4
-rw-r--r--bitbake/lib/bb/command.py2
-rw-r--r--bitbake/lib/bb/compat.py4
-rw-r--r--bitbake/lib/bb/cooker.py2
-rw-r--r--bitbake/lib/bb/cookerdata.py2
-rw-r--r--bitbake/lib/bb/daemonize.py4
-rw-r--r--bitbake/lib/bb/data.py2
-rw-r--r--bitbake/lib/bb/data_smart.py2
-rw-r--r--bitbake/lib/bb/event.py2
-rw-r--r--bitbake/lib/bb/exceptions.py3
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py2
-rw-r--r--bitbake/lib/bb/fetch2/clearcase.py2
-rw-r--r--bitbake/lib/bb/fetch2/cvs.py2
-rw-r--r--bitbake/lib/bb/fetch2/git.py4
-rw-r--r--bitbake/lib/bb/fetch2/gitannex.py2
-rw-r--r--bitbake/lib/bb/fetch2/gitsm.py2
-rw-r--r--bitbake/lib/bb/fetch2/hg.py2
-rw-r--r--bitbake/lib/bb/fetch2/local.py2
-rw-r--r--bitbake/lib/bb/fetch2/npm.py3
-rw-r--r--bitbake/lib/bb/fetch2/osc.py3
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py2
-rw-r--r--bitbake/lib/bb/fetch2/repo.py2
-rw-r--r--bitbake/lib/bb/fetch2/s3.py2
-rw-r--r--bitbake/lib/bb/fetch2/sftp.py2
-rw-r--r--bitbake/lib/bb/fetch2/ssh.py2
-rw-r--r--bitbake/lib/bb/fetch2/svn.py2
-rw-r--r--bitbake/lib/bb/fetch2/wget.py2
-rwxr-xr-xbitbake/lib/bb/main.py2
-rw-r--r--bitbake/lib/bb/methodpool.py2
-rw-r--r--bitbake/lib/bb/monitordisk.py2
-rw-r--r--bitbake/lib/bb/msg.py2
-rw-r--r--bitbake/lib/bb/namedtuple_with_abc.py3
-rw-r--r--bitbake/lib/bb/parse/__init__.py2
-rw-r--r--bitbake/lib/bb/parse/ast.py2
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py2
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py2
-rw-r--r--bitbake/lib/bb/parse/parse_py/__init__.py2
-rw-r--r--bitbake/lib/bb/persist_data.py2
-rw-r--r--bitbake/lib/bb/process.py4
-rw-r--r--bitbake/lib/bb/progress.py2
-rw-r--r--bitbake/lib/bb/providers.py2
-rw-r--r--bitbake/lib/bb/remotedata.py2
-rw-r--r--bitbake/lib/bb/runqueue.py2
-rw-r--r--bitbake/lib/bb/server/__init__.py2
-rw-r--r--bitbake/lib/bb/server/process.py2
-rw-r--r--bitbake/lib/bb/server/xmlrpcclient.py2
-rw-r--r--bitbake/lib/bb/server/xmlrpcserver.py2
-rw-r--r--bitbake/lib/bb/siggen.py4
-rw-r--r--bitbake/lib/bb/taskdata.py2
-rw-r--r--bitbake/lib/bb/tests/codeparser.py2
-rw-r--r--bitbake/lib/bb/tests/cooker.py2
-rw-r--r--bitbake/lib/bb/tests/cow.py2
-rw-r--r--bitbake/lib/bb/tests/data.py2
-rw-r--r--bitbake/lib/bb/tests/event.py2
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
-rw-r--r--bitbake/lib/bb/tests/parse.py2
-rw-r--r--bitbake/lib/bb/tests/persist_data.py2
-rw-r--r--bitbake/lib/bb/tests/utils.py2
-rw-r--r--bitbake/lib/bb/tinfoil.py2
-rw-r--r--bitbake/lib/bb/ui/__init__.py2
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py2
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
-rw-r--r--bitbake/lib/bb/ui/ncurses.py2
-rw-r--r--bitbake/lib/bb/ui/taskexp.py2
-rw-r--r--bitbake/lib/bb/ui/toasterui.py2
-rw-r--r--bitbake/lib/bb/ui/uievent.py2
-rw-r--r--bitbake/lib/bb/ui/uihelper.py2
-rw-r--r--bitbake/lib/bb/utils.py2
-rw-r--r--bitbake/lib/bblayers/__init__.py4
-rw-r--r--bitbake/lib/bblayers/action.py4
-rw-r--r--bitbake/lib/bblayers/common.py4
-rw-r--r--bitbake/lib/bblayers/layerindex.py4
-rw-r--r--bitbake/lib/bblayers/query.py4
-rw-r--r--bitbake/lib/hashserv/__init__.py2
-rw-r--r--bitbake/lib/hashserv/tests.py2
-rw-r--r--bitbake/lib/layerindexlib/__init__.py2
-rw-r--r--bitbake/lib/layerindexlib/cooker.py2
-rw-r--r--bitbake/lib/layerindexlib/plugin.py2
-rw-r--r--bitbake/lib/layerindexlib/restapi.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/common.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/cooker.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/layerindexobj.py2
-rw-r--r--bitbake/lib/layerindexlib/tests/restapi.py2
-rw-r--r--bitbake/lib/progressbar/__init__.py2
-rw-r--r--bitbake/lib/progressbar/compat.py2
-rw-r--r--bitbake/lib/progressbar/progressbar.py2
-rw-r--r--bitbake/lib/progressbar/widgets.py2
-rw-r--r--bitbake/lib/prserv/__init__.py4
-rw-r--r--bitbake/lib/prserv/db.py4
-rw-r--r--bitbake/lib/prserv/serv.py4
-rw-r--r--bitbake/lib/pyinotify.py2
-rw-r--r--bitbake/lib/toaster/bldcollector/admin.py4
-rw-r--r--bitbake/lib/toaster/bldcollector/urls.py2
-rw-r--r--bitbake/lib/toaster/bldcollector/views.py2
-rw-r--r--bitbake/lib/toaster/bldcontrol/admin.py4
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py2
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py4
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py4
-rw-r--r--bitbake/lib/toaster/bldcontrol/models.py4
-rw-r--r--bitbake/lib/toaster/bldcontrol/views.py4
-rwxr-xr-xbitbake/lib/toaster/manage.py4
-rw-r--r--bitbake/lib/toaster/orm/management/commands/lsupdates.py2
-rw-r--r--bitbake/lib/toaster/orm/models.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/selenium_helpers.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/selenium_helpers_base.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_all_builds_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_all_projects_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_js_unit_tests.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_landing_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_layerdetails_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_new_project_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_project_builds_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_project_config_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_project_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_sample.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_task_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_toastertable_ui.py2
-rw-r--r--bitbake/lib/toaster/tests/builds/buildtest.py2
-rw-r--r--bitbake/lib/toaster/tests/builds/test_core_image_min.py2
-rw-r--r--bitbake/lib/toaster/tests/commands/test_loaddata.py2
-rw-r--r--bitbake/lib/toaster/tests/commands/test_lsupdates.py2
-rw-r--r--bitbake/lib/toaster/tests/commands/test_runbuilds.py2
-rw-r--r--bitbake/lib/toaster/tests/db/test_db.py2
-rw-r--r--bitbake/lib/toaster/tests/eventreplay/__init__.py2
-rw-r--r--bitbake/lib/toaster/tests/functional/functional_helpers.py2
-rw-r--r--bitbake/lib/toaster/tests/functional/test_functional_basic.py2
-rw-r--r--bitbake/lib/toaster/tests/views/test_views.py2
-rw-r--r--bitbake/lib/toaster/toastergui/api.py2
-rw-r--r--bitbake/lib/toaster/toastergui/buildtables.py2
-rw-r--r--bitbake/lib/toaster/toastergui/tablefilter.py2
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py2
-rw-r--r--bitbake/lib/toaster/toastergui/templatetags/field_values_filter.py4
-rw-r--r--bitbake/lib/toaster/toastergui/templatetags/objects_to_dictionaries_filter.py4
-rw-r--r--bitbake/lib/toaster/toastergui/templatetags/project_url_tag.py4
-rw-r--r--bitbake/lib/toaster/toastergui/templatetags/projecttags.py2
-rw-r--r--bitbake/lib/toaster/toastergui/typeaheads.py2
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py2
-rw-r--r--bitbake/lib/toaster/toastergui/views.py2
-rw-r--r--bitbake/lib/toaster/toastergui/widgets.py2
-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
-rw-r--r--bitbake/lib/toaster/toastermain/settings.py2
-rw-r--r--bitbake/lib/toaster/toastermain/settings_production_example.py2
-rw-r--r--bitbake/lib/toaster/toastermain/settings_test.py2
-rw-r--r--bitbake/lib/toaster/toastermain/urls.py2
-rw-r--r--bitbake/lib/toaster/toastermain/wsgi.py4
177 files changed, 454 insertions, 60 deletions
diff --git a/bitbake/HEADER b/bitbake/HEADER
index 9859255df3..113872d469 100644
--- a/bitbake/HEADER
+++ b/bitbake/HEADER
@@ -4,6 +4,8 @@
4# <one line to give the program's name and a brief idea of what it does.> 4# <one line to give the program's name and a brief idea of what it does.>
5# Copyright (C) <year> <name of author> 5# Copyright (C) <year> <name of author>
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/LICENSE b/bitbake/LICENSE
index 7d4e5f44b5..8458042303 100644
--- a/bitbake/LICENSE
+++ b/bitbake/LICENSE
@@ -1,4 +1,13 @@
1BitBake is licensed under the GNU General Public License version 2.0. See COPYING for further details. 1BitBake is licensed under the GNU General Public License version 2.0. See
2LICENSE.GPL-2.0-only for further details.
3
4Individual files contain the following style tags instead of the full license text:
5
6 SPDX-License-Identifier: GPL-2.0-only
7
8This enables machine processing of license information based on the SPDX
9License Identifiers that are here available: http://spdx.org/licenses/
10
2 11
3The following external components are distributed with this software: 12The following external components are distributed with this software:
4 13
@@ -17,3 +26,4 @@ Foundation and individual contributors.
17* Font Awesome fonts redistributed under the SIL Open Font License 1.1 26* Font Awesome fonts redistributed under the SIL Open Font License 1.1
18 27
19* simplediff is distributed under the zlib license. 28* simplediff is distributed under the zlib license.
29
diff --git a/bitbake/COPYING b/bitbake/LICENSE.GPL-2.0-only
index d511905c16..5db3c0a21c 100644
--- a/bitbake/COPYING
+++ b/bitbake/LICENSE.GPL-2.0-only
@@ -279,61 +279,10 @@ POSSIBILITY OF SUCH DAMAGES.
279 279
280 END OF TERMS AND CONDITIONS 280 END OF TERMS AND CONDITIONS
281 281
282 How to Apply These Terms to Your New Programs 282Note:
283Individual files contain the following tag instead of the full license text.
283 284
284 If you develop a new program, and you want it to be of the greatest 285 SPDX-License-Identifier: GPL-2.0-only
285possible use to the public, the best way to achieve this is to make it
286free software which everyone can redistribute and change under these terms.
287 286
288 To do so, attach the following notices to the program. It is safest 287This enables machine processing of license information based on the SPDX
289to attach them to the start of each source file to most effectively 288License Identifiers that are here available: http://spdx.org/licenses/
290convey the exclusion of warranty; and each file should have at least
291the "copyright" line and a pointer to where the full notice is found.
292
293 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) <year> <name of author>
295
296 This program is free software; you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or
299 (at your option) any later version.
300
301 This program is distributed in the hope that it will be useful,
302 but WITHOUT ANY WARRANTY; without even the implied warranty of
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 GNU General Public License for more details.
305
306 You should have received a copy of the GNU General Public License along
307 with this program; if not, write to the Free Software Foundation, Inc.,
308 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
310Also add information on how to contact you by electronic and paper mail.
311
312If the program is interactive, make it output a short notice like this
313when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320The hypothetical commands `show w' and `show c' should show the appropriate
321parts of the General Public License. Of course, the commands you use may
322be called something other than `show w' and `show c'; they could even be
323mouse-clicks or menu items--whatever suits your program.
324
325You should also get your employer (if you work as a programmer) or your
326school, if any, to sign a "copyright disclaimer" for the program, if
327necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335This General Public License does not permit incorporating your program into
336proprietary programs. If your program is a subroutine library, you may
337consider it more useful to permit linking proprietary applications with the
338library. If this is what you want to do, use the GNU Lesser General
339Public License instead of this License.
diff --git a/bitbake/LICENSE.MIT b/bitbake/LICENSE.MIT
new file mode 100644
index 0000000000..a6919eb7e1
--- /dev/null
+++ b/bitbake/LICENSE.MIT
@@ -0,0 +1,25 @@
1Permission is hereby granted, free of charge, to any person obtaining a copy
2of this software and associated documentation files (the "Software"), to deal
3in the Software without restriction, including without limitation the rights
4to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5copies of the Software, and to permit persons to whom the Software is
6furnished to do so, subject to the following conditions:
7
8The above copyright notice and this permission notice shall be included in
9all copies or substantial portions of the Software.
10
11THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17SOFTWARE.
18
19Note:
20Individual files contain the following tag instead of the full license text.
21
22 SPDX-License-Identifier: MIT
23
24This enables machine processing of license information based on the SPDX
25License Identifiers that are here available: http://spdx.org/licenses/
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 55eb530899..cd1adc3703 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -9,6 +9,8 @@
9# Copyright (C) 2005 ROAD GmbH 9# Copyright (C) 2005 ROAD GmbH
10# Copyright (C) 2006 Richard Purdie 10# Copyright (C) 2006 Richard Purdie
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index fa430bb3b3..673565a84f 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2012-2013, 2017 Intel Corporation 6# Copyright (C) 2012-2013, 2017 Intel Corporation
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# 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 @@
2# 2#
3# Copyright (C) 2018 Garmin Ltd. 3# Copyright (C) 2018 Garmin Ltd.
4# 4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# 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 @@
7# Copyright (C) 2011 Mentor Graphics Corporation 7# Copyright (C) 2011 Mentor Graphics Corporation
8# Copyright (C) 2011-2015 Intel Corporation 8# Copyright (C) 2011-2015 Intel Corporation
9# 9#
10# SPDX-License-Identifier: GPL-2.0-only
11#
10# This program is free software; you can redistribute it and/or modify 12# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License version 2 as 13# it under the terms of the GNU General Public License version 2 as
12# published by the Free Software Foundation. 14# 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 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5
2import os 6import os
3import sys,logging 7import sys,logging
4import optparse 8import 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 @@
2# 2#
3# Copyright (C) 2012 Richard Purdie 3# Copyright (C) 2012 Richard Purdie
4# 4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# 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 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
2 5
3import os 6import os
4import sys 7import 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 @@
4# 4#
5# Copyright (C) 2005 Holger Hans Peter Freyther 5# Copyright (C) 2005 Holger Hans Peter Freyther
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# 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 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5
2"""git-make-shallow: make the current git repository shallow 6"""git-make-shallow: make the current git repository shallow
3 7
4Remove the history of the specified revisions, then optionally filter the 8Remove 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 @@
3# toaster - shell script to start Toaster 3# toaster - shell script to start Toaster
4 4
5# Copyright (C) 2013-2015 Intel Corp. 5# Copyright (C) 2013-2015 Intel Corp.
6 6#
7# SPDX-License-Identifier: GPL-2.0-or-later
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by 10# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or 11# 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 @@
4# 4#
5# Copyright (C) 2014 Alex Damian 5# Copyright (C) 2014 Alex Damian
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This file re-uses code spread throughout other Bitbake source files. 9# This file re-uses code spread throughout other Bitbake source files.
8# As such, all other copyrights belong to their own right holders. 10# As such, all other copyrights belong to their own right holders.
9# 11#
10#
11# This program is free software; you can redistribute it and/or modify 12# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 13# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 14# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index df54b6b304..977e1095a7 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -8,6 +8,8 @@
8# 8#
9# Based on Gentoo's portage.py. 9# Based on Gentoo's portage.py.
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 7571421d71..8b063194b7 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -10,6 +10,8 @@
10# 10#
11# Based on Gentoo's portage.py. 11# Based on Gentoo's portage.py.
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 65c514b908..42193dc9d6 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -15,6 +15,8 @@
15# Copyright (C) 2005 Holger Hans Peter Freyther 15# Copyright (C) 2005 Holger Hans Peter Freyther
16# Copyright (C) 2005 ROAD GmbH 16# Copyright (C) 2005 ROAD GmbH
17# 17#
18# SPDX-License-Identifier: GPL-2.0-only
19#
18# This program is free software; you can redistribute it and/or modify 20# This program is free software; you can redistribute it and/or modify
19# it under the terms of the GNU General Public License version 2 as 21# it under the terms of the GNU General Public License version 2 as
20# published by the Free Software Foundation. 22# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/cache_extra.py b/bitbake/lib/bb/cache_extra.py
index 83f4959d6c..108d55d16f 100644
--- a/bitbake/lib/bb/cache_extra.py
+++ b/bitbake/lib/bb/cache_extra.py
@@ -12,6 +12,8 @@
12 12
13# Copyright (C) 2011, Intel Corporation. All rights reserved. 13# Copyright (C) 2011, Intel Corporation. All rights reserved.
14 14
15# SPDX-License-Identifier: GPL-2.0-only
16#
15# This program is free software; you can redistribute it and/or modify 17# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as 18# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation. 19# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/checksum.py b/bitbake/lib/bb/checksum.py
index 4e1598fe83..9ac07a6a84 100644
--- a/bitbake/lib/bb/checksum.py
+++ b/bitbake/lib/bb/checksum.py
@@ -2,6 +2,8 @@
2# 2#
3# Copyright (C) 2012 Intel Corporation 3# Copyright (C) 2012 Intel Corporation
4# 4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index ac995a6a1d..fd2c4734f0 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1""" 5"""
2BitBake code parser 6BitBake code parser
3 7
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 6c966e3dbc..9ebaac643a 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -6,6 +6,8 @@ Provide an interface to interact with the bitbake server through 'commands'
6 6
7# Copyright (C) 2006-2007 Richard Purdie 7# Copyright (C) 2006-2007 Richard Purdie
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/bb/compat.py b/bitbake/lib/bb/compat.py
index de1923d28a..49356681ab 100644
--- a/bitbake/lib/bb/compat.py
+++ b/bitbake/lib/bb/compat.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1"""Code pulled from future python versions, here for compatibility""" 5"""Code pulled from future python versions, here for compatibility"""
2 6
3from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict 7from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 8dac7934f7..a63ef86d93 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -9,6 +9,8 @@
9# Copyright (C) 2005 ROAD GmbH 9# Copyright (C) 2005 ROAD GmbH
10# Copyright (C) 2006 - 2007 Richard Purdie 10# Copyright (C) 2006 - 2007 Richard Purdie
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 09412e28cf..3b074b2f3a 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -9,6 +9,8 @@
9# Copyright (C) 2005 ROAD GmbH 9# Copyright (C) 2005 ROAD GmbH
10# Copyright (C) 2006 Richard Purdie 10# Copyright (C) 2006 Richard Purdie
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/daemonize.py b/bitbake/lib/bb/daemonize.py
index c937675eb6..f01e6ec7cc 100644
--- a/bitbake/lib/bb/daemonize.py
+++ b/bitbake/lib/bb/daemonize.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1""" 5"""
2Python Daemonizing helper 6Python Daemonizing helper
3 7
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 29c2388038..ba50b9ff1b 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -22,6 +22,8 @@ the speed is more critical here.
22# Copyright (C) 2003, 2004 Chris Larson 22# Copyright (C) 2003, 2004 Chris Larson
23# Copyright (C) 2005 Holger Hans Peter Freyther 23# Copyright (C) 2005 Holger Hans Peter Freyther
24# 24#
25# SPDX-License-Identifier: GPL-2.0-only
26#
25# This program is free software; you can redistribute it and/or modify 27# This program is free software; you can redistribute it and/or modify
26# it under the terms of the GNU General Public License version 2 as 28# it under the terms of the GNU General Public License version 2 as
27# published by the Free Software Foundation. 29# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 07db7be97a..441bb3001b 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -14,6 +14,8 @@ BitBake build tools.
14# Copyright (C) 2005 Uli Luckas 14# Copyright (C) 2005 Uli Luckas
15# Copyright (C) 2005 ROAD GmbH 15# Copyright (C) 2005 ROAD GmbH
16# 16#
17# SPDX-License-Identifier: GPL-2.0-only
18#
17# This program is free software; you can redistribute it and/or modify 19# This program is free software; you can redistribute it and/or modify
18# it under the terms of the GNU General Public License version 2 as 20# it under the terms of the GNU General Public License version 2 as
19# published by the Free Software Foundation. 21# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 5b1b094a80..48f8e73847 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -9,6 +9,8 @@ BitBake build tools.
9 9
10# Copyright (C) 2003, 2004 Chris Larson 10# Copyright (C) 2003, 2004 Chris Larson
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/exceptions.py b/bitbake/lib/bb/exceptions.py
index cd713439ea..ecbad59970 100644
--- a/bitbake/lib/bb/exceptions.py
+++ b/bitbake/lib/bb/exceptions.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1 4
2import inspect 5import inspect
3import traceback 6import traceback
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 7f5d085088..f99d79f0a1 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -10,6 +10,8 @@ BitBake build tools.
10# Copyright (C) 2003, 2004 Chris Larson 10# Copyright (C) 2003, 2004 Chris Larson
11# Copyright (C) 2012 Intel Corporation 11# Copyright (C) 2012 Intel Corporation
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
index 658502f9a6..891fef9b9d 100644
--- a/bitbake/lib/bb/fetch2/bzr.py
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -10,6 +10,8 @@ BitBake 'Fetch' implementation for bzr.
10# BitBake build tools. 10# BitBake build tools.
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/clearcase.py b/bitbake/lib/bb/fetch2/clearcase.py
index 3a6573d0b2..ff181bb78b 100644
--- a/bitbake/lib/bb/fetch2/clearcase.py
+++ b/bitbake/lib/bb/fetch2/clearcase.py
@@ -47,6 +47,8 @@ User credentials:
47""" 47"""
48# Copyright (C) 2014 Siemens AG 48# Copyright (C) 2014 Siemens AG
49# 49#
50# SPDX-License-Identifier: GPL-2.0-only
51#
50# This program is free software; you can redistribute it and/or modify 52# This program is free software; you can redistribute it and/or modify
51# it under the terms of the GNU General Public License version 2 as 53# it under the terms of the GNU General Public License version 2 as
52# published by the Free Software Foundation. 54# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py
index 0e0a3196f8..666f4be2bc 100644
--- a/bitbake/lib/bb/fetch2/cvs.py
+++ b/bitbake/lib/bb/fetch2/cvs.py
@@ -10,6 +10,8 @@ BitBake build tools.
10 10
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index c69d25c914..78ad18cc7a 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -55,7 +55,9 @@ Supported SRC_URI options are:
55 55
56""" 56"""
57 57
58#Copyright (C) 2005 Richard Purdie 58# Copyright (C) 2005 Richard Purdie
59#
60# SPDX-License-Identifier: GPL-2.0-only
59# 61#
60# This program is free software; you can redistribute it and/or modify 62# This program is free software; you can redistribute it and/or modify
61# it under the terms of the GNU General Public License version 2 as 63# it under the terms of the GNU General Public License version 2 as
diff --git a/bitbake/lib/bb/fetch2/gitannex.py b/bitbake/lib/bb/fetch2/gitannex.py
index a9b69caab4..3a32c85a83 100644
--- a/bitbake/lib/bb/fetch2/gitannex.py
+++ b/bitbake/lib/bb/fetch2/gitannex.py
@@ -7,6 +7,8 @@ BitBake 'Fetch' git annex implementation
7# Copyright (C) 2014 Otavio Salvador 7# Copyright (C) 2014 Otavio Salvador
8# Copyright (C) 2014 O.S. Systems Software LTDA. 8# Copyright (C) 2014 O.S. Systems Software LTDA.
9# 9#
10# SPDX-License-Identifier: GPL-2.0-only
11#
10# This program is free software; you can redistribute it and/or modify 12# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License version 2 as 13# it under the terms of the GNU General Public License version 2 as
12# published by the Free Software Foundation. 14# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py
index a07eb7e7ee..719d6cd4bc 100644
--- a/bitbake/lib/bb/fetch2/gitsm.py
+++ b/bitbake/lib/bb/fetch2/gitsm.py
@@ -16,6 +16,8 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r
16 16
17# Copyright (C) 2013 Richard Purdie 17# Copyright (C) 2013 Richard Purdie
18# 18#
19# SPDX-License-Identifier: GPL-2.0-only
20#
19# This program is free software; you can redistribute it and/or modify 21# This program is free software; you can redistribute it and/or modify
20# it under the terms of the GNU General Public License version 2 as 22# it under the terms of the GNU General Public License version 2 as
21# published by the Free Software Foundation. 23# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index 5a2985e16c..c9eeaaefca 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -13,6 +13,8 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
13# it under the terms of the GNU General Public License version 2 as 13# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 14# published by the Free Software Foundation.
15# 15#
16# SPDX-License-Identifier: GPL-2.0-only
17#
16# This program is distributed in the hope that it will be useful, 18# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of 19# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index a114ac12e5..13e6d80b5b 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -10,6 +10,8 @@ BitBake build tools.
10 10
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py
index 65bf5a3644..7235f899f4 100644
--- a/bitbake/lib/bb/fetch2/npm.py
+++ b/bitbake/lib/bb/fetch2/npm.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1# ex:ts=4:sw=4:sts=4:et 4# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 5# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3""" 6"""
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py
index 6c60456b53..19c0d9dcaa 100644
--- a/bitbake/lib/bb/fetch2/osc.py
+++ b/bitbake/lib/bb/fetch2/osc.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1# ex:ts=4:sw=4:sts=4:et 4# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 5# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3""" 6"""
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
index 903a8e61ae..366da99eab 100644
--- a/bitbake/lib/bb/fetch2/perforce.py
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -8,6 +8,8 @@ BitBake 'Fetch' implementation for perforce
8# Copyright (C) 2003, 2004 Chris Larson 8# Copyright (C) 2003, 2004 Chris Larson
9# Copyright (C) 2016 Kodak Alaris, Inc. 9# Copyright (C) 2016 Kodak Alaris, Inc.
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py
index 8c7e81853a..066ab08fc3 100644
--- a/bitbake/lib/bb/fetch2/repo.py
+++ b/bitbake/lib/bb/fetch2/repo.py
@@ -10,6 +10,8 @@ BitBake "Fetch" repo (git) implementation
10# Based on git.py which is: 10# Based on git.py which is:
11#Copyright (C) 2005 Richard Purdie 11#Copyright (C) 2005 Richard Purdie
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/s3.py b/bitbake/lib/bb/fetch2/s3.py
index 1629288622..fae7c8b0f0 100644
--- a/bitbake/lib/bb/fetch2/s3.py
+++ b/bitbake/lib/bb/fetch2/s3.py
@@ -13,6 +13,8 @@ The aws tool must be correctly installed and configured prior to use.
13# Based in part on bb.fetch2.wget: 13# Based in part on bb.fetch2.wget:
14# Copyright (C) 2003, 2004 Chris Larson 14# Copyright (C) 2003, 2004 Chris Larson
15# 15#
16# SPDX-License-Identifier: GPL-2.0-only
17#
16# This program is free software; you can redistribute it and/or modify 18# This program is free software; you can redistribute it and/or modify
17# it under the terms of the GNU General Public License version 2 as 19# it under the terms of the GNU General Public License version 2 as
18# published by the Free Software Foundation. 20# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/sftp.py b/bitbake/lib/bb/fetch2/sftp.py
index 81884a6aa4..6dea6ad6b2 100644
--- a/bitbake/lib/bb/fetch2/sftp.py
+++ b/bitbake/lib/bb/fetch2/sftp.py
@@ -44,6 +44,8 @@ SRC_URI = "sftp://user@host.example.com/dir/path.file.txt"
44# Based in part on bb.fetch2.wget: 44# Based in part on bb.fetch2.wget:
45# Copyright (C) 2003, 2004 Chris Larson 45# Copyright (C) 2003, 2004 Chris Larson
46# 46#
47# SPDX-License-Identifier: GPL-2.0-only
48#
47# This program is free software; you can redistribute it and/or modify 49# This program is free software; you can redistribute it and/or modify
48# it under the terms of the GNU General Public License version 2 as 50# it under the terms of the GNU General Public License version 2 as
49# published by the Free Software Foundation. 51# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py
index 6047ee417a..d416a9db87 100644
--- a/bitbake/lib/bb/fetch2/ssh.py
+++ b/bitbake/lib/bb/fetch2/ssh.py
@@ -29,6 +29,8 @@ IETF secsh internet draft:
29# Copyright 2003 Holger Schurig 29# Copyright 2003 Holger Schurig
30# 30#
31# 31#
32# SPDX-License-Identifier: GPL-2.0-only
33#
32# This program is free software; you can redistribute it and/or modify 34# This program is free software; you can redistribute it and/or modify
33# it under the terms of the GNU General Public License version 2 as 35# it under the terms of the GNU General Public License version 2 as
34# published by the Free Software Foundation. 36# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
index 9dcf3eb090..4249e34c49 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -8,6 +8,8 @@ BitBake 'Fetch' implementation for svn.
8# Copyright (C) 2003, 2004 Chris Larson 8# Copyright (C) 2003, 2004 Chris Larson
9# Copyright (C) 2004 Marcin Juszkiewicz 9# Copyright (C) 2004 Marcin Juszkiewicz
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 3bb3e3bb0c..89dfd4a7b2 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -10,6 +10,8 @@ BitBake build tools.
10 10
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index 41dd3b9e03..215c63ef9f 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -9,6 +9,8 @@
9# Copyright (C) 2005 ROAD GmbH 9# Copyright (C) 2005 ROAD GmbH
10# Copyright (C) 2006 Richard Purdie 10# Copyright (C) 2006 Richard Purdie
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/methodpool.py b/bitbake/lib/bb/methodpool.py
index 49aed3338b..2f899098e6 100644
--- a/bitbake/lib/bb/methodpool.py
+++ b/bitbake/lib/bb/methodpool.py
@@ -4,6 +4,8 @@
4# 4#
5# Copyright (C) 2006 Holger Hans Peter Freyther 5# Copyright (C) 2006 Holger Hans Peter Freyther
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py
index 2ad1e61562..c243add540 100644
--- a/bitbake/lib/bb/monitordisk.py
+++ b/bitbake/lib/bb/monitordisk.py
@@ -4,6 +4,8 @@
4# 4#
5# Copyright (C) 2012 Robert Yang 5# Copyright (C) 2012 Robert Yang
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index 96f077ec49..64662079a4 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -9,6 +9,8 @@ Message handling infrastructure for bitbake
9 9
10# Copyright (C) 2006 Richard Purdie 10# Copyright (C) 2006 Richard Purdie
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/namedtuple_with_abc.py b/bitbake/lib/bb/namedtuple_with_abc.py
index 32f2fc642c..c8e1d55c15 100644
--- a/bitbake/lib/bb/namedtuple_with_abc.py
+++ b/bitbake/lib/bb/namedtuple_with_abc.py
@@ -1,6 +1,9 @@
1# http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/ 1# http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/
2#!/usr/bin/env python 2#!/usr/bin/env python
3# Copyright (c) 2011 Jan Kaliszewski (zuo). Available under the MIT License. 3# Copyright (c) 2011 Jan Kaliszewski (zuo). Available under the MIT License.
4#
5# SPDX-License-Identifier: MIT
6#
4 7
5""" 8"""
6namedtuple_with_abc.py: 9namedtuple_with_abc.py:
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 5397d57a51..8ff1b8a24a 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -9,6 +9,8 @@ File parsers for the BitBake build tools.
9# Copyright (C) 2003, 2004 Chris Larson 9# Copyright (C) 2003, 2004 Chris Larson
10# Copyright (C) 2003, 2004 Phil Blundell 10# Copyright (C) 2003, 2004 Phil Blundell
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 6d7c80b34f..cf76dadbaa 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -8,6 +8,8 @@
8# Copyright (C) 2003, 2004 Phil Blundell 8# Copyright (C) 2003, 2004 Phil Blundell
9# Copyright (C) 2009 Holger Hans Peter Freyther 9# Copyright (C) 2009 Holger Hans Peter Freyther
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 9dba5f2334..492057b443 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -12,6 +12,8 @@
12# Copyright (C) 2003, 2004 Chris Larson 12# Copyright (C) 2003, 2004 Chris Larson
13# Copyright (C) 2003, 2004 Phil Blundell 13# Copyright (C) 2003, 2004 Phil Blundell
14# 14#
15# SPDX-License-Identifier: GPL-2.0-only
16#
15# This program is free software; you can redistribute it and/or modify 17# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as 18# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation. 19# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index ea49f8ca93..d1784b6c5b 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -11,6 +11,8 @@
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# Copyright (C) 2003, 2004 Phil Blundell 12# Copyright (C) 2003, 2004 Phil Blundell
13# 13#
14# SPDX-License-Identifier: GPL-2.0-only
15#
14# This program is free software; you can redistribute it and/or modify 16# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License version 2 as 17# it under the terms of the GNU General Public License version 2 as
16# published by the Free Software Foundation. 18# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/parse_py/__init__.py b/bitbake/lib/bb/parse/parse_py/__init__.py
index 3e658d0de9..a8f78dba76 100644
--- a/bitbake/lib/bb/parse/parse_py/__init__.py
+++ b/bitbake/lib/bb/parse/parse_py/__init__.py
@@ -11,6 +11,8 @@ File parsers for the BitBake build tools.
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# Copyright (C) 2003, 2004 Phil Blundell 12# Copyright (C) 2003, 2004 Phil Blundell
13# 13#
14# SPDX-License-Identifier: GPL-2.0-only
15#
14# This program is free software; you can redistribute it and/or modify 16# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License version 2 as 17# it under the terms of the GNU General Public License version 2 as
16# published by the Free Software Foundation. 18# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 0d44100f10..cac56728a9 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -8,6 +8,8 @@ currently, providing a key/value store accessed by 'domain'.
8# Copyright (C) 2007 Richard Purdie 8# Copyright (C) 2007 Richard Purdie
9# Copyright (C) 2010 Chris Larson <chris_larson@mentor.com> 9# Copyright (C) 2010 Chris Larson <chris_larson@mentor.com>
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/process.py b/bitbake/lib/bb/process.py
index e69697cb68..2dc472a86f 100644
--- a/bitbake/lib/bb/process.py
+++ b/bitbake/lib/bb/process.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import logging 5import logging
2import signal 6import signal
3import subprocess 7import subprocess
diff --git a/bitbake/lib/bb/progress.py b/bitbake/lib/bb/progress.py
index f54d1c76f8..00dddabbb8 100644
--- a/bitbake/lib/bb/progress.py
+++ b/bitbake/lib/bb/progress.py
@@ -4,6 +4,8 @@ BitBake progress handling code
4 4
5# Copyright (C) 2016 Intel Corporation 5# Copyright (C) 2016 Intel Corporation
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index f496d84d12..856f0de76f 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -8,6 +8,8 @@
8# Copyright (C) 2005 ROAD GmbH 8# Copyright (C) 2005 ROAD GmbH
9# Copyright (C) 2006 Richard Purdie 9# Copyright (C) 2006 Richard Purdie
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/remotedata.py b/bitbake/lib/bb/remotedata.py
index 68ecffc198..05c6fabdf8 100644
--- a/bitbake/lib/bb/remotedata.py
+++ b/bitbake/lib/bb/remotedata.py
@@ -6,6 +6,8 @@ Provides support for using a datastore from the bitbake client
6 6
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 329cda33a4..0ca9747e99 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -9,6 +9,8 @@ Handles preparation and execution of a queue of tasks
9 9
10# Copyright (C) 2006-2007 Richard Purdie 10# Copyright (C) 2006-2007 Richard Purdie
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/server/__init__.py b/bitbake/lib/bb/server/__init__.py
index 5a3fba968f..5ec7a75601 100644
--- a/bitbake/lib/bb/server/__init__.py
+++ b/bitbake/lib/bb/server/__init__.py
@@ -5,6 +5,8 @@
5# Copyright (C) 2006 - 2008 Richard Purdie 5# Copyright (C) 2006 - 2008 Richard Purdie
6# Copyright (C) 2013 Alexandru Damian 6# Copyright (C) 2013 Alexandru Damian
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 80a7875ad9..bac94fcc2d 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2010 Bob Foerster <robert@erafx.com> 4# Copyright (C) 2010 Bob Foerster <robert@erafx.com>
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/server/xmlrpcclient.py b/bitbake/lib/bb/server/xmlrpcclient.py
index 4661a9e5a0..fc2fddd54b 100644
--- a/bitbake/lib/bb/server/xmlrpcclient.py
+++ b/bitbake/lib/bb/server/xmlrpcclient.py
@@ -4,6 +4,8 @@
4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer 4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
5# Copyright (C) 2006 - 2008 Richard Purdie 5# Copyright (C) 2006 - 2008 Richard Purdie
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/server/xmlrpcserver.py b/bitbake/lib/bb/server/xmlrpcserver.py
index 875b1282e5..b885f9a79c 100644
--- a/bitbake/lib/bb/server/xmlrpcserver.py
+++ b/bitbake/lib/bb/server/xmlrpcserver.py
@@ -4,6 +4,8 @@
4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer 4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
5# Copyright (C) 2006 - 2008 Richard Purdie 5# Copyright (C) 2006 - 2008 Richard Purdie
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 09c9c8a25f..3e2a85fc8c 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import hashlib 5import hashlib
2import logging 6import logging
3import os 7import os
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 94e822c485..5316d1b42f 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -10,6 +10,8 @@ Task data collection and handling
10 10
11# Copyright (C) 2006 Richard Purdie 11# Copyright (C) 2006 Richard Purdie
12# 12#
13# SPDX-License-Identifier: GPL-2.0-only
14#
13# This program is free software; you can redistribute it and/or modify 15# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as 16# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation. 17# published by the Free Software Foundation.
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 @@
6# Copyright (C) 2010 Chris Larson 6# Copyright (C) 2010 Chris Larson
7# Copyright (C) 2012 Richard Purdie 7# Copyright (C) 2012 Richard Purdie
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/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 @@
3# 3#
4# BitBake Tests for cooker.py 4# BitBake Tests for cooker.py
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# 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 @@
3# 3#
4# BitBake Tests for Copy-on-Write (cow.py) 4# BitBake Tests for Copy-on-Write (cow.py)
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# Copyright 2006 Holger Freyther <freyther@handhelds.org> 8# Copyright 2006 Holger Freyther <freyther@handhelds.org>
7# 9#
8# This program is free software; you can redistribute it and/or modify 10# 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 @@
6# Copyright (C) 2010 Chris Larson 6# Copyright (C) 2010 Chris Larson
7# Copyright (C) 2012 Richard Purdie 7# Copyright (C) 2012 Richard Purdie
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/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 @@
5# 5#
6# Copyright (C) 2017 Intel Corporation 6# Copyright (C) 2017 Intel Corporation
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# 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 @@
5# 5#
6# Copyright (C) 2012 Richard Purdie 6# Copyright (C) 2012 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# 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 @@
5# 5#
6# Copyright (C) 2015 Richard Purdie 6# Copyright (C) 2015 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# 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 @@
5# 5#
6# Copyright (C) 2018 Garmin Ltd. 6# Copyright (C) 2018 Garmin Ltd.
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# 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 @@
5# 5#
6# Copyright (C) 2012 Richard Purdie 6# Copyright (C) 2012 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 368264f39a..da049b6e59 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -4,6 +4,8 @@
4# Copyright (C) 2011 Mentor Graphics Corporation 4# Copyright (C) 2011 Mentor Graphics Corporation
5# Copyright (C) 2006-2012 Richard Purdie 5# Copyright (C) 2006-2012 Richard Purdie
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/__init__.py b/bitbake/lib/bb/ui/__init__.py
index a4805ed028..669dc86fc3 100644
--- a/bitbake/lib/bb/ui/__init__.py
+++ b/bitbake/lib/bb/ui/__init__.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2006-2007 Richard Purdie 4# Copyright (C) 2006-2007 Richard Purdie
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 31323d281f..37b94cd071 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2013 Intel Corporation 4# Copyright (C) 2013 Intel Corporation
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index fa88e6ccdd..44fd82f508 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2006-2012 Richard Purdie 6# Copyright (C) 2006-2012 Richard Purdie
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py
index 8690c529cc..713a4a4163 100644
--- a/bitbake/lib/bb/ui/ncurses.py
+++ b/bitbake/lib/bb/ui/ncurses.py
@@ -6,6 +6,8 @@
6# Copyright (C) 2006 Michael 'Mickey' Lauer 6# Copyright (C) 2006 Michael 'Mickey' Lauer
7# Copyright (C) 2006-2007 Richard Purdie 7# Copyright (C) 2006-2007 Richard Purdie
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/bb/ui/taskexp.py b/bitbake/lib/bb/ui/taskexp.py
index 8305d70f41..3ea0a242bf 100644
--- a/bitbake/lib/bb/ui/taskexp.py
+++ b/bitbake/lib/bb/ui/taskexp.py
@@ -4,6 +4,8 @@
4# Copyright (C) 2007 Ross Burton 4# Copyright (C) 2007 Ross Burton
5# Copyright (C) 2007 - 2008 Richard Purdie 5# Copyright (C) 2007 - 2008 Richard Purdie
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 88cec37592..d2517edbb2 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -7,6 +7,8 @@
7# Copyright (C) 2006-2012 Richard Purdie 7# Copyright (C) 2006-2012 Richard Purdie
8# Copyright (C) 2013 Intel Corporation 8# Copyright (C) 2013 Intel Corporation
9# 9#
10# SPDX-License-Identifier: GPL-2.0-only
11#
10# This program is free software; you can redistribute it and/or modify 12# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License version 2 as 13# it under the terms of the GNU General Public License version 2 as
12# published by the Free Software Foundation. 14# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/uievent.py b/bitbake/lib/bb/ui/uievent.py
index 9542b911ca..e96454404b 100644
--- a/bitbake/lib/bb/ui/uievent.py
+++ b/bitbake/lib/bb/ui/uievent.py
@@ -4,6 +4,8 @@
4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer 4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
5# Copyright (C) 2006 - 2007 Richard Purdie 5# Copyright (C) 2006 - 2007 Richard Purdie
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py
index 963c1ea2df..000a7cf41f 100644
--- a/bitbake/lib/bb/ui/uihelper.py
+++ b/bitbake/lib/bb/ui/uihelper.py
@@ -4,6 +4,8 @@
4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer 4# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
5# Copyright (C) 2006 - 2007 Richard Purdie 5# Copyright (C) 2006 - 2007 Richard Purdie
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index a3f75fbe9d..69e01519b0 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -6,6 +6,8 @@ BitBake Utility Functions
6 6
7# Copyright (C) 2004 Michael Lauer 7# Copyright (C) 2004 Michael Lauer
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/bblayers/__init__.py b/bitbake/lib/bblayers/__init__.py
index 3ad9513f40..4e7c09da04 100644
--- a/bitbake/lib/bblayers/__init__.py
+++ b/bitbake/lib/bblayers/__init__.py
@@ -1,2 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from pkgutil import extend_path 5from pkgutil import extend_path
2__path__ = extend_path(__path__, __name__) 6__path__ = extend_path(__path__, __name__)
diff --git a/bitbake/lib/bblayers/action.py b/bitbake/lib/bblayers/action.py
index a3f658f931..d6459d6617 100644
--- a/bitbake/lib/bblayers/action.py
+++ b/bitbake/lib/bblayers/action.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import fnmatch 5import fnmatch
2import logging 6import logging
3import os 7import os
diff --git a/bitbake/lib/bblayers/common.py b/bitbake/lib/bblayers/common.py
index 98515ced4f..c5657d3819 100644
--- a/bitbake/lib/bblayers/common.py
+++ b/bitbake/lib/bblayers/common.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import argparse 5import argparse
2import logging 6import logging
3import os 7import os
diff --git a/bitbake/lib/bblayers/layerindex.py b/bitbake/lib/bblayers/layerindex.py
index b2ff2268ea..57cd9027f6 100644
--- a/bitbake/lib/bblayers/layerindex.py
+++ b/bitbake/lib/bblayers/layerindex.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import layerindexlib 5import layerindexlib
2 6
3import argparse 7import argparse
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py
index 9294dfa884..993589de94 100644
--- a/bitbake/lib/bblayers/query.py
+++ b/bitbake/lib/bblayers/query.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import collections 5import collections
2import fnmatch 6import fnmatch
3import logging 7import logging
diff --git a/bitbake/lib/hashserv/__init__.py b/bitbake/lib/hashserv/__init__.py
index 46bca7cab3..6f4a046966 100644
--- a/bitbake/lib/hashserv/__init__.py
+++ b/bitbake/lib/hashserv/__init__.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2018 Garmin Ltd. 1# Copyright (C) 2018 Garmin Ltd.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/hashserv/tests.py b/bitbake/lib/hashserv/tests.py
index 806b54c5eb..b022195183 100644
--- a/bitbake/lib/hashserv/tests.py
+++ b/bitbake/lib/hashserv/tests.py
@@ -2,6 +2,8 @@
2# 2#
3# Copyright (C) 2018 Garmin Ltd. 3# Copyright (C) 2018 Garmin Ltd.
4# 4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/__init__.py b/bitbake/lib/layerindexlib/__init__.py
index cb79cb37d7..2854f6d0da 100644
--- a/bitbake/lib/layerindexlib/__init__.py
+++ b/bitbake/lib/layerindexlib/__init__.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/cooker.py b/bitbake/lib/layerindexlib/cooker.py
index 848f0e2ee2..87c7c8cc9a 100644
--- a/bitbake/lib/layerindexlib/cooker.py
+++ b/bitbake/lib/layerindexlib/cooker.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/plugin.py b/bitbake/lib/layerindexlib/plugin.py
index 92a2e978ba..e7adae7ac0 100644
--- a/bitbake/lib/layerindexlib/plugin.py
+++ b/bitbake/lib/layerindexlib/plugin.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/restapi.py b/bitbake/lib/layerindexlib/restapi.py
index d08eb20555..89092fe34e 100644
--- a/bitbake/lib/layerindexlib/restapi.py
+++ b/bitbake/lib/layerindexlib/restapi.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2016-2018 Wind River Systems, Inc. 1# Copyright (C) 2016-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/common.py b/bitbake/lib/layerindexlib/tests/common.py
index 22a54585c8..f4e04aacc1 100644
--- a/bitbake/lib/layerindexlib/tests/common.py
+++ b/bitbake/lib/layerindexlib/tests/common.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2017-2018 Wind River Systems, Inc. 1# Copyright (C) 2017-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/cooker.py b/bitbake/lib/layerindexlib/tests/cooker.py
index fdbf091103..648c7ba9f4 100644
--- a/bitbake/lib/layerindexlib/tests/cooker.py
+++ b/bitbake/lib/layerindexlib/tests/cooker.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2018 Wind River Systems, Inc. 1# Copyright (C) 2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/layerindexobj.py b/bitbake/lib/layerindexlib/tests/layerindexobj.py
index e2fbb950b0..7de1338d78 100644
--- a/bitbake/lib/layerindexlib/tests/layerindexobj.py
+++ b/bitbake/lib/layerindexlib/tests/layerindexobj.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2017-2018 Wind River Systems, Inc. 1# Copyright (C) 2017-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/layerindexlib/tests/restapi.py b/bitbake/lib/layerindexlib/tests/restapi.py
index 58766950ce..fc4ff939bb 100644
--- a/bitbake/lib/layerindexlib/tests/restapi.py
+++ b/bitbake/lib/layerindexlib/tests/restapi.py
@@ -1,5 +1,7 @@
1# Copyright (C) 2017-2018 Wind River Systems, Inc. 1# Copyright (C) 2017-2018 Wind River Systems, Inc.
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
5# published by the Free Software Foundation. 7# published by the Free Software Foundation.
diff --git a/bitbake/lib/progressbar/__init__.py b/bitbake/lib/progressbar/__init__.py
index fbab744ee2..c545a62754 100644
--- a/bitbake/lib/progressbar/__init__.py
+++ b/bitbake/lib/progressbar/__init__.py
@@ -4,6 +4,8 @@
4# progressbar - Text progress bar library for Python. 4# progressbar - Text progress bar library for Python.
5# Copyright (c) 2005 Nilton Volpato 5# Copyright (c) 2005 Nilton Volpato
6# 6#
7# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
8#
7# This library is free software; you can redistribute it and/or 9# This library is free software; you can redistribute it and/or
8# modify it under the terms of the GNU Lesser General Public 10# modify it under the terms of the GNU Lesser General Public
9# License as published by the Free Software Foundation; either 11# License as published by the Free Software Foundation; either
diff --git a/bitbake/lib/progressbar/compat.py b/bitbake/lib/progressbar/compat.py
index a39f4a1f4e..9804e0b512 100644
--- a/bitbake/lib/progressbar/compat.py
+++ b/bitbake/lib/progressbar/compat.py
@@ -3,6 +3,8 @@
3# progressbar - Text progress bar library for Python. 3# progressbar - Text progress bar library for Python.
4# Copyright (c) 2005 Nilton Volpato 4# Copyright (c) 2005 Nilton Volpato
5# 5#
6# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
7#
6# This library is free software; you can redistribute it and/or 8# This library is free software; you can redistribute it and/or
7# modify it under the terms of the GNU Lesser General Public 9# modify it under the terms of the GNU Lesser General Public
8# License as published by the Free Software Foundation; either 10# License as published by the Free Software Foundation; either
diff --git a/bitbake/lib/progressbar/progressbar.py b/bitbake/lib/progressbar/progressbar.py
index 2873ad6cae..e2b6ba1083 100644
--- a/bitbake/lib/progressbar/progressbar.py
+++ b/bitbake/lib/progressbar/progressbar.py
@@ -5,6 +5,8 @@
5# 5#
6# (With some small changes after importing into BitBake) 6# (With some small changes after importing into BitBake)
7# 7#
8# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
9#
8# This library is free software; you can redistribute it and/or 10# This library is free software; you can redistribute it and/or
9# modify it under the terms of the GNU Lesser General Public 11# modify it under the terms of the GNU Lesser General Public
10# License as published by the Free Software Foundation; either 12# License as published by the Free Software Foundation; either
diff --git a/bitbake/lib/progressbar/widgets.py b/bitbake/lib/progressbar/widgets.py
index 77285ca7a3..0772aa536d 100644
--- a/bitbake/lib/progressbar/widgets.py
+++ b/bitbake/lib/progressbar/widgets.py
@@ -3,6 +3,8 @@
3# progressbar - Text progress bar library for Python. 3# progressbar - Text progress bar library for Python.
4# Copyright (c) 2005 Nilton Volpato 4# Copyright (c) 2005 Nilton Volpato
5# 5#
6# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
7#
6# This library is free software; you can redistribute it and/or 8# This library is free software; you can redistribute it and/or
7# modify it under the terms of the GNU Lesser General Public 9# modify it under the terms of the GNU Lesser General Public
8# License as published by the Free Software Foundation; either 10# License as published by the Free Software Foundation; either
diff --git a/bitbake/lib/prserv/__init__.py b/bitbake/lib/prserv/__init__.py
index c3cb73ad92..9961040b58 100644
--- a/bitbake/lib/prserv/__init__.py
+++ b/bitbake/lib/prserv/__init__.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1__version__ = "1.0.0" 5__version__ = "1.0.0"
2 6
3import os, time 7import os, time
diff --git a/bitbake/lib/prserv/db.py b/bitbake/lib/prserv/db.py
index 495d09f39b..d6188a679b 100644
--- a/bitbake/lib/prserv/db.py
+++ b/bitbake/lib/prserv/db.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import logging 5import logging
2import os.path 6import os.path
3import errno 7import errno
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py
index 6a99728c4f..be3acec36a 100644
--- a/bitbake/lib/prserv/serv.py
+++ b/bitbake/lib/prserv/serv.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import os,sys,logging 5import os,sys,logging
2import signal, time 6import signal, time
3from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler 7from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler
diff --git a/bitbake/lib/pyinotify.py b/bitbake/lib/pyinotify.py
index 4eb03b092d..8fe4041fae 100644
--- a/bitbake/lib/pyinotify.py
+++ b/bitbake/lib/pyinotify.py
@@ -3,6 +3,8 @@
3# pyinotify.py - python interface to inotify 3# pyinotify.py - python interface to inotify
4# Copyright (c) 2005-2015 Sebastien Martini <seb@dbzteam.org> 4# Copyright (c) 2005-2015 Sebastien Martini <seb@dbzteam.org>
5# 5#
6# SPDX-License-Identifier: MIT
7#
6# Permission is hereby granted, free of charge, to any person obtaining a copy 8# Permission is hereby granted, free of charge, to any person obtaining a copy
7# of this software and associated documentation files (the "Software"), to deal 9# of this software and associated documentation files (the "Software"), to deal
8# in the Software without restriction, including without limitation the rights 10# in the Software without restriction, including without limitation the rights
diff --git a/bitbake/lib/toaster/bldcollector/admin.py b/bitbake/lib/toaster/bldcollector/admin.py
index 1f2e07f50b..feaa888c73 100644
--- a/bitbake/lib/toaster/bldcollector/admin.py
+++ b/bitbake/lib/toaster/bldcollector/admin.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django.contrib import admin 5from django.contrib import admin
2from orm.models import BitbakeVersion, Release, ToasterSetting, Layer_Version 6from orm.models import BitbakeVersion, Release, ToasterSetting, Layer_Version
3from django import forms 7from django import forms
diff --git a/bitbake/lib/toaster/bldcollector/urls.py b/bitbake/lib/toaster/bldcollector/urls.py
index 888175d0ab..182a7a6159 100644
--- a/bitbake/lib/toaster/bldcollector/urls.py
+++ b/bitbake/lib/toaster/bldcollector/urls.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2014-2017 Intel Corporation 4# Copyright (C) 2014-2017 Intel Corporation
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/toaster/bldcollector/views.py b/bitbake/lib/toaster/bldcollector/views.py
index f32fa4d225..132e44c681 100644
--- a/bitbake/lib/toaster/bldcollector/views.py
+++ b/bitbake/lib/toaster/bldcollector/views.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2014 Intel Corporation 4# Copyright (C) 2014 Intel Corporation
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
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
1from django.contrib import admin 5from django.contrib import admin
2from django.contrib.admin.filters import RelatedFieldListFilter 6from django.contrib.admin.filters import RelatedFieldListFilter
3from .models import BuildEnvironment 7from .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
1from django.core.management.base import BaseCommand, CommandError 5from django.core.management.base import BaseCommand, CommandError
2from django.db import transaction 6from 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
1from django.core.management.base import BaseCommand 5from django.core.management.base import BaseCommand
2from django.db import transaction 6from django.db import transaction
3from django.db.models import Q 7from 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
1from __future__ import unicode_literals 5from __future__ import unicode_literals
2from django.db import models 6from django.db import models
3from django.core.validators import MaxValueValidator, MinValueValidator 7from 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.
diff --git a/bitbake/lib/toaster/manage.py b/bitbake/lib/toaster/manage.py
index 0c7ea50882..ae32619d12 100755
--- a/bitbake/lib/toaster/manage.py
+++ b/bitbake/lib/toaster/manage.py
@@ -1,4 +1,8 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5
2import os 6import os
3import sys 7import sys
4 8
diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py
index 66114ff89e..b15b9ce4af 100644
--- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py
+++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016-2017 Intel Corporation 7# Copyright (C) 2016-2017 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/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 7720290214..68ca0bcfed 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013 Intel Corporation 7# Copyright (C) 2013 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/tests/browser/selenium_helpers.py b/bitbake/lib/toaster/tests/browser/selenium_helpers.py
index 08711e4558..66e700c842 100644
--- a/bitbake/lib/toaster/tests/browser/selenium_helpers.py
+++ b/bitbake/lib/toaster/tests/browser/selenium_helpers.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/selenium_helpers_base.py b/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py
index 156d639b1e..48a0488e19 100644
--- a/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py
+++ b/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_all_builds_page.py b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
index b86f29bdd4..bab44e9cc2 100644
--- a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_all_projects_page.py b/bitbake/lib/toaster/tests/browser/test_all_projects_page.py
index 44da640751..b0b3aec1fa 100644
--- a/bitbake/lib/toaster/tests/browser/test_all_projects_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_all_projects_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_builddashboard_page.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py
index f8ccb54528..5d2dcd066b 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_builddashboard_page_artifacts.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
index 1c627ad498..f92b642e95 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_builddashboard_page_recipes.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py
index ed18324e57..7f96288156 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_builddashboard_page_tasks.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py
index da50f16011..d0c4ec33e5 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_js_unit_tests.py b/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py
index 3c0b96252f..ceea71342c 100644
--- a/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py
+++ b/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_landing_page.py b/bitbake/lib/toaster/tests/browser/test_landing_page.py
index 4d4cd660fb..06aa5693eb 100644
--- a/bitbake/lib/toaster/tests/browser/test_landing_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_landing_page.py
@@ -4,6 +4,8 @@
4# 4#
5# BitBake Toaster Implementation 5# BitBake Toaster Implementation
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# Copyright (C) 2013-2016 Intel Corporation 9# Copyright (C) 2013-2016 Intel Corporation
8# 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
diff --git a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
index f24fb093a5..a39bb9ac18 100644
--- a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
@@ -4,6 +4,8 @@
4# 4#
5# BitBake Toaster Implementation 5# BitBake Toaster Implementation
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# Copyright (C) 2013-2016 Intel Corporation 9# Copyright (C) 2013-2016 Intel Corporation
8# 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
diff --git a/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py b/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py
index abc0b0bc88..7d44638bc1 100644
--- a/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py
+++ b/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py
@@ -4,6 +4,8 @@
4# 4#
5# BitBake Toaster Implementation 5# BitBake Toaster Implementation
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# Copyright (C) 2013-2016 Intel Corporation 9# Copyright (C) 2013-2016 Intel Corporation
8# 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
diff --git a/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py b/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
index ab5a8e66be..f865e3272c 100644
--- a/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_new_project_page.py b/bitbake/lib/toaster/tests/browser/test_new_project_page.py
index 77e5f15267..92d414d8d6 100644
--- a/bitbake/lib/toaster/tests/browser/test_new_project_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_new_project_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_project_builds_page.py b/bitbake/lib/toaster/tests/browser/test_project_builds_page.py
index 9fe91ab067..2202d937d6 100644
--- a/bitbake/lib/toaster/tests/browser/test_project_builds_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_project_builds_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_project_config_page.py b/bitbake/lib/toaster/tests/browser/test_project_config_page.py
index 0710084995..a0d5bcd348 100644
--- a/bitbake/lib/toaster/tests/browser/test_project_config_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_project_config_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_project_page.py b/bitbake/lib/toaster/tests/browser/test_project_page.py
index 0186463324..7b544ed966 100644
--- a/bitbake/lib/toaster/tests/browser/test_project_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_project_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_sample.py b/bitbake/lib/toaster/tests/browser/test_sample.py
index 20ec53c28a..4cdd19f3d1 100644
--- a/bitbake/lib/toaster/tests/browser/test_sample.py
+++ b/bitbake/lib/toaster/tests/browser/test_sample.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_task_page.py b/bitbake/lib/toaster/tests/browser/test_task_page.py
index 690d116cba..97708a765e 100644
--- a/bitbake/lib/toaster/tests/browser/test_task_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_task_page.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/browser/test_toastertable_ui.py b/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py
index 53ddf30c3c..0780ef9fe4 100644
--- a/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py
+++ b/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 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/tests/builds/buildtest.py b/bitbake/lib/toaster/tests/builds/buildtest.py
index 5a56a110a7..129c9fe401 100644
--- a/bitbake/lib/toaster/tests/builds/buildtest.py
+++ b/bitbake/lib/toaster/tests/builds/buildtest.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/tests/builds/test_core_image_min.py b/bitbake/lib/toaster/tests/builds/test_core_image_min.py
index 586f4a8f7f..8964071990 100644
--- a/bitbake/lib/toaster/tests/builds/test_core_image_min.py
+++ b/bitbake/lib/toaster/tests/builds/test_core_image_min.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/tests/commands/test_loaddata.py b/bitbake/lib/toaster/tests/commands/test_loaddata.py
index 951f6ff5aa..b4b53d0919 100644
--- a/bitbake/lib/toaster/tests/commands/test_loaddata.py
+++ b/bitbake/lib/toaster/tests/commands/test_loaddata.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/tests/commands/test_lsupdates.py b/bitbake/lib/toaster/tests/commands/test_lsupdates.py
index 49897a476c..2d34f211b9 100644
--- a/bitbake/lib/toaster/tests/commands/test_lsupdates.py
+++ b/bitbake/lib/toaster/tests/commands/test_lsupdates.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/tests/commands/test_runbuilds.py b/bitbake/lib/toaster/tests/commands/test_runbuilds.py
index 3e634835ee..2c9fcf0f20 100644
--- a/bitbake/lib/toaster/tests/commands/test_runbuilds.py
+++ b/bitbake/lib/toaster/tests/commands/test_runbuilds.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/tests/db/test_db.py b/bitbake/lib/toaster/tests/db/test_db.py
index a0f5f6ec03..0410422276 100644
--- a/bitbake/lib/toaster/tests/db/test_db.py
+++ b/bitbake/lib/toaster/tests/db/test_db.py
@@ -2,6 +2,8 @@
2# 2#
3# Copyright (c) 2016 Damien Lespiau 3# Copyright (c) 2016 Damien Lespiau
4# 4#
5# SPDX-License-Identifier: MIT
6#
5# Permission is hereby granted, free of charge, to any person obtaining a copy 7# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal 8# of this software and associated documentation files (the "Software"), to deal
7# in the Software without restriction, including without limitation the rights 9# in the Software without restriction, including without limitation the rights
diff --git a/bitbake/lib/toaster/tests/eventreplay/__init__.py b/bitbake/lib/toaster/tests/eventreplay/__init__.py
index 695661947a..f10ea89ae1 100644
--- a/bitbake/lib/toaster/tests/eventreplay/__init__.py
+++ b/bitbake/lib/toaster/tests/eventreplay/__init__.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/tests/functional/functional_helpers.py b/bitbake/lib/toaster/tests/functional/functional_helpers.py
index 486078a615..8eb2e963f6 100644
--- a/bitbake/lib/toaster/tests/functional/functional_helpers.py
+++ b/bitbake/lib/toaster/tests/functional/functional_helpers.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2017 Intel Corporation 7# Copyright (C) 2017 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/tests/functional/test_functional_basic.py b/bitbake/lib/toaster/tests/functional/test_functional_basic.py
index cfa2b0fdf0..817bcde333 100644
--- a/bitbake/lib/toaster/tests/functional/test_functional_basic.py
+++ b/bitbake/lib/toaster/tests/functional/test_functional_basic.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2017 Intel Corporation 7# Copyright (C) 2017 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/tests/views/test_views.py b/bitbake/lib/toaster/tests/views/test_views.py
index 1463077e91..d5b00288bd 100644
--- a/bitbake/lib/toaster/tests/views/test_views.py
+++ b/bitbake/lib/toaster/tests/views/test_views.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013-2015 Intel Corporation 7# Copyright (C) 2013-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/toastergui/api.py b/bitbake/lib/toaster/toastergui/api.py
index 564d595a1c..99e9768ae7 100644
--- a/bitbake/lib/toaster/toastergui/api.py
+++ b/bitbake/lib/toaster/toastergui/api.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2016 Intel Corporation 4# Copyright (C) 2016 Intel Corporation
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/toaster/toastergui/buildtables.py b/bitbake/lib/toaster/toastergui/buildtables.py
index 755a7c2e43..6a20d60752 100644
--- a/bitbake/lib/toaster/toastergui/buildtables.py
+++ b/bitbake/lib/toaster/toastergui/buildtables.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/toastergui/tablefilter.py b/bitbake/lib/toaster/toastergui/tablefilter.py
index 65454e140d..1f9016beff 100644
--- a/bitbake/lib/toaster/toastergui/tablefilter.py
+++ b/bitbake/lib/toaster/toastergui/tablefilter.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/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 9ff756bc8d..855861a869 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.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/toastergui/templatetags/field_values_filter.py b/bitbake/lib/toaster/toastergui/templatetags/field_values_filter.py
index 5a73af797c..eb483396c2 100644
--- a/bitbake/lib/toaster/toastergui/templatetags/field_values_filter.py
+++ b/bitbake/lib/toaster/toastergui/templatetags/field_values_filter.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django import template 5from django import template
2 6
3register = template.Library() 7register = template.Library()
diff --git a/bitbake/lib/toaster/toastergui/templatetags/objects_to_dictionaries_filter.py b/bitbake/lib/toaster/toastergui/templatetags/objects_to_dictionaries_filter.py
index 0dcc7d2714..048d533871 100644
--- a/bitbake/lib/toaster/toastergui/templatetags/objects_to_dictionaries_filter.py
+++ b/bitbake/lib/toaster/toastergui/templatetags/objects_to_dictionaries_filter.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django import template 5from django import template
2import json 6import json
3 7
diff --git a/bitbake/lib/toaster/toastergui/templatetags/project_url_tag.py b/bitbake/lib/toaster/toastergui/templatetags/project_url_tag.py
index 04770ac6a8..71e0925787 100644
--- a/bitbake/lib/toaster/toastergui/templatetags/project_url_tag.py
+++ b/bitbake/lib/toaster/toastergui/templatetags/project_url_tag.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from django import template 5from django import template
2from django.core.urlresolvers import reverse 6from django.core.urlresolvers import reverse
3 7
diff --git a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
index b170a16165..80652edd49 100644
--- a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
+++ b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013 Intel Corporation 7# Copyright (C) 2013 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/toastergui/typeaheads.py b/bitbake/lib/toaster/toastergui/typeaheads.py
index 5aa0f8d889..3921435584 100644
--- a/bitbake/lib/toaster/toastergui/typeaheads.py
+++ b/bitbake/lib/toaster/toastergui/typeaheads.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2015 Intel Corporation 4# Copyright (C) 2015 Intel Corporation
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index dc03e30356..3d0be61faa 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -3,6 +3,8 @@
3# 3#
4# Copyright (C) 2013-2017 Intel Corporation 4# Copyright (C) 2013-2017 Intel Corporation
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# This program is free software; you can redistribute it and/or modify 8# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as 9# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation. 10# published by the Free Software Foundation.
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index c712b06a6e..6aad55b7c8 100644
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013 Intel Corporation 7# Copyright (C) 2013 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/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py
index db5c3aa00b..e8aabdd9fa 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.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/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
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py
index 13541d380f..6373559190 100644
--- a/bitbake/lib/toaster/toastermain/settings.py
+++ b/bitbake/lib/toaster/toastermain/settings.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013 Intel Corporation 7# Copyright (C) 2013 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/settings_production_example.py b/bitbake/lib/toaster/toastermain/settings_production_example.py
index 61a288864a..2067624358 100644
--- a/bitbake/lib/toaster/toastermain/settings_production_example.py
+++ b/bitbake/lib/toaster/toastermain/settings_production_example.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/settings_test.py b/bitbake/lib/toaster/toastermain/settings_test.py
index a322711579..963d77f280 100644
--- a/bitbake/lib/toaster/toastermain/settings_test.py
+++ b/bitbake/lib/toaster/toastermain/settings_test.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016 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/urls.py b/bitbake/lib/toaster/toastermain/urls.py
index e2fb0aebfd..1a98754ed4 100644
--- a/bitbake/lib/toaster/toastermain/urls.py
+++ b/bitbake/lib/toaster/toastermain/urls.py
@@ -6,6 +6,8 @@
6# 6#
7# Copyright (C) 2013 Intel Corporation 7# Copyright (C) 2013 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/wsgi.py b/bitbake/lib/toaster/toastermain/wsgi.py
index 031b314b1a..5ad22aea18 100644
--- a/bitbake/lib/toaster/toastermain/wsgi.py
+++ b/bitbake/lib/toaster/toastermain/wsgi.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1""" 5"""
2# ex:ts=4:sw=4:sts=4:et 6# ex:ts=4:sw=4:sts=4:et
3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 7# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-