Skip to contentSkip to conversation

knotty: Implement console 'keepalive' output

PATCH In review Richard Purdie 2 participants 9 messages May 1, 2019 – May 2, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 knotty: Implement console 'keepalive' output

CI systems like jenkins and buildbot will timeout applications which haven't had console output in some period of time. Add 'keepalive' output to knotty which gives output every 5000s if not other output was made and tasks are still running. This reduces some problems encountered with our CI testing.

---
 lib/bb/ui/knotty.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)
lib/bb/ui/knotty.py +13 -0
index f362c23afc..4567c148c8 100644
@@ -234,6 +234,11 @@ class TerminalFilter(object):
         else:
             return "%ds" % (sec)
 
+    def keepAlive(self, t):
+        if not self.cuu:
+            print("Bitbake still alive (%ds)" % t)
+            sys.stdout.flush()
+
     def updateFooter(self):
         if not self.cuu:
             return
@@ -467,11 +472,17 @@ def main(server, eventHandler, params, tf = TerminalFilter):
     warnings = 0
     taskfailures = []
 
+    printinterval = 5000
+    lastprint = time.time()
+
     termfilter = tf(main, helper, console, errconsole, format, params.options.quiet)
     atexit.register(termfilter.finish)
 
     while True:
         try:
+            if (lastprint + printinterval) <= time.time():
+                termfilter.keepAlive(printinterval)
+                printinterval += 5000
             event = eventHandler.waitEvent(0)
             if event is None:
                 if main.shutdown > 1:
@@ -500,6 +511,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
                 continue
 
             if isinstance(event, logging.LogRecord):
+                lastprint = time.time()
+                printinterval = 5000
                 if event.levelno >= format.ERROR:
                     errors = errors + 1
                     return_value = 1
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/6 build: Ensure warning for invalid task dependencies is useful

WARNING: elfutils: dependent task do_rm_work does not exist

is much less useful than

WARNING: elfutils: dependent task do_rm_work for do_deploy does not exist

---
 lib/bb/build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/build.py +1 -1
index da592e6d84..8ad9f5de2a 100644
@@ -819,7 +819,7 @@ def add_tasks(tasklist, d):
             for dep in flags['deps']:
                 # Check and warn for "addtask task after foo" while foo does not exist
                 if not dep in tasklist:
-                    bb.warn('%s: dependent task %s does not exist' % (d.getVar('PN'), dep))
+                    bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
                 dep = d.expand(dep)
                 task_deps['parents'][task].append(dep)
 
Signature · 1 line
2.20.1
#2 lore raw

PATCH 3/6 bitbake: Add initial pass of SPDX license headers to source code

In reply to Richard Purdie

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.

---
 HEADER                                        |  2 +
 LICENSE                                       | 12 +++-
 COPYING => LICENSE.GPL-2.0-only               | 61 ++-----------------
 LICENSE.MIT                                   | 25 ++++++++
 MANIFEST.in                                   |  4 +-
 bin/bitbake                                   |  2 +
 bin/bitbake-diffsigs                          |  2 +
 bin/bitbake-hashserv                          |  2 +
 bin/bitbake-layers                            |  2 +
 bin/bitbake-prserv                            |  4 ++
 bin/bitbake-selftest                          |  2 +
 bin/bitbake-worker                            |  3 +
 bin/bitdoc                                    |  2 +
 bin/git-make-shallow                          |  4 ++
 bin/toaster                                   |  4 +-
 bin/toaster-eventreplay                       |  3 +-
 lib/bb/__init__.py                            |  2 +
 lib/bb/build.py                               |  2 +
 lib/bb/cache.py                               |  2 +
 lib/bb/cache_extra.py                         |  2 +
 lib/bb/checksum.py                            |  2 +
 lib/bb/codeparser.py                          |  4 ++
 lib/bb/command.py                             |  2 +
 lib/bb/compat.py                              |  4 ++
 lib/bb/cooker.py                              |  2 +
 lib/bb/cookerdata.py                          |  2 +
 lib/bb/daemonize.py                           |  4 ++
 lib/bb/data.py                                |  2 +
 lib/bb/data_smart.py                          |  2 +
 lib/bb/event.py                               |  2 +
 lib/bb/exceptions.py                          |  3 +
 lib/bb/fetch2/__init__.py                     |  2 +
 lib/bb/fetch2/bzr.py                          |  2 +
 lib/bb/fetch2/clearcase.py                    |  2 +
 lib/bb/fetch2/cvs.py                          |  2 +
 lib/bb/fetch2/git.py                          |  4 +-
 lib/bb/fetch2/gitannex.py                     |  2 +
 lib/bb/fetch2/gitsm.py                        |  2 +
 lib/bb/fetch2/hg.py                           |  2 +
 lib/bb/fetch2/local.py                        |  2 +
 lib/bb/fetch2/npm.py                          |  3 +
 lib/bb/fetch2/osc.py                          |  3 +
 lib/bb/fetch2/perforce.py                     |  2 +
 lib/bb/fetch2/repo.py                         |  2 +
 lib/bb/fetch2/s3.py                           |  2 +
 lib/bb/fetch2/sftp.py                         |  2 +
 lib/bb/fetch2/ssh.py                          |  2 +
 lib/bb/fetch2/svn.py                          |  2 +
 lib/bb/fetch2/wget.py                         |  2 +
 lib/bb/main.py                                |  2 +
 lib/bb/methodpool.py                          |  2 +
 lib/bb/monitordisk.py                         |  2 +
 lib/bb/msg.py                                 |  2 +
 lib/bb/namedtuple_with_abc.py                 |  3 +
 lib/bb/parse/__init__.py                      |  2 +
 lib/bb/parse/ast.py                           |  2 +
 lib/bb/parse/parse_py/BBHandler.py            |  2 +
 lib/bb/parse/parse_py/ConfHandler.py          |  2 +
 lib/bb/parse/parse_py/__init__.py             |  2 +
 lib/bb/persist_data.py                        |  2 +
 lib/bb/process.py                             |  4 ++
 lib/bb/progress.py                            |  2 +
 lib/bb/providers.py                           |  2 +
 lib/bb/remotedata.py                          |  2 +
 lib/bb/runqueue.py                            |  2 +
 lib/bb/server/__init__.py                     |  2 +
 lib/bb/server/process.py                      |  2 +
 lib/bb/server/xmlrpcclient.py                 |  2 +
 lib/bb/server/xmlrpcserver.py                 |  2 +
 lib/bb/siggen.py                              |  4 ++
 lib/bb/taskdata.py                            |  2 +
 lib/bb/tests/codeparser.py                    |  2 +
 lib/bb/tests/cooker.py                        |  2 +
 lib/bb/tests/cow.py                           |  2 +
 lib/bb/tests/data.py                          |  2 +
 lib/bb/tests/event.py                         |  2 +
 lib/bb/tests/fetch.py                         |  2 +
 lib/bb/tests/parse.py                         |  2 +
 lib/bb/tests/persist_data.py                  |  2 +
 lib/bb/tests/utils.py                         |  2 +
 lib/bb/tinfoil.py                             |  2 +
 lib/bb/ui/__init__.py                         |  2 +
 lib/bb/ui/buildinfohelper.py                  |  2 +
 lib/bb/ui/knotty.py                           |  2 +
 lib/bb/ui/ncurses.py                          |  2 +
 lib/bb/ui/taskexp.py                          |  2 +
 lib/bb/ui/toasterui.py                        |  2 +
 lib/bb/ui/uievent.py                          |  2 +
 lib/bb/ui/uihelper.py                         |  2 +
 lib/bb/utils.py                               |  2 +
 lib/bblayers/__init__.py                      |  4 ++
 lib/bblayers/action.py                        |  4 ++
 lib/bblayers/common.py                        |  4 ++
 lib/bblayers/layerindex.py                    |  4 ++
 lib/bblayers/query.py                         |  4 ++
 lib/hashserv/__init__.py                      |  2 +
 lib/hashserv/tests.py                         |  2 +
 lib/layerindexlib/__init__.py                 |  2 +
 lib/layerindexlib/cooker.py                   |  2 +
 lib/layerindexlib/plugin.py                   |  2 +
 lib/layerindexlib/restapi.py                  |  2 +
 lib/layerindexlib/tests/common.py             |  2 +
 lib/layerindexlib/tests/cooker.py             |  2 +
 lib/layerindexlib/tests/layerindexobj.py      |  2 +
 lib/layerindexlib/tests/restapi.py            |  2 +
 lib/progressbar/__init__.py                   |  2 +
 lib/progressbar/compat.py                     |  2 +
 lib/progressbar/progressbar.py                |  2 +
 lib/progressbar/widgets.py                    |  2 +
 lib/prserv/__init__.py                        |  4 ++
 lib/prserv/db.py                              |  4 ++
 lib/prserv/serv.py                            |  4 ++
 lib/pyinotify.py                              |  2 +
 lib/toaster/bldcollector/admin.py             |  4 ++
 lib/toaster/bldcollector/urls.py              |  2 +
 lib/toaster/bldcollector/views.py             |  2 +
 lib/toaster/bldcontrol/admin.py               |  4 ++
 lib/toaster/bldcontrol/bbcontroller.py        |  2 +
 .../bldcontrol/localhostbecontroller.py       |  2 +
 .../management/commands/checksettings.py      |  4 ++
 .../management/commands/runbuilds.py          |  4 ++
 lib/toaster/bldcontrol/models.py              |  4 ++
 lib/toaster/bldcontrol/views.py               |  4 ++
 lib/toaster/manage.py                         |  4 ++
 .../orm/management/commands/lsupdates.py      |  2 +
 lib/toaster/orm/models.py                     |  2 +
 lib/toaster/tests/browser/selenium_helpers.py |  2 +
 .../tests/browser/selenium_helpers_base.py    |  2 +
 .../tests/browser/test_all_builds_page.py     |  2 +
 .../tests/browser/test_all_projects_page.py   |  2 +
 .../tests/browser/test_builddashboard_page.py |  2 +
 .../test_builddashboard_page_artifacts.py     |  2 +
 .../test_builddashboard_page_recipes.py       |  2 +
 .../browser/test_builddashboard_page_tasks.py |  2 +
 .../tests/browser/test_js_unit_tests.py       |  2 +
 .../tests/browser/test_landing_page.py        |  2 +
 .../tests/browser/test_layerdetails_page.py   |  2 +
 .../browser/test_most_recent_builds_states.py |  2 +
 .../browser/test_new_custom_image_page.py     |  2 +
 .../tests/browser/test_new_project_page.py    |  2 +
 .../tests/browser/test_project_builds_page.py |  2 +
 .../tests/browser/test_project_config_page.py |  2 +
 .../tests/browser/test_project_page.py        |  2 +
 lib/toaster/tests/browser/test_sample.py      |  2 +
 lib/toaster/tests/browser/test_task_page.py   |  2 +
 .../tests/browser/test_toastertable_ui.py     |  2 +
 lib/toaster/tests/builds/buildtest.py         |  2 +
 .../tests/builds/test_core_image_min.py       |  2 +
 lib/toaster/tests/commands/test_loaddata.py   |  2 +
 lib/toaster/tests/commands/test_lsupdates.py  |  2 +
 lib/toaster/tests/commands/test_runbuilds.py  |  2 +
 lib/toaster/tests/db/test_db.py               |  2 +
 lib/toaster/tests/eventreplay/__init__.py     |  2 +
 .../tests/functional/functional_helpers.py    |  2 +
 .../tests/functional/test_functional_basic.py |  2 +
 lib/toaster/tests/views/test_views.py         |  2 +
 lib/toaster/toastergui/api.py                 |  2 +
 lib/toaster/toastergui/buildtables.py         |  2 +
 lib/toaster/toastergui/tablefilter.py         |  2 +
 lib/toaster/toastergui/tables.py              |  2 +
 .../templatetags/field_values_filter.py       |  4 ++
 .../objects_to_dictionaries_filter.py         |  4 ++
 .../templatetags/project_url_tag.py           |  4 ++
 .../toastergui/templatetags/projecttags.py    |  2 +
 lib/toaster/toastergui/typeaheads.py          |  2 +
 lib/toaster/toastergui/urls.py                |  2 +
 lib/toaster/toastergui/views.py               |  2 +
 lib/toaster/toastergui/widgets.py             |  2 +
 .../management/commands/builddelete.py        |  4 ++
 .../management/commands/buildimport.py        |  2 +
 .../management/commands/buildslist.py         |  4 ++
 .../management/commands/checksocket.py        |  2 +
 .../toastermain/management/commands/perf.py   |  4 ++
 lib/toaster/toastermain/settings.py           |  2 +
 .../settings_production_example.py            |  2 +
 lib/toaster/toastermain/settings_test.py      |  2 +
 lib/toaster/toastermain/urls.py               |  2 +
 lib/toaster/toastermain/wsgi.py               |  4 ++
 178 files changed, 457 insertions(+), 61 deletions(-)
 rename COPYING => LICENSE.GPL-2.0-only (84%)
 create mode 100644 LICENSE.MIT
HEADER +2 -0
index 9859255df3..113872d469 100644
@@ -4,6 +4,8 @@
 # <one line to give the program's name and a brief idea of what it does.>
 # Copyright (C) <year>  <name of author>
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
LICENSE +11 -1
index 7d4e5f44b5..8206c3ac71 100644
@@ -1,4 +1,13 @@
-BitBake is licensed under the GNU General Public License version 2.0. See COPYING for further details.
+BitBake is licensed under the GNU General Public License version 2.0. See 
+COPYING.GPL-2.0-only for further details.
+
+Individual files contain the following style tags instead of the full license text:
+
+    SPDX-License-Identifier:	GPL-2.0-only
+
+This enables machine processing of license information based on the SPDX
+License Identifiers that are here available: http://spdx.org/licenses/
+
 
 The following external components are distributed with this software:
 
@@ -17,3 +26,4 @@ Foundation and individual contributors.
 * Font Awesome fonts redistributed under the SIL Open Font License 1.1
 
 * simplediff is distributed under the zlib license.
+
LICENSE.GPL-2.0-only renamed from COPYING +5 -56

66 lines not on this page · raw message

LICENSE.MIT new file +25 -0
new file mode 100644
index 0000000000..a6919eb7e1
@@ -0,0 +1,25 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+Note:
+Individual files contain the following tag instead of the full license text.
+
+    SPDX-License-Identifier: MIT
+
+This enables machine processing of license information based on the SPDX
+License Identifiers that are here available: http://spdx.org/licenses/
MANIFEST.in +3 -1
index b197378120..82552390b4 100644
@@ -1,6 +1,8 @@
-include COPYING
 include ChangeLog
 include AUTHORS
+include LICENSE
+include LICENSE.GPL-2.0-only
+include LICENSE.MIT
 include contrib/*
 include contrib/vim/*/*
 include conf/*
bin/bitbake +2 -0
index 716cb55546..0205b67f99 100755
@@ -9,6 +9,8 @@
 # Copyright (C) 2005        ROAD GmbH
 # Copyright (C) 2006        Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
bin/bitbake-diffsigs +2 -0
index 73229b7735..de4e3786e9 100755
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2012-2013, 2017 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
bin/bitbake-hashserv +2 -0
index c49397b73a..924e602592 100755
@@ -2,6 +2,8 @@
 #
 # Copyright (C) 2018 Garmin Ltd.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
bin/bitbake-layers +2 -0
index d184011ea6..da52990515 100755
@@ -7,6 +7,8 @@
 # Copyright (C) 2011 Mentor Graphics Corporation
 # Copyright (C) 2011-2015 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
bin/bitbake-prserv +4 -0
index f38d2dd882..1e9b6cbc1b 100755
@@ -1,4 +1,8 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import os
 import sys,logging
 import optparse
bin/bitbake-selftest +2 -0
index 99f1af910f..5b2a5e1d15 100755
@@ -2,6 +2,8 @@
 #
 # Copyright (C) 2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
bin/bitbake-worker +3 -0
index a9e997e1f6..f63f060c57 100755
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import os
 import sys
bin/bitdoc +2 -0
index 2744678824..cfe54a9236 100755
@@ -4,6 +4,8 @@
 #
 # Copyright (C) 2005 Holger Hans Peter Freyther
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
bin/git-make-shallow +4 -0
index 296d3a3dbd..57069f7edf 100755
@@ -1,4 +1,8 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 """git-make-shallow: make the current git repository shallow
 
 Remove the history of the specified revisions, then optionally filter the
bin/toaster +3 -1
index ecf66fa51f..9da2a2649c 100755
@@ -3,7 +3,9 @@
 # toaster - shell script to start Toaster
 
 # Copyright (C) 2013-2015 Intel Corp.
-
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
bin/toaster-eventreplay +2 -1
index 80967a0934..abd91fe8b2 100755
@@ -4,10 +4,11 @@
 #
 # Copyright (C) 2014        Alex Damian
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This file re-uses code spread throughout other Bitbake source files.
 # As such, all other copyrights belong to their own right holders.
 #
-#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/__init__.py +2 -0
index 8d0cef0d69..b013cbb896 100644
@@ -8,6 +8,8 @@
 #
 # Based on Gentoo's portage.py.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/build.py +2 -0
index 8ad9f5de2a..ca41632ff6 100644
@@ -10,6 +10,8 @@
 #
 # Based on Gentoo's portage.py.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/cache.py +2 -0
index 65c514b908..42193dc9d6 100644
@@ -15,6 +15,8 @@
 # Copyright (C) 2005        Holger Hans Peter Freyther
 # Copyright (C) 2005        ROAD GmbH
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/cache_extra.py +2 -0
index 83f4959d6c..108d55d16f 100644
@@ -12,6 +12,8 @@
 
 # Copyright (C) 2011, Intel Corporation. All rights reserved.
 
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/checksum.py +2 -0
index 4e1598fe83..9ac07a6a84 100644
@@ -2,6 +2,8 @@
 #
 # Copyright (C) 2012 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/codeparser.py +4 -0
index ac995a6a1d..fd2c4734f0 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 """
 BitBake code parser
 
lib/bb/command.py +2 -0
index 6c966e3dbc..9ebaac643a 100644
@@ -6,6 +6,8 @@ Provide an interface to interact with the bitbake server through 'commands'
 
 # Copyright (C) 2006-2007  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/compat.py +4 -0
index de1923d28a..49356681ab 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 """Code pulled from future python versions, here for compatibility"""
 
 from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
lib/bb/cooker.py +2 -0
index 9ccaa79f57..fe812653fa 100644
@@ -9,6 +9,8 @@
 # Copyright (C) 2005        ROAD GmbH
 # Copyright (C) 2006 - 2007 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/cookerdata.py +2 -0
index 09412e28cf..3b074b2f3a 100644
@@ -9,6 +9,8 @@
 # Copyright (C) 2005        ROAD GmbH
 # Copyright (C) 2006        Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/daemonize.py +4 -0
index c937675eb6..f01e6ec7cc 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 """
 Python Daemonizing helper
 
lib/bb/data.py +2 -0
index 29c2388038..ba50b9ff1b 100644
@@ -22,6 +22,8 @@ the speed is more critical here.
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2005        Holger Hans Peter Freyther
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/data_smart.py +2 -0
index 07db7be97a..441bb3001b 100644
@@ -14,6 +14,8 @@ BitBake build tools.
 # Copyright (C) 2005        Uli Luckas
 # Copyright (C) 2005        ROAD GmbH
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/event.py +2 -0
index 5b1b094a80..48f8e73847 100644
@@ -9,6 +9,8 @@ BitBake build tools.
 
 # Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/exceptions.py +3 -0
index cd713439ea..ecbad59970 100644
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import inspect
 import traceback
lib/bb/fetch2/__init__.py +2 -0
index 8fecc809d4..c92844da5c 100644
@@ -10,6 +10,8 @@ BitBake build tools.
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2012  Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/bzr.py +2 -0
index 658502f9a6..891fef9b9d 100644
@@ -10,6 +10,8 @@ BitBake 'Fetch' implementation for bzr.
 #   BitBake build tools.
 #   Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/clearcase.py +2 -0
index 3a6573d0b2..ff181bb78b 100644
@@ -47,6 +47,8 @@ User credentials:
 """
 # Copyright (C) 2014 Siemens AG
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/cvs.py +2 -0
index 0e0a3196f8..666f4be2bc 100644
@@ -10,6 +10,8 @@ BitBake build tools.
 
 # Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/git.py +3 -1
index c69d25c914..78ad18cc7a 100644
@@ -55,7 +55,9 @@ Supported SRC_URI options are:
 
 """
 
-#Copyright (C) 2005 Richard Purdie
+# Copyright (C) 2005 Richard Purdie
+#
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
lib/bb/fetch2/gitannex.py +2 -0
index a9b69caab4..3a32c85a83 100644
@@ -7,6 +7,8 @@ BitBake 'Fetch' git annex implementation
 # Copyright (C) 2014 Otavio Salvador
 # Copyright (C) 2014 O.S. Systems Software LTDA.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/gitsm.py +2 -0
index 32389130bd..e910a08390 100644
@@ -16,6 +16,8 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r
 
 # Copyright (C) 2013 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/hg.py +2 -0
index 5a2985e16c..c9eeaaefca 100644
@@ -13,6 +13,8 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
lib/bb/fetch2/local.py +2 -0
index a114ac12e5..13e6d80b5b 100644
@@ -10,6 +10,8 @@ BitBake build tools.
 
 # Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/npm.py +3 -0
index 65bf5a3644..7235f899f4 100644
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # ex:ts=4:sw=4:sts=4:et
 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
lib/bb/fetch2/osc.py +3 -0
index 6c60456b53..19c0d9dcaa 100644
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # ex:ts=4:sw=4:sts=4:et
 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
lib/bb/fetch2/perforce.py +2 -0
index 903a8e61ae..366da99eab 100644
@@ -8,6 +8,8 @@ BitBake 'Fetch' implementation for perforce
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2016 Kodak Alaris, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/repo.py +2 -0
index 8c7e81853a..066ab08fc3 100644
@@ -10,6 +10,8 @@ BitBake "Fetch" repo (git) implementation
 # Based on git.py which is:
 #Copyright (C) 2005 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/s3.py +2 -0
index 1629288622..fae7c8b0f0 100644
@@ -13,6 +13,8 @@ The aws tool must be correctly installed and configured prior to use.
 # Based in part on bb.fetch2.wget:
 #    Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/sftp.py +2 -0
index 81884a6aa4..6dea6ad6b2 100644
@@ -44,6 +44,8 @@ SRC_URI = "sftp://[email protected]/dir/path.file.txt"
 # Based in part on bb.fetch2.wget:
 #    Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/ssh.py +2 -0
index 6047ee417a..d416a9db87 100644
@@ -29,6 +29,8 @@ IETF secsh internet draft:
 #            Copyright 2003 Holger Schurig
 #
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/svn.py +2 -0
index 9dcf3eb090..4249e34c49 100644
@@ -8,6 +8,8 @@ BitBake 'Fetch' implementation for svn.
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2004        Marcin Juszkiewicz
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/fetch2/wget.py +2 -0
index 3bb3e3bb0c..89dfd4a7b2 100644
@@ -10,6 +10,8 @@ BitBake build tools.
 
 # Copyright (C) 2003, 2004  Chris Larson
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/main.py +2 -0
index 41dd3b9e03..215c63ef9f 100755
@@ -9,6 +9,8 @@
 # Copyright (C) 2005        ROAD GmbH
 # Copyright (C) 2006        Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/methodpool.py +2 -0
index 49aed3338b..2f899098e6 100644
@@ -4,6 +4,8 @@
 #
 # Copyright (C)       2006 Holger Hans Peter Freyther
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/monitordisk.py +2 -0
index 2ad1e61562..c243add540 100644
@@ -4,6 +4,8 @@
 #
 # Copyright (C) 2012 Robert Yang
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/msg.py +2 -0
index 96f077ec49..64662079a4 100644
@@ -9,6 +9,8 @@ Message handling infrastructure for bitbake
 
 # Copyright (C) 2006        Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/namedtuple_with_abc.py +3 -0
index 32f2fc642c..c8e1d55c15 100644
@@ -1,6 +1,9 @@
 # http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/
 #!/usr/bin/env python
 # Copyright (c) 2011 Jan Kaliszewski (zuo). Available under the MIT License.
+#
+# SPDX-License-Identifier: MIT
+#
 
 """
 namedtuple_with_abc.py:
lib/bb/parse/__init__.py +2 -0
index 5397d57a51..8ff1b8a24a 100644
@@ -9,6 +9,8 @@ File parsers for the BitBake build tools.
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/parse/ast.py +2 -0
index 6d7c80b34f..cf76dadbaa 100644
@@ -8,6 +8,8 @@
 # Copyright (C) 2003, 2004 Phil Blundell
 # Copyright (C) 2009 Holger Hans Peter Freyther
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/parse/parse_py/BBHandler.py +2 -0
index 314e8021f9..297ab77909 100644
@@ -12,6 +12,8 @@
 #  Copyright (C) 2003, 2004  Chris Larson
 #  Copyright (C) 2003, 2004  Phil Blundell
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/parse/parse_py/ConfHandler.py +2 -0
index ea49f8ca93..d1784b6c5b 100644
@@ -11,6 +11,8 @@
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/parse/parse_py/__init__.py +2 -0
index 3e658d0de9..a8f78dba76 100644
@@ -11,6 +11,8 @@ File parsers for the BitBake build tools.
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/persist_data.py +2 -0
index 0d44100f10..cac56728a9 100644
@@ -8,6 +8,8 @@ currently, providing a key/value store accessed by 'domain'.
 # Copyright (C) 2007        Richard Purdie
 # Copyright (C) 2010        Chris Larson <[email protected]>
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/process.py +4 -0
index e69697cb68..2dc472a86f 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import logging
 import signal
 import subprocess
lib/bb/progress.py +2 -0
index f54d1c76f8..00dddabbb8 100644
@@ -4,6 +4,8 @@ BitBake progress handling code
 
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/providers.py +2 -0
index f496d84d12..856f0de76f 100644
@@ -8,6 +8,8 @@
 # Copyright (C) 2005        ROAD GmbH
 # Copyright (C) 2006        Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/remotedata.py +2 -0
index 68ecffc198..05c6fabdf8 100644
@@ -6,6 +6,8 @@ Provides support for using a datastore from the bitbake client
 
 # Copyright (C) 2016  Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/runqueue.py +2 -0
index 524c85d7d3..ddd2fde0ac 100644
@@ -9,6 +9,8 @@ Handles preparation and execution of a queue of tasks
 
 # Copyright (C) 2006-2007  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/server/__init__.py +2 -0
index 5a3fba968f..5ec7a75601 100644
@@ -5,6 +5,8 @@
 # Copyright (C) 2006 - 2008  Richard Purdie
 # Copyright (C) 2013         Alexandru Damian
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/server/process.py +2 -0
index 80a7875ad9..bac94fcc2d 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2010 Bob Foerster <[email protected]>
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/server/xmlrpcclient.py +2 -0
index 4661a9e5a0..fc2fddd54b 100644
@@ -4,6 +4,8 @@
 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
 # Copyright (C) 2006 - 2008  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/server/xmlrpcserver.py +2 -0
index 875b1282e5..b885f9a79c 100644
@@ -4,6 +4,8 @@
 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
 # Copyright (C) 2006 - 2008  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/siggen.py +4 -0
index 7b9f3debc2..e0a66e68d5 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import hashlib
 import logging
 import os
lib/bb/taskdata.py +2 -0
index 94e822c485..5316d1b42f 100644
@@ -10,6 +10,8 @@ Task data collection and handling
 
 # Copyright (C) 2006  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/codeparser.py +2 -0
index 3fd76a8f9f..00ee6de533 100644
@@ -6,6 +6,8 @@
 # Copyright (C) 2010 Chris Larson
 # Copyright (C) 2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/cooker.py +2 -0
index 2b44236506..850dde4f6e 100644
@@ -3,6 +3,8 @@
 #
 # BitBake Tests for cooker.py
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/cow.py +2 -0
index d149d84d0d..5051e4ed73 100644
@@ -3,6 +3,8 @@
 #
 # BitBake Tests for Copy-on-Write (cow.py)
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Copyright 2006 Holger Freyther <[email protected]>
 #
 # This program is free software; you can redistribute it and/or modify
lib/bb/tests/data.py +2 -0
index 3c511f214b..b584edee54 100644
@@ -6,6 +6,8 @@
 # Copyright (C) 2010 Chris Larson
 # Copyright (C) 2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/event.py +2 -0
index d3a5f6269f..4822dc7bca 100644
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2017 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/fetch.py +2 -0
index 429998b34f..559b4892e3 100644
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/parse.py +2 -0
index 4467d17997..20d09c00a0 100644
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2015 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/persist_data.py +2 -0
index 812bcbd7b8..6aee9f1ca8 100644
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2018 Garmin Ltd.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tests/utils.py +2 -0
index f1cd83a419..13351068d7 100644
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/tinfoil.py +2 -0
index 368264f39a..da049b6e59 100644
@@ -4,6 +4,8 @@
 # Copyright (C) 2011 Mentor Graphics Corporation
 # Copyright (C) 2006-2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/__init__.py +2 -0
index a4805ed028..669dc86fc3 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2006-2007 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/buildinfohelper.py +2 -0
index 31323d281f..37b94cd071 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2013        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/knotty.py +2 -0
index 4567c148c8..cf1e59e463 100644
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2006-2012 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/ncurses.py +2 -0
index 8690c529cc..713a4a4163 100644
@@ -6,6 +6,8 @@
 # Copyright (C) 2006 Michael 'Mickey' Lauer
 # Copyright (C) 2006-2007 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/taskexp.py +2 -0
index 8305d70f41..3ea0a242bf 100644
@@ -4,6 +4,8 @@
 # Copyright (C) 2007        Ross Burton
 # Copyright (C) 2007 - 2008 Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/toasterui.py +2 -0
index 88cec37592..d2517edbb2 100644
@@ -7,6 +7,8 @@
 # Copyright (C) 2006-2012 Richard Purdie
 # Copyright (C) 2013      Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/uievent.py +2 -0
index 9542b911ca..e96454404b 100644
@@ -4,6 +4,8 @@
 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
 # Copyright (C) 2006 - 2007  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/ui/uihelper.py +2 -0
index 963c1ea2df..000a7cf41f 100644
@@ -4,6 +4,8 @@
 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
 # Copyright (C) 2006 - 2007  Richard Purdie
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bb/utils.py +2 -0
index a3f75fbe9d..69e01519b0 100644
@@ -6,6 +6,8 @@ BitBake Utility Functions
 
 # Copyright (C) 2004 Michael Lauer
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/bblayers/__init__.py +4 -0
index 3ad9513f40..4e7c09da04 100644
@@ -1,2 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from pkgutil import extend_path
 __path__ = extend_path(__path__, __name__)
lib/bblayers/action.py +4 -0
index a3f658f931..d6459d6617 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import fnmatch
 import logging
 import os
lib/bblayers/common.py +4 -0
index 98515ced4f..c5657d3819 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import argparse
 import logging
 import os
lib/bblayers/layerindex.py +4 -0
index b2ff2268ea..57cd9027f6 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import layerindexlib
 
 import argparse
lib/bblayers/query.py +4 -0
index 9294dfa884..993589de94 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import collections
 import fnmatch
 import logging
lib/hashserv/__init__.py +2 -0
index 46bca7cab3..6f4a046966 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2018 Garmin Ltd.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/hashserv/tests.py +2 -0
index 806b54c5eb..b022195183 100644
@@ -2,6 +2,8 @@
 #
 # Copyright (C) 2018 Garmin Ltd.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/__init__.py +2 -0
index cb79cb37d7..2854f6d0da 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2016-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/cooker.py +2 -0
index 848f0e2ee2..87c7c8cc9a 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2016-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/plugin.py +2 -0
index 92a2e978ba..e7adae7ac0 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2016-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/restapi.py +2 -0
index d08eb20555..89092fe34e 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2016-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/tests/common.py +2 -0
index 22a54585c8..f4e04aacc1 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2017-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/tests/cooker.py +2 -0
index fdbf091103..648c7ba9f4 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/tests/layerindexobj.py +2 -0
index e2fbb950b0..7de1338d78 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2017-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/layerindexlib/tests/restapi.py +2 -0
index 58766950ce..fc4ff939bb 100644
@@ -1,5 +1,7 @@
 # Copyright (C) 2017-2018 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/progressbar/__init__.py +2 -0
index fbab744ee2..c545a62754 100644
@@ -4,6 +4,8 @@
 # progressbar  - Text progress bar library for Python.
 # Copyright (c) 2005 Nilton Volpato
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
lib/progressbar/compat.py +2 -0
index a39f4a1f4e..9804e0b512 100644
@@ -3,6 +3,8 @@
 # progressbar  - Text progress bar library for Python.
 # Copyright (c) 2005 Nilton Volpato
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
lib/progressbar/progressbar.py +2 -0
index 2873ad6cae..e2b6ba1083 100644
@@ -5,6 +5,8 @@
 #
 # (With some small changes after importing into BitBake)
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
lib/progressbar/widgets.py +2 -0
index 77285ca7a3..0772aa536d 100644
@@ -3,6 +3,8 @@
 # progressbar  - Text progress bar library for Python.
 # Copyright (c) 2005 Nilton Volpato
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
lib/prserv/__init__.py +4 -0
index c3cb73ad92..9961040b58 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 __version__ = "1.0.0"
 
 import os, time
lib/prserv/db.py +4 -0
index 495d09f39b..d6188a679b 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import logging
 import os.path
 import errno
lib/prserv/serv.py +4 -0
index 6a99728c4f..be3acec36a 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import os,sys,logging
 import signal, time
 from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler
lib/pyinotify.py +2 -0
index 4eb03b092d..8fe4041fae 100644
@@ -3,6 +3,8 @@
 # pyinotify.py - python interface to inotify
 # Copyright (c) 2005-2015 Sebastien Martini <[email protected]>
 #
+# SPDX-License-Identifier: MIT
+#
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
 # in the Software without restriction, including without limitation the rights
lib/toaster/bldcollector/admin.py +4 -0
index 1f2e07f50b..feaa888c73 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.contrib import admin
 from orm.models import BitbakeVersion, Release, ToasterSetting, Layer_Version
 from django import forms
lib/toaster/bldcollector/urls.py +2 -0
index 888175d0ab..182a7a6159 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2014-2017   Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/bldcollector/views.py +2 -0
index f32fa4d225..132e44c681 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2014        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/bldcontrol/admin.py +4 -0
index fcbe5f5935..e85c30ed11 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.contrib import admin
 from django.contrib.admin.filters import RelatedFieldListFilter
 from .models import BuildEnvironment
lib/toaster/bldcontrol/bbcontroller.py +2 -0
index 5195600d90..d182a36e9e 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2014        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/bldcontrol/localhostbecontroller.py +2 -0
index 9490635934..4d4afafd4d 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2014        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/bldcontrol/management/commands/checksettings.py +4 -0
index 14298d9daf..fe2c4dc2bb 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.core.management.base import BaseCommand, CommandError
 from django.db import transaction
 
lib/toaster/bldcontrol/management/commands/runbuilds.py +4 -0
index 6a55dd46c8..50ec409860 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.core.management.base import BaseCommand
 from django.db import transaction
 from django.db.models import Q
lib/toaster/bldcontrol/models.py +4 -0
index 409614b9e7..bcffcf5e20 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from __future__ import unicode_literals
 from django.db import models
 from django.core.validators import MaxValueValidator, MinValueValidator
lib/toaster/bldcontrol/views.py +4 -0
index 60f00ef0ef..286d88b45a 100644
@@ -1 +1,5 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 # Create your views here.
lib/toaster/manage.py +4 -0
index 0c7ea50882..ae32619d12 100755
@@ -1,4 +1,8 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import os
 import sys
 
lib/toaster/orm/management/commands/lsupdates.py +2 -0
index 66114ff89e..b15b9ce4af 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016-2017   Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/orm/models.py +2 -0
index 7720290214..68ca0bcfed 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/selenium_helpers.py +2 -0
index 08711e4558..66e700c842 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/selenium_helpers_base.py +2 -0
index 156d639b1e..48a0488e19 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_all_builds_page.py +2 -0
index b86f29bdd4..bab44e9cc2 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_all_projects_page.py +2 -0
index 44da640751..b0b3aec1fa 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_builddashboard_page.py +2 -0
index f8ccb54528..5d2dcd066b 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_builddashboard_page_artifacts.py +2 -0
index 1c627ad498..f92b642e95 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_builddashboard_page_recipes.py +2 -0
index ed18324e57..7f96288156 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_builddashboard_page_tasks.py +2 -0
index da50f16011..d0c4ec33e5 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_js_unit_tests.py +2 -0
index 3c0b96252f..ceea71342c 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_landing_page.py +2 -0
index 4d4cd660fb..06aa5693eb 100644
@@ -4,6 +4,8 @@
 #
 # BitBake Toaster Implementation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Copyright (C) 2013-2016 Intel Corporation
 #
 # This program is free software; you can redistribute it and/or modify
lib/toaster/tests/browser/test_layerdetails_page.py +2 -0
index f24fb093a5..a39bb9ac18 100644
@@ -4,6 +4,8 @@
 #
 # BitBake Toaster Implementation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Copyright (C) 2013-2016 Intel Corporation
 #
 # This program is free software; you can redistribute it and/or modify
lib/toaster/tests/browser/test_most_recent_builds_states.py +2 -0
index abc0b0bc88..7d44638bc1 100644
@@ -4,6 +4,8 @@
 #
 # BitBake Toaster Implementation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Copyright (C) 2013-2016 Intel Corporation
 #
 # This program is free software; you can redistribute it and/or modify
lib/toaster/tests/browser/test_new_custom_image_page.py +2 -0
index ab5a8e66be..f865e3272c 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_new_project_page.py +2 -0
index 77e5f15267..92d414d8d6 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_project_builds_page.py +2 -0
index 9fe91ab067..2202d937d6 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_project_config_page.py +2 -0
index 0710084995..a0d5bcd348 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_project_page.py +2 -0
index 0186463324..7b544ed966 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_sample.py +2 -0
index 20ec53c28a..4cdd19f3d1 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_task_page.py +2 -0
index 690d116cba..97708a765e 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/browser/test_toastertable_ui.py +2 -0
index 53ddf30c3c..0780ef9fe4 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/builds/buildtest.py +2 -0
index 5a56a110a7..129c9fe401 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/builds/test_core_image_min.py +2 -0
index 586f4a8f7f..8964071990 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/commands/test_loaddata.py +2 -0
index 951f6ff5aa..b4b53d0919 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/commands/test_lsupdates.py +2 -0
index 49897a476c..2d34f211b9 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/commands/test_runbuilds.py +2 -0
index 3e634835ee..2c9fcf0f20 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/db/test_db.py +2 -0
index a0f5f6ec03..0410422276 100644
@@ -2,6 +2,8 @@
 #
 # Copyright (c) 2016 Damien Lespiau
 #
+# SPDX-License-Identifier: MIT
+#
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
 # in the Software without restriction, including without limitation the rights
lib/toaster/tests/eventreplay/__init__.py +2 -0
index 695661947a..f10ea89ae1 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/functional/functional_helpers.py +2 -0
index 486078a615..8eb2e963f6 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2017 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/functional/test_functional_basic.py +2 -0
index cfa2b0fdf0..817bcde333 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2017 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/tests/views/test_views.py +2 -0
index 1463077e91..d5b00288bd 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013-2015 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/api.py +2 -0
index 564d595a1c..99e9768ae7 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2016        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/buildtables.py +2 -0
index 755a7c2e43..6a20d60752 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/tablefilter.py +2 -0
index 65454e140d..1f9016beff 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2015        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/tables.py +2 -0
index 9ff756bc8d..855861a869 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2015        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/templatetags/field_values_filter.py +4 -0
index 5a73af797c..eb483396c2 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django import template
 
 register = template.Library()
lib/toaster/toastergui/templatetags/objects_to_dictionaries_filter.py +4 -0
index 0dcc7d2714..048d533871 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django import template
 import json
 
lib/toaster/toastergui/templatetags/project_url_tag.py +4 -0
index 04770ac6a8..71e0925787 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django import template
 from django.core.urlresolvers import reverse
 
lib/toaster/toastergui/templatetags/projecttags.py +2 -0
index b170a16165..80652edd49 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/typeaheads.py +2 -0
index 5aa0f8d889..3921435584 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2015        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/urls.py +2 -0
index dc03e30356..3d0be61faa 100644
@@ -3,6 +3,8 @@
 #
 # Copyright (C) 2013-2017    Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/views.py +2 -0
index c712b06a6e..6aad55b7c8 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastergui/widgets.py +2 -0
index db5c3aa00b..e8aabdd9fa 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2015        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/management/commands/builddelete.py +4 -0
index bf69a8fb80..c2d773a577 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.core.management.base import BaseCommand, CommandError
 from django.core.exceptions import ObjectDoesNotExist
 from orm.models import Build
lib/toaster/toastermain/management/commands/buildimport.py +2 -0
index 2d57ab557a..2f99c6d556 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2018        Wind River Systems
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/management/commands/buildslist.py +4 -0
index 70b5812d98..1ed20224d3 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.core.management.base import BaseCommand, CommandError
 from orm.models import Build
 import os
lib/toaster/toastermain/management/commands/checksocket.py +2 -0
index 0399b8659b..d9cdb555df 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2015 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/management/commands/perf.py +4 -0
index 6b450bbdfc..7d629fb37f 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from django.core.management.base import BaseCommand
 from django.test.client import Client
 import os, sys, re
lib/toaster/toastermain/settings.py +2 -0
index 13541d380f..6373559190 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/settings_production_example.py +2 -0
index 61a288864a..2067624358 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/settings_test.py +2 -0
index a322711579..963d77f280 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2016        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/urls.py +2 -0
index e2fb0aebfd..1a98754ed4 100644
@@ -6,6 +6,8 @@
 #
 # Copyright (C) 2013        Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
lib/toaster/toastermain/wsgi.py +4 -0
index 031b314b1a..5ad22aea18 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 """
 # ex:ts=4:sw=4:sts=4:et
 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
Signature · 1 line
2.20.1
#3 lore raw

PATCH 4/6 bitbake: Drop duplicate license boilerplace text

In reply to Richard Purdie

With the introduction of SPDX-License-Identifier headers, we don't need a ton of header boilerplate in every file. Simplify the files and rely on the top level for the full licence text.

---
 HEADER                                          | 13 -------------
 bin/bitbake                                     | 12 ------------
 bin/bitbake-diffsigs                            | 12 ------------
 bin/bitbake-hashserv                            | 13 +------------
 bin/bitbake-layers                              | 12 ------------
 bin/bitbake-selftest                            | 12 ------------
 bin/bitdoc                                      | 12 ------------
 bin/toaster                                     | 12 ------------
 bin/toaster-eventreplay                         | 12 ------------
 lib/bb/COW.py                                   | 13 -------------
 lib/bb/__init__.py                              | 12 ------------
 lib/bb/build.py                                 | 13 -------------
 lib/bb/cache.py                                 | 12 ------------
 lib/bb/cache_extra.py                           | 12 ------------
 lib/bb/checksum.py                              | 12 ------------
 lib/bb/command.py                               | 12 ------------
 lib/bb/cooker.py                                | 13 -------------
 lib/bb/cookerdata.py                            | 12 ------------
 lib/bb/data.py                                  | 13 -------------
 lib/bb/data_smart.py                            | 12 ------------
 lib/bb/event.py                                 | 12 ------------
 lib/bb/fetch2/__init__.py                       | 13 -------------
 lib/bb/fetch2/bzr.py                            | 12 ------------
 lib/bb/fetch2/clearcase.py                      | 13 -------------
 lib/bb/fetch2/cvs.py                            | 15 +--------------
 lib/bb/fetch2/git.py                            | 12 ------------
 lib/bb/fetch2/gitannex.py                       | 12 ------------
 lib/bb/fetch2/gitsm.py                          | 12 ------------
 lib/bb/fetch2/hg.py                             | 14 +-------------
 lib/bb/fetch2/local.py                          | 14 +-------------
 lib/bb/fetch2/perforce.py                       | 13 -------------
 lib/bb/fetch2/repo.py                           | 14 +-------------
 lib/bb/fetch2/s3.py                             | 13 -------------
 lib/bb/fetch2/sftp.py                           | 13 -------------
 lib/bb/fetch2/ssh.py                            | 12 ------------
 lib/bb/fetch2/svn.py                            | 13 -------------
 lib/bb/fetch2/wget.py                           | 13 -------------
 lib/bb/main.py                                  | 12 ------------
 lib/bb/methodpool.py                            | 12 ------------
 lib/bb/monitordisk.py                           | 12 ------------
 lib/bb/msg.py                                   | 12 ------------
 lib/bb/parse/__init__.py                        | 14 +-------------
 lib/bb/parse/ast.py                             | 13 -------------
 lib/bb/parse/parse_py/BBHandler.py              | 13 -------------
 lib/bb/parse/parse_py/ConfHandler.py            | 12 ------------
 lib/bb/parse/parse_py/__init__.py               | 14 +-------------
 lib/bb/persist_data.py                          | 12 ------------
 lib/bb/progress.py                              | 12 ------------
 lib/bb/providers.py                             | 12 ------------
 lib/bb/remotedata.py                            | 12 ------------
 lib/bb/runqueue.py                              | 12 ------------
 lib/bb/server/__init__.py                       | 14 --------------
 lib/bb/server/process.py                        | 12 ------------
 lib/bb/server/xmlrpcclient.py                   | 12 ------------
 lib/bb/server/xmlrpcserver.py                   | 12 ------------
 lib/bb/taskdata.py                              | 12 ------------
 lib/bb/tests/codeparser.py                      | 13 -------------
 lib/bb/tests/cooker.py                          | 13 -------------
 lib/bb/tests/cow.py                             | 13 -------------
 lib/bb/tests/data.py                            | 13 -------------
 lib/bb/tests/event.py                           | 13 -------------
 lib/bb/tests/fetch.py                           | 13 -------------
 lib/bb/tests/parse.py                           | 13 -------------
 lib/bb/tests/persist_data.py                    | 13 -------------
 lib/bb/tests/utils.py                           | 13 -------------
 lib/bb/tinfoil.py                               | 12 ------------
 lib/bb/ui/__init__.py                           | 12 ------------
 lib/bb/ui/buildinfohelper.py                    | 12 ------------
 lib/bb/ui/knotty.py                             | 12 ------------
 lib/bb/ui/ncurses.py                            | 12 ------------
 lib/bb/ui/taskexp.py                            | 12 ------------
 lib/bb/ui/toasterui.py                          | 12 ------------
 lib/bb/ui/uievent.py                            | 13 -------------
 lib/bb/ui/uihelper.py                           | 12 ------------
 lib/bb/utils.py                                 | 12 ------------
 lib/hashserv/__init__.py                        | 12 ------------
 lib/hashserv/tests.py                           | 12 ------------
 lib/layerindexlib/__init__.py                   | 12 ------------
 lib/layerindexlib/cooker.py                     | 12 ------------
 lib/layerindexlib/plugin.py                     | 13 -------------
 lib/layerindexlib/restapi.py                    | 12 ------------
 lib/layerindexlib/tests/common.py               | 12 ------------
 lib/layerindexlib/tests/cooker.py               | 12 ------------
 lib/layerindexlib/tests/layerindexobj.py        | 12 ------------
 lib/layerindexlib/tests/restapi.py              | 12 ------------
 lib/pyinotify.py                                | 17 -----------------
 lib/toaster/bldcollector/urls.py                | 13 -------------
 lib/toaster/bldcollector/views.py               | 12 ------------
 lib/toaster/bldcontrol/bbcontroller.py          | 13 -------------
 lib/toaster/bldcontrol/localhostbecontroller.py | 13 -------------
 .../orm/management/commands/lsupdates.py        | 12 ------------
 lib/toaster/orm/models.py                       | 12 ------------
 lib/toaster/tests/browser/selenium_helpers.py   | 13 -------------
 .../tests/browser/selenium_helpers_base.py      | 13 -------------
 .../tests/browser/test_all_builds_page.py       | 12 ------------
 .../tests/browser/test_all_projects_page.py     | 12 ------------
 .../tests/browser/test_builddashboard_page.py   | 12 ------------
 .../test_builddashboard_page_artifacts.py       | 12 ------------
 .../browser/test_builddashboard_page_recipes.py | 12 ------------
 .../browser/test_builddashboard_page_tasks.py   | 12 ------------
 lib/toaster/tests/browser/test_js_unit_tests.py | 12 ------------
 lib/toaster/tests/browser/test_landing_page.py  | 12 ------------
 .../tests/browser/test_layerdetails_page.py     | 12 ------------
 .../browser/test_most_recent_builds_states.py   | 12 ------------
 .../tests/browser/test_new_custom_image_page.py | 12 ------------
 .../tests/browser/test_new_project_page.py      | 12 ------------
 .../tests/browser/test_project_builds_page.py   | 12 ------------
 .../tests/browser/test_project_config_page.py   | 12 ------------
 lib/toaster/tests/browser/test_project_page.py  | 12 ------------
 lib/toaster/tests/browser/test_sample.py        | 12 ------------
 lib/toaster/tests/browser/test_task_page.py     | 12 ------------
 .../tests/browser/test_toastertable_ui.py       | 12 ------------
 lib/toaster/tests/builds/buildtest.py           | 12 ------------
 lib/toaster/tests/builds/test_core_image_min.py | 13 -------------
 lib/toaster/tests/commands/test_loaddata.py     | 12 ------------
 lib/toaster/tests/commands/test_lsupdates.py    | 12 ------------
 lib/toaster/tests/commands/test_runbuilds.py    | 12 ------------
 lib/toaster/tests/eventreplay/__init__.py       | 12 ------------
 .../tests/functional/functional_helpers.py      | 12 ------------
 .../tests/functional/test_functional_basic.py   | 12 ------------
 lib/toaster/tests/views/test_views.py           | 12 ------------
 lib/toaster/toastergui/api.py                   | 13 -------------
 lib/toaster/toastergui/buildtables.py           | 12 ------------
 lib/toaster/toastergui/tablefilter.py           | 12 ------------
 lib/toaster/toastergui/tables.py                | 12 ------------
 .../toastergui/templatetags/projecttags.py      | 12 ------------
 lib/toaster/toastergui/typeaheads.py            | 12 ------------
 lib/toaster/toastergui/urls.py                  | 12 ------------
 lib/toaster/toastergui/views.py                 | 13 -------------
 lib/toaster/toastergui/widgets.py               | 12 ------------
 .../management/commands/buildimport.py          | 12 ------------
 .../management/commands/checksocket.py          | 12 ------------
 lib/toaster/toastermain/settings.py             | 12 ------------
 .../toastermain/settings_production_example.py  | 12 ------------
 lib/toaster/toastermain/settings_test.py        | 12 ------------
 lib/toaster/toastermain/urls.py                 | 12 ------------
 136 files changed, 7 insertions(+), 1679 deletions(-)
HEADER +0 -13
index 113872d469..323892ecac 100644
@@ -6,16 +6,3 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
bin/bitbake +0 -12
index 0205b67f99..e425f70a58 100755
@@ -11,18 +11,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
bin/bitbake-diffsigs +0 -12
index de4e3786e9..19420a2df6 100755
@@ -7,18 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
bin/bitbake-hashserv +1 -12
index 924e602592..848a0ca39f 100755
@@ -4,18 +4,7 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 import os
 import sys
 import logging
bin/bitbake-layers +0 -12
index da52990515..a884dc1f8d 100755
@@ -9,18 +9,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import logging
 import os
bin/bitbake-selftest +0 -12
index 5b2a5e1d15..20553e9814 100755
@@ -4,18 +4,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys, logging
bin/bitdoc +0 -12
index cfe54a9236..4839a6489f 100755
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import optparse, os, sys
 
bin/toaster +0 -12
index 9da2a2649c..c3472dfee8 100755
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
 
 HELP="
 Usage: source toaster start|stop [webport=<address:port>] [noweb] [nobuild] [toasterdir]
bin/toaster-eventreplay +0 -12
index abd91fe8b2..3f01a3cc00 100755
@@ -9,18 +9,6 @@
 # This file re-uses code spread throughout other Bitbake source files.
 # As such, all other copyrights belong to their own right holders.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """
 This command takes a filename as a single parameter. The filename is read
lib/bb/COW.py +0 -13
index 7817473ab8..06678a9bf8 100644
@@ -5,19 +5,6 @@
 #
 # Copyright (C) 2006 Tim Ansell
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 #Please Note:
 # Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
 # Assign a file to __warn__ to get warnings about slow operations.
lib/bb/__init__.py +0 -12
index b013cbb896..d57ebad90a 100644
@@ -10,18 +10,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 __version__ = "1.43.0"
 
lib/bb/build.py +0 -13
index ca41632ff6..88c69b399d 100644
@@ -12,19 +12,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import os
lib/bb/cache.py +0 -12
index 42193dc9d6..af410aac39 100644
@@ -17,18 +17,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
lib/bb/cache_extra.py +0 -12
index 108d55d16f..d282601134 100644
@@ -14,18 +14,6 @@
 
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from bb.cache import RecipeInfoCommon
 
lib/bb/checksum.py +0 -12
index 9ac07a6a84..5bc8a8fcb6 100644
@@ -4,18 +4,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import glob
 import operator
lib/bb/command.py +0 -12
index 9ebaac643a..378f389b3a 100644
@@ -8,18 +8,6 @@ Provide an interface to interact with the bitbake server through 'commands'
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """
 The bitbake server takes 'commands' from its UI/commandline.
lib/bb/cooker.py +0 -13
index fe812653fa..db08150d85 100644
@@ -11,19 +11,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 import sys, os, glob, os.path, re, time
 import atexit
lib/bb/cookerdata.py +0 -12
index 3b074b2f3a..50b6b6bd3a 100644
@@ -11,18 +11,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import logging
 import os
lib/bb/data.py +0 -13
index ba50b9ff1b..2dcb16e56a 100644
@@ -24,19 +24,6 @@ the speed is more critical here.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import sys, os, re
lib/bb/data_smart.py +0 -12
index 441bb3001b..da67998b10 100644
@@ -16,18 +16,6 @@ BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import copy, re, sys, traceback
lib/bb/event.py +0 -12
index 48f8e73847..656491494e 100644
@@ -11,18 +11,6 @@ BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os, sys
 import warnings
lib/bb/fetch2/__init__.py +0 -13
index c92844da5c..164c1a0ad4 100644
@@ -12,19 +12,6 @@ BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import os, re
lib/bb/fetch2/bzr.py +0 -12
index 891fef9b9d..c56d875300 100644
@@ -12,18 +12,6 @@ BitBake 'Fetch' implementation for bzr.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
lib/bb/fetch2/clearcase.py +0 -13
index ff181bb78b..09c9d0c33c 100644
@@ -49,19 +49,6 @@ User credentials:
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import os
 import sys
lib/bb/fetch2/cvs.py +1 -14
index 666f4be2bc..c780a6a45d 100644
@@ -12,20 +12,7 @@ BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-#Based on functions from the base bb module, Copyright 2003 Holger Schurig
+# Based on functions from the base bb module, Copyright 2003 Holger Schurig
 #
 
 import os
lib/bb/fetch2/git.py +0 -12
index 78ad18cc7a..80caf109b1 100644
@@ -59,18 +59,6 @@ Supported SRC_URI options are:
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import collections
 import errno
lib/bb/fetch2/gitannex.py +0 -12
index 3a32c85a83..939e058127 100644
@@ -9,18 +9,6 @@ BitBake 'Fetch' git annex implementation
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import bb
lib/bb/fetch2/gitsm.py +0 -12
index e910a08390..b13b2c7888 100644
@@ -18,18 +18,6 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import bb
lib/bb/fetch2/hg.py +1 -13
index c9eeaaefca..289fcd14bf 100644
@@ -9,22 +9,10 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
 # Copyright (C) 2004        Marcin Juszkiewicz
 # Copyright (C) 2007        Robert Schuster
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
+#
 
 import os
 import sys
lib/bb/fetch2/local.py +1 -13
index 13e6d80b5b..b04476fe48 100644
@@ -12,20 +12,8 @@ BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
+#
 
 import os
 import urllib.request, urllib.parse, urllib.error
lib/bb/fetch2/perforce.py +0 -13
index 366da99eab..a03a36d340 100644
@@ -10,19 +10,6 @@ BitBake 'Fetch' implementation for perforce
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import os
lib/bb/fetch2/repo.py +1 -13
index 066ab08fc3..cd752d5283 100644
@@ -8,22 +8,10 @@ BitBake "Fetch" repo (git) implementation
 # Copyright (C) 2009 Tom Rini <[email protected]>
 #
 # Based on git.py which is:
-#Copyright (C) 2005 Richard Purdie
+# Copyright (C) 2005 Richard Purdie
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import bb
lib/bb/fetch2/s3.py +0 -13
index fae7c8b0f0..479528f926 100644
@@ -15,19 +15,6 @@ The aws tool must be correctly installed and configured prior to use.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import os
lib/bb/fetch2/sftp.py +0 -13
index 6dea6ad6b2..f4a979197a 100644
@@ -46,19 +46,6 @@ SRC_URI = "sftp://[email protected]/dir/path.file.txt"
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import os
lib/bb/fetch2/ssh.py +0 -12
index d416a9db87..be2427cf9a 100644
@@ -31,18 +31,6 @@ IETF secsh internet draft:
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re, os
 from   bb.fetch2 import FetchMethod
lib/bb/fetch2/svn.py +0 -13
index 4249e34c49..6a82da9d52 100644
@@ -10,19 +10,6 @@ BitBake 'Fetch' implementation for svn.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import os
lib/bb/fetch2/wget.py +0 -13
index 89dfd4a7b2..143db1b361 100644
@@ -12,19 +12,6 @@ BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
 
 import re
lib/bb/main.py +0 -12
index 215c63ef9f..3c8746d2bd 100755
@@ -11,18 +11,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
lib/bb/methodpool.py +0 -12
index 2f899098e6..2f383c229c 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from bb.utils import better_compile, better_exec
 
lib/bb/monitordisk.py +0 -12
index c243add540..855452d2b4 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os, logging, re, sys
 import bb
lib/bb/msg.py +0 -12
index 64662079a4..a116444fa1 100644
@@ -11,18 +11,6 @@ Message handling infrastructure for bitbake
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import copy
lib/bb/parse/__init__.py +1 -13
index 8ff1b8a24a..76e180b411 100644
@@ -11,20 +11,8 @@ File parsers for the BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
+#
 
 handlers = []
 
lib/bb/parse/ast.py +0 -13
index cf76dadbaa..71ee49b8ce 100644
@@ -10,19 +10,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 import re
 import string
lib/bb/parse/parse_py/BBHandler.py +0 -13
index 297ab77909..55fd1cb6c3 100644
@@ -14,19 +14,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 import re, bb, os
 import logging
lib/bb/parse/parse_py/ConfHandler.py +0 -12
index d1784b6c5b..cc70da0db6 100644
@@ -13,18 +13,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import errno
 import re
lib/bb/parse/parse_py/__init__.py +1 -13
index a8f78dba76..696c71b458 100644
@@ -13,20 +13,8 @@ File parsers for the BitBake build tools.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Based on functions from the base bb module, Copyright 2003 Holger Schurig
+#
 
 from __future__ import absolute_import
 from . import ConfHandler
lib/bb/persist_data.py +0 -12
index cac56728a9..de8f87a8bf 100644
@@ -10,18 +10,6 @@ currently, providing a key/value store accessed by 'domain'.
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import collections
 import logging
lib/bb/progress.py +0 -12
index 00dddabbb8..e9b72e28b9 100644
@@ -6,18 +6,6 @@ BitBake progress handling code
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import re
lib/bb/providers.py +0 -12
index 856f0de76f..78445d6a72 100644
@@ -10,18 +10,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 import logging
lib/bb/remotedata.py +0 -12
index 05c6fabdf8..7391e1b45c 100644
@@ -8,18 +8,6 @@ Provides support for using a datastore from the bitbake client
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import bb.data
 
lib/bb/runqueue.py +0 -12
index ddd2fde0ac..3dfa391c31 100644
@@ -11,18 +11,6 @@ Handles preparation and execution of a queue of tasks
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import copy
 import os
lib/bb/server/__init__.py +0 -14
index 5ec7a75601..b6f7513181 100644
@@ -7,17 +7,3 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
lib/bb/server/process.py +0 -12
index bac94fcc2d..f901fe505a 100644
@@ -5,18 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """
     This module implements a multiprocessing.Process based server for bitbake.
lib/bb/server/xmlrpcclient.py +0 -12
index fc2fddd54b..c054c3c89d 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
lib/bb/server/xmlrpcserver.py +0 -12
index b885f9a79c..54fa32f573 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
lib/bb/taskdata.py +0 -12
index 5316d1b42f..5c49739da3 100644
@@ -12,18 +12,6 @@ Task data collection and handling
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import logging
 import re
lib/bb/tests/codeparser.py +0 -13
index 00ee6de533..742ccc2c27 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import logging
lib/bb/tests/cooker.py +0 -13
index 850dde4f6e..70b18598e1 100644
@@ -5,19 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import tempfile
lib/bb/tests/cow.py +0 -13
index 5051e4ed73..59ad242183 100644
@@ -7,19 +7,6 @@
 #
 # Copyright 2006 Holger Freyther <[email protected]>
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import os
lib/bb/tests/data.py +0 -13
index b584edee54..8bd472a8be 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import bb
lib/bb/tests/event.py +0 -13
index 4822dc7bca..e6254c7a1e 100644
@@ -7,19 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import bb
lib/bb/tests/fetch.py +0 -13
index 559b4892e3..c0ee308e12 100644
@@ -7,19 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import hashlib
lib/bb/tests/parse.py +0 -13
index 20d09c00a0..3875fbbd41 100644
@@ -7,19 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import tempfile
lib/bb/tests/persist_data.py +0 -13
index 6aee9f1ca8..dbb3ce183d 100644
@@ -7,19 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import bb.data
lib/bb/tests/utils.py +0 -13
index 13351068d7..1f01447bbb 100644
@@ -7,19 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 import unittest
 import bb
lib/bb/tinfoil.py +0 -12
index da049b6e59..0a1b913055 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import logging
 import os
lib/bb/ui/__init__.py +0 -12
index 669dc86fc3..4b7ac36ca6 100644
@@ -5,15 +5,3 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
lib/bb/ui/buildinfohelper.py +0 -12
index 37b94cd071..f2151c2d47 100644
@@ -5,18 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import bb
lib/bb/ui/knotty.py +0 -12
index cf1e59e463..3d9e2031b3 100644
@@ -7,18 +7,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from __future__ import division
 
lib/bb/ui/ncurses.py +0 -12
index 713a4a4163..c422732b26 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """
     We have the following windows:
lib/bb/ui/taskexp.py +0 -12
index 3ea0a242bf..50a943cd05 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import gi
lib/bb/ui/toasterui.py +0 -12
index d2517edbb2..51892c9a09 100644
@@ -9,18 +9,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from __future__ import division
 import time
lib/bb/ui/uievent.py +0 -13
index e96454404b..7276bdaf9d 100644
@@ -6,19 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 """
 Use this class to fork off a thread to recieve event callbacks from the bitbake
lib/bb/ui/uihelper.py +0 -12
index 000a7cf41f..45519c8afd 100644
@@ -6,18 +6,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import bb.build
 import time
lib/bb/utils.py +0 -12
index 69e01519b0..e438694082 100644
@@ -8,18 +8,6 @@ BitBake Utility Functions
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re, fcntl, os, string, stat, shutil, time
 import sys
lib/hashserv/__init__.py +0 -12
index 6f4a046966..fdc9ced9f2 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from http.server import BaseHTTPRequestHandler, HTTPServer
 import contextlib
lib/hashserv/tests.py +0 -12
index b022195183..8300a25599 100644
@@ -4,18 +4,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import unittest
 import threading
lib/layerindexlib/__init__.py +0 -12
index 2854f6d0da..d231cf6a99 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import datetime
 
lib/layerindexlib/cooker.py +0 -12
index 87c7c8cc9a..604a9611dd 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import logging
 import json
lib/layerindexlib/plugin.py +0 -13
index e7adae7ac0..7015a1af26 100644
@@ -2,19 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
 # The file contains:
 #   LayerIndex exceptions
 #   Plugin base class
lib/layerindexlib/restapi.py +0 -12
index 89092fe34e..21fd144143 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import logging
 import json
lib/layerindexlib/tests/common.py +0 -12
index f4e04aacc1..077382f11d 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import unittest
 import tempfile
lib/layerindexlib/tests/cooker.py +0 -12
index 648c7ba9f4..1fa102e602 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import unittest
 import tempfile
lib/layerindexlib/tests/layerindexobj.py +0 -12
index 7de1338d78..0c5ec8881b 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import unittest
 import tempfile
lib/layerindexlib/tests/restapi.py +0 -12
index fc4ff939bb..6d8dc0058e 100644
@@ -2,18 +2,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import unittest
 import tempfile
lib/pyinotify.py +0 -17
index 8fe4041fae..9dcfd0d2ee 100644
@@ -5,23 +5,6 @@
 #
 # SPDX-License-Identifier: MIT
 #
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
 """
 pyinotify
 
lib/toaster/bldcollector/urls.py +0 -13
index 182a7a6159..8eb1e34a53 100644
@@ -5,19 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 from django.conf.urls import include, url
 
lib/toaster/bldcollector/views.py +0 -12
index 132e44c681..c708b415e1 100644
@@ -5,18 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.views.decorators.cache import cache_control
 from django.core.urlresolvers import reverse
lib/toaster/bldcontrol/bbcontroller.py +0 -13
index d182a36e9e..9b92207937 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 import os
 import sys
lib/toaster/bldcontrol/localhostbecontroller.py +0 -13
index 4d4afafd4d..41e5629ae0 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 import os
 import sys
lib/toaster/orm/management/commands/lsupdates.py +0 -12
index b15b9ce4af..a6ab6e8046 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.management.base import BaseCommand
 
lib/toaster/orm/models.py +0 -12
index 68ca0bcfed..7174e85582 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from __future__ import unicode_literals
 
lib/toaster/tests/browser/selenium_helpers.py +0 -13
index 66e700c842..56621096b5 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # The Wait class and some of SeleniumDriverHelper and SeleniumTestCase are
 # modified from Patchwork, released under the same licence terms as Toaster:
 # https://github.com/dlespiau/patchwork/blob/master/patchwork/tests.browser.py
lib/toaster/tests/browser/selenium_helpers_base.py +0 -13
index 48a0488e19..8c25740b64 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # The Wait class and some of SeleniumDriverHelper and SeleniumTestCase are
 # modified from Patchwork, released under the same licence terms as Toaster:
 # https://github.com/dlespiau/patchwork/blob/master/patchwork/tests.browser.py
lib/toaster/tests/browser/test_all_builds_page.py +0 -12
index bab44e9cc2..f895028686 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 
lib/toaster/tests/browser/test_all_projects_page.py +0 -12
index b0b3aec1fa..1c46258641 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 
lib/toaster/tests/browser/test_builddashboard_page.py +0 -12
index 5d2dcd066b..350e5e0a95 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_builddashboard_page_artifacts.py +0 -12
index f92b642e95..a4f2f0c71a 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_builddashboard_page_recipes.py +0 -12
index 7f96288156..ebf1f99083 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_builddashboard_page_tasks.py +0 -12
index d0c4ec33e5..c136fe3bf9 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_js_unit_tests.py +0 -12
index ceea71342c..76c3495e8c 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """
 Run the js unit tests
lib/toaster/tests/browser/test_landing_page.py +0 -12
index 06aa5693eb..85529b2921 100644
@@ -8,18 +8,6 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_layerdetails_page.py +0 -12
index a39bb9ac18..0a9fd85091 100644
@@ -8,18 +8,6 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from tests.browser.selenium_helpers import SeleniumTestCase
lib/toaster/tests/browser/test_most_recent_builds_states.py +0 -12
index 7d44638bc1..e2601017b1 100644
@@ -8,18 +8,6 @@
 #
 # Copyright (C) 2013-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_new_custom_image_page.py +0 -12
index f865e3272c..f2f5e7104e 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from tests.browser.selenium_helpers import SeleniumTestCase
lib/toaster/tests/browser/test_new_project_page.py +0 -12
index 92d414d8d6..d715d3a842 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from tests.browser.selenium_helpers import SeleniumTestCase
lib/toaster/tests/browser/test_project_builds_page.py +0 -12
index 2202d937d6..0a8a38b2c8 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 
lib/toaster/tests/browser/test_project_config_page.py +0 -12
index a0d5bcd348..5ae3a0a20c 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 
lib/toaster/tests/browser/test_project_page.py +0 -12
index 7b544ed966..aa984237fb 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_sample.py +0 -12
index 4cdd19f3d1..219f00cec4 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """
 A small example test demonstrating the basics of writing a test with
lib/toaster/tests/browser/test_task_page.py +0 -12
index 97708a765e..993f081d93 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.core.urlresolvers import reverse
 from django.utils import timezone
lib/toaster/tests/browser/test_toastertable_ui.py +0 -12
index 0780ef9fe4..f22239c482 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from datetime import datetime
 
lib/toaster/tests/builds/buildtest.py +0 -12
index 129c9fe401..fce7b62144 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
lib/toaster/tests/builds/test_core_image_min.py +0 -13
index 8964071990..63f62c8e5a 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 # Tests were part of openembedded-core oe selftest Authored by: Lucian Musat
 # Ionut Chisanovici, Paul Eggleton and Cristian Iorga
 
lib/toaster/tests/commands/test_loaddata.py +0 -12
index b4b53d0919..27a0eca8f3 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.test import TestCase
 from django.core import management
lib/toaster/tests/commands/test_lsupdates.py +0 -12
index 2d34f211b9..854bb7ebab 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.test import TestCase
 from django.core import management
lib/toaster/tests/commands/test_runbuilds.py +0 -12
index 2c9fcf0f20..3180e96dba 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 
lib/toaster/tests/eventreplay/__init__.py +0 -12
index f10ea89ae1..941531461c 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # Tests were part of openembedded-core oe selftest Authored by: Lucian Musat
 # Ionut Chisanovici, Paul Eggleton and Cristian Iorga
lib/toaster/tests/functional/functional_helpers.py +0 -12
index 8eb2e963f6..9de6fbcf04 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import logging
lib/toaster/tests/functional/test_functional_basic.py +0 -12
index 817bcde333..e58045d3e2 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import time
 import re
lib/toaster/tests/views/test_views.py +0 -12
index d5b00288bd..f4273367cd 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """Test cases for Toaster GUI and ReST."""
 
lib/toaster/toastergui/api.py +0 -13
index 99e9768ae7..8b49b3ee3f 100644
@@ -5,19 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 # Please run flake8 on this file before sending patches
 
 import os
lib/toaster/toastergui/buildtables.py +0 -12
index 6a20d60752..4332107fc8 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from orm.models import Build, Task, Target, Package
 from django.db.models import Q, Sum
lib/toaster/toastergui/tablefilter.py +0 -12
index 1f9016beff..04220cf24d 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.db.models import Q, Max, Min
 from django.utils import dateparse, timezone
lib/toaster/toastergui/tables.py +0 -12
index 855861a869..a3de22a359 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from toastergui.widgets import ToasterTable
 from orm.models import Recipe, ProjectLayer, Layer_Version, Machine, Project
lib/toaster/toastergui/templatetags/projecttags.py +0 -12
index 80652edd49..d2ee11d2f6 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from datetime import datetime, timedelta
 from os.path import relpath
lib/toaster/toastergui/typeaheads.py +0 -12
index 3921435584..fd750ffb74 100644
@@ -5,18 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import subprocess
 
lib/toaster/toastergui/urls.py +0 -12
index 3d0be61faa..673d9ae967 100644
@@ -5,18 +5,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.conf.urls import include, url
 from django.views.generic import RedirectView, TemplateView
lib/toaster/toastergui/views.py +0 -13
index 6aad55b7c8..5ef4f40da7 100644
@@ -8,19 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
 
 import re
 
lib/toaster/toastergui/widgets.py +0 -12
index e8aabdd9fa..fb03337498 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.views.generic import View, TemplateView
 from django.views.decorators.cache import cache_control
lib/toaster/toastermain/management/commands/buildimport.py +0 -12
index 2f99c6d556..a6340575a9 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # buildimport: import a project for project specific configuration
 #
lib/toaster/toastermain/management/commands/checksocket.py +0 -12
index d9cdb555df..822373011c 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """Custom management command checksocket."""
 
lib/toaster/toastermain/settings.py +0 -12
index 6373559190..457ed0da10 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # Django settings for Toaster project.
 
lib/toaster/toastermain/settings_production_example.py +0 -12
index 2067624358..d06841fcce 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # See Django documentation for more information about deployment
 # https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
lib/toaster/toastermain/settings_test.py +0 -12
index 963d77f280..599cc186a6 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # Django settings for Toaster project.
 
lib/toaster/toastermain/urls.py +0 -12
index 1a98754ed4..d3a95923f5 100644
@@ -8,18 +8,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 from django.conf.urls import include, url
 from django.views.generic import RedirectView, TemplateView
Signature · 1 line
2.20.1
#4 lore raw

Re: [PATCH 4/6] bitbake: Drop duplicate license boilerplace text

Quoted 3 lines · Richard Purdie

With the introduction of SPDX-License-Identifier headers, we don't need a ton of header boilerplate in every file. Simplify the files and rely on the top level for the full licence text.

I've actually been told the opposite by people. That you still need the boilerplate text for various jurisdiction, as the SPDX-License-Identifier may not meet regional copyright/license requirements.

--Mark

Quoted 140 lines
---
 HEADER                                          | 13 -------------
 bin/bitbake                                     | 12 ------------
 bin/bitbake-diffsigs                            | 12 ------------
 bin/bitbake-hashserv                            | 13 +------------
 bin/bitbake-layers                              | 12 ------------
 bin/bitbake-selftest                            | 12 ------------
 bin/bitdoc                                      | 12 ------------
 bin/toaster                                     | 12 ------------
 bin/toaster-eventreplay                         | 12 ------------
 lib/bb/COW.py                                   | 13 -------------
 lib/bb/__init__.py                              | 12 ------------
 lib/bb/build.py                                 | 13 -------------
 lib/bb/cache.py                                 | 12 ------------
 lib/bb/cache_extra.py                           | 12 ------------
 lib/bb/checksum.py                              | 12 ------------
 lib/bb/command.py                               | 12 ------------
 lib/bb/cooker.py                                | 13 -------------
 lib/bb/cookerdata.py                            | 12 ------------
 lib/bb/data.py                                  | 13 -------------
 lib/bb/data_smart.py                            | 12 ------------
 lib/bb/event.py                                 | 12 ------------
 lib/bb/fetch2/__init__.py                       | 13 -------------
 lib/bb/fetch2/bzr.py                            | 12 ------------
 lib/bb/fetch2/clearcase.py                      | 13 -------------
 lib/bb/fetch2/cvs.py                            | 15 +--------------
 lib/bb/fetch2/git.py                            | 12 ------------
 lib/bb/fetch2/gitannex.py                       | 12 ------------
 lib/bb/fetch2/gitsm.py                          | 12 ------------
 lib/bb/fetch2/hg.py                             | 14 +-------------
 lib/bb/fetch2/local.py                          | 14 +-------------
 lib/bb/fetch2/perforce.py                       | 13 -------------
 lib/bb/fetch2/repo.py                           | 14 +-------------
 lib/bb/fetch2/s3.py                             | 13 -------------
 lib/bb/fetch2/sftp.py                           | 13 -------------
 lib/bb/fetch2/ssh.py                            | 12 ------------
 lib/bb/fetch2/svn.py                            | 13 -------------
 lib/bb/fetch2/wget.py                           | 13 -------------
 lib/bb/main.py                                  | 12 ------------
 lib/bb/methodpool.py                            | 12 ------------
 lib/bb/monitordisk.py                           | 12 ------------
 lib/bb/msg.py                                   | 12 ------------
 lib/bb/parse/__init__.py                        | 14 +-------------
 lib/bb/parse/ast.py                             | 13 -------------
 lib/bb/parse/parse_py/BBHandler.py              | 13 -------------
 lib/bb/parse/parse_py/ConfHandler.py            | 12 ------------
 lib/bb/parse/parse_py/__init__.py               | 14 +-------------
 lib/bb/persist_data.py                          | 12 ------------
 lib/bb/progress.py                              | 12 ------------
 lib/bb/providers.py                             | 12 ------------
 lib/bb/remotedata.py                            | 12 ------------
 lib/bb/runqueue.py                              | 12 ------------
 lib/bb/server/__init__.py                       | 14 --------------
 lib/bb/server/process.py                        | 12 ------------
 lib/bb/server/xmlrpcclient.py                   | 12 ------------
 lib/bb/server/xmlrpcserver.py                   | 12 ------------
 lib/bb/taskdata.py                              | 12 ------------
 lib/bb/tests/codeparser.py                      | 13 -------------
 lib/bb/tests/cooker.py                          | 13 -------------
 lib/bb/tests/cow.py                             | 13 -------------
 lib/bb/tests/data.py                            | 13 -------------
 lib/bb/tests/event.py                           | 13 -------------
 lib/bb/tests/fetch.py                           | 13 -------------
 lib/bb/tests/parse.py                           | 13 -------------
 lib/bb/tests/persist_data.py                    | 13 -------------
 lib/bb/tests/utils.py                           | 13 -------------
 lib/bb/tinfoil.py                               | 12 ------------
 lib/bb/ui/__init__.py                           | 12 ------------
 lib/bb/ui/buildinfohelper.py                    | 12 ------------
 lib/bb/ui/knotty.py                             | 12 ------------
 lib/bb/ui/ncurses.py                            | 12 ------------
 lib/bb/ui/taskexp.py                            | 12 ------------
 lib/bb/ui/toasterui.py                          | 12 ------------
 lib/bb/ui/uievent.py                            | 13 -------------
 lib/bb/ui/uihelper.py                           | 12 ------------
 lib/bb/utils.py                                 | 12 ------------
 lib/hashserv/__init__.py                        | 12 ------------
 lib/hashserv/tests.py                           | 12 ------------
 lib/layerindexlib/__init__.py                   | 12 ------------
 lib/layerindexlib/cooker.py                     | 12 ------------
 lib/layerindexlib/plugin.py                     | 13 -------------
 lib/layerindexlib/restapi.py                    | 12 ------------
 lib/layerindexlib/tests/common.py               | 12 ------------
 lib/layerindexlib/tests/cooker.py               | 12 ------------
 lib/layerindexlib/tests/layerindexobj.py        | 12 ------------
 lib/layerindexlib/tests/restapi.py              | 12 ------------
 lib/pyinotify.py                                | 17 -----------------
 lib/toaster/bldcollector/urls.py                | 13 -------------
 lib/toaster/bldcollector/views.py               | 12 ------------
 lib/toaster/bldcontrol/bbcontroller.py          | 13 -------------
 lib/toaster/bldcontrol/localhostbecontroller.py | 13 -------------
 .../orm/management/commands/lsupdates.py        | 12 ------------
 lib/toaster/orm/models.py                       | 12 ------------
 lib/toaster/tests/browser/selenium_helpers.py   | 13 -------------
 .../tests/browser/selenium_helpers_base.py      | 13 -------------
 .../tests/browser/test_all_builds_page.py       | 12 ------------
 .../tests/browser/test_all_projects_page.py     | 12 ------------
 .../tests/browser/test_builddashboard_page.py   | 12 ------------
 .../test_builddashboard_page_artifacts.py       | 12 ------------
 .../browser/test_builddashboard_page_recipes.py | 12 ------------
 .../browser/test_builddashboard_page_tasks.py   | 12 ------------
 lib/toaster/tests/browser/test_js_unit_tests.py | 12 ------------
 lib/toaster/tests/browser/test_landing_page.py  | 12 ------------
 .../tests/browser/test_layerdetails_page.py     | 12 ------------
 .../browser/test_most_recent_builds_states.py   | 12 ------------
 .../tests/browser/test_new_custom_image_page.py | 12 ------------
 .../tests/browser/test_new_project_page.py      | 12 ------------
 .../tests/browser/test_project_builds_page.py   | 12 ------------
 .../tests/browser/test_project_config_page.py   | 12 ------------
 lib/toaster/tests/browser/test_project_page.py  | 12 ------------
 lib/toaster/tests/browser/test_sample.py        | 12 ------------
 lib/toaster/tests/browser/test_task_page.py     | 12 ------------
 .../tests/browser/test_toastertable_ui.py       | 12 ------------
 lib/toaster/tests/builds/buildtest.py           | 12 ------------
 lib/toaster/tests/builds/test_core_image_min.py | 13 -------------
 lib/toaster/tests/commands/test_loaddata.py     | 12 ------------
 lib/toaster/tests/commands/test_lsupdates.py    | 12 ------------
 lib/toaster/tests/commands/test_runbuilds.py    | 12 ------------
 lib/toaster/tests/eventreplay/__init__.py       | 12 ------------
 .../tests/functional/functional_helpers.py      | 12 ------------
 .../tests/functional/test_functional_basic.py   | 12 ------------
 lib/toaster/tests/views/test_views.py           | 12 ------------
 lib/toaster/toastergui/api.py                   | 13 -------------
 lib/toaster/toastergui/buildtables.py           | 12 ------------
 lib/toaster/toastergui/tablefilter.py           | 12 ------------
 lib/toaster/toastergui/tables.py                | 12 ------------
 .../toastergui/templatetags/projecttags.py      | 12 ------------
 lib/toaster/toastergui/typeaheads.py            | 12 ------------
 lib/toaster/toastergui/urls.py                  | 12 ------------
 lib/toaster/toastergui/views.py                 | 13 -------------
 lib/toaster/toastergui/widgets.py               | 12 ------------
 .../management/commands/buildimport.py          | 12 ------------
 .../management/commands/checksocket.py          | 12 ------------
 lib/toaster/toastermain/settings.py             | 12 ------------
 .../toastermain/settings_production_example.py  | 12 ------------
 lib/toaster/toastermain/settings_test.py        | 12 ------------
 lib/toaster/toastermain/urls.py                 | 12 ------------
 136 files changed, 7 insertions(+), 1679 deletions(-)
#5 lore raw

Re: [PATCH 4/6] bitbake: Drop duplicate license boilerplace text

Quoted 10 lines · Mark Hatle
Quoted 5 lines · Richard Purdie

With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.

I've actually been told the opposite by people. That you still need the boilerplate text for various jurisdiction, as the SPDX-License- Identifier may not meet regional copyright/license requirements.

Its good enough for u-boot, its also good enough for SPDX (e.g.
https://spdx.org/sites/cpstandard/files/pages/files/using_spdx_license_list_short_identifiers.pdf
).

Can you point at a jurisdiction where its a problem?

We have the top level LICENSE* files and they explicitly reference the identifier. The files are a collective, with modern source control and release tarballs or package management they work as a unit.

The copyright situation is unchanged as the copyright remains stated in each file.

I think the benefits in cleaning this up outweigh potential risk, particularly if we move as a wider community to establish this as the standard (and it does make sense to me to do and support that).

Cheers,

Richard

#6 lore raw

Re: [PATCH 4/6] bitbake: Drop duplicate license boilerplace text

Quoted 12 lines · Richard Purdie
Quoted 10 lines · Mark Hatle
Quoted 5 lines · Richard Purdie

With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.

I've actually been told the opposite by people. That you still need the boilerplate text for various jurisdiction, as the SPDX-License- Identifier may not meet regional copyright/license requirements.

Quoted 5 lines

Its good enough for u-boot, its also good enough for SPDX (e.g.
https://spdx.org/sites/cpstandard/files/pages/files/using_spdx_license_list_short_identifiers.pdf
).

Can you point at a jurisdiction where its a problem?

I do not have that information. I was just repeating what I've been told in the past from various sources, including licensing talks at ELC-E.

Quoted 16 lines

We have the top level LICENSE* files and they explicitly reference the identifier. The files are a collective, with modern source control and release tarballs or package management they work as a unit.

The copyright situation is unchanged as the copyright remains stated in each file.

I think the benefits in cleaning this up outweigh potential risk, particularly if we move as a wider community to establish this as the standard (and it does make sense to me to do and support that).

Cheers,

Richard

#7 lore raw

PATCH 5/6 bitbake: Strip old editor directives from file headers

In reply to Richard Purdie

There are much better ways to handle this and most editors shouldn't need this in modern times, drop the noise from the files. Its not consitently applied anyway.

---
 HEADER                                                         | 3 ---
 bin/bitbake                                                    | 2 --
 bin/bitdoc                                                     | 2 --
 bin/toaster-eventreplay                                        | 2 --
 contrib/dump_cache.py                                          | 2 --
 lib/bb/COW.py                                                  | 2 --
 lib/bb/__init__.py                                             | 2 --
 lib/bb/build.py                                                | 2 --
 lib/bb/cache.py                                                | 2 --
 lib/bb/cache_extra.py                                          | 2 --
 lib/bb/cooker.py                                               | 2 --
 lib/bb/cookerdata.py                                           | 2 --
 lib/bb/data.py                                                 | 2 --
 lib/bb/data_smart.py                                           | 2 --
 lib/bb/event.py                                                | 2 --
 lib/bb/fetch2/__init__.py                                      | 2 --
 lib/bb/fetch2/clearcase.py                                     | 2 --
 lib/bb/fetch2/cvs.py                                           | 2 --
 lib/bb/fetch2/git.py                                           | 2 --
 lib/bb/fetch2/gitannex.py                                      | 2 --
 lib/bb/fetch2/gitsm.py                                         | 2 --
 lib/bb/fetch2/hg.py                                            | 2 --
 lib/bb/fetch2/local.py                                         | 2 --
 lib/bb/fetch2/npm.py                                           | 2 --
 lib/bb/fetch2/osc.py                                           | 2 --
 lib/bb/fetch2/perforce.py                                      | 2 --
 lib/bb/fetch2/repo.py                                          | 2 --
 lib/bb/fetch2/s3.py                                            | 2 --
 lib/bb/fetch2/sftp.py                                          | 2 --
 lib/bb/fetch2/ssh.py                                           | 2 --
 lib/bb/fetch2/svn.py                                           | 2 --
 lib/bb/fetch2/wget.py                                          | 2 --
 lib/bb/main.py                                                 | 2 --
 lib/bb/methodpool.py                                           | 3 ---
 lib/bb/monitordisk.py                                          | 2 --
 lib/bb/msg.py                                                  | 2 --
 lib/bb/parse/ast.py                                            | 2 --
 lib/bb/parse/parse_py/BBHandler.py                             | 2 --
 lib/bb/parse/parse_py/ConfHandler.py                           | 2 --
 lib/bb/parse/parse_py/__init__.py                              | 2 --
 lib/bb/providers.py                                            | 2 --
 lib/bb/runqueue.py                                             | 2 --
 lib/bb/taskdata.py                                             | 2 --
 lib/bb/tests/codeparser.py                                     | 2 --
 lib/bb/tests/cooker.py                                         | 2 --
 lib/bb/tests/cow.py                                            | 2 --
 lib/bb/tests/data.py                                           | 2 --
 lib/bb/tests/event.py                                          | 2 --
 lib/bb/tests/fetch.py                                          | 2 --
 lib/bb/tests/parse.py                                          | 2 --
 lib/bb/tests/persist_data.py                                   | 2 --
 lib/bb/tests/utils.py                                          | 2 --
 lib/bb/ui/uievent.py                                           | 2 --
 lib/bb/ui/uihelper.py                                          | 2 --
 lib/bb/utils.py                                                | 2 --
 lib/toaster/bldcontrol/bbcontroller.py                         | 3 ---
 lib/toaster/bldcontrol/localhostbecontroller.py                | 3 ---
 lib/toaster/orm/management/commands/lsupdates.py               | 3 ---
 lib/toaster/orm/models.py                                      | 3 ---
 lib/toaster/tests/browser/selenium_helpers.py                  | 2 --
 lib/toaster/tests/browser/selenium_helpers_base.py             | 2 --
 lib/toaster/tests/browser/test_all_builds_page.py              | 2 --
 lib/toaster/tests/browser/test_all_projects_page.py            | 2 --
 lib/toaster/tests/browser/test_builddashboard_page.py          | 2 --
 .../tests/browser/test_builddashboard_page_artifacts.py        | 2 --
 lib/toaster/tests/browser/test_builddashboard_page_recipes.py  | 2 --
 lib/toaster/tests/browser/test_builddashboard_page_tasks.py    | 2 --
 lib/toaster/tests/browser/test_js_unit_tests.py                | 2 --
 lib/toaster/tests/browser/test_landing_page.py                 | 2 --
 lib/toaster/tests/browser/test_layerdetails_page.py            | 2 --
 lib/toaster/tests/browser/test_most_recent_builds_states.py    | 2 --
 lib/toaster/tests/browser/test_new_custom_image_page.py        | 2 --
 lib/toaster/tests/browser/test_new_project_page.py             | 2 --
 lib/toaster/tests/browser/test_project_builds_page.py          | 2 --
 lib/toaster/tests/browser/test_project_config_page.py          | 2 --
 lib/toaster/tests/browser/test_project_page.py                 | 2 --
 lib/toaster/tests/browser/test_sample.py                       | 2 --
 lib/toaster/tests/browser/test_task_page.py                    | 2 --
 lib/toaster/tests/browser/test_toastertable_ui.py              | 2 --
 lib/toaster/tests/builds/buildtest.py                          | 2 --
 lib/toaster/tests/builds/test_core_image_min.py                | 2 --
 lib/toaster/tests/commands/test_loaddata.py                    | 2 --
 lib/toaster/tests/commands/test_lsupdates.py                   | 2 --
 lib/toaster/tests/commands/test_runbuilds.py                   | 2 --
 lib/toaster/tests/eventreplay/__init__.py                      | 2 --
 lib/toaster/tests/functional/functional_helpers.py             | 2 --
 lib/toaster/tests/functional/test_functional_basic.py          | 2 --
 lib/toaster/tests/views/test_views.py                          | 2 --
 lib/toaster/toastergui/buildtables.py                          | 3 ---
 lib/toaster/toastergui/tablefilter.py                          | 3 ---
 lib/toaster/toastergui/tables.py                               | 3 ---
 lib/toaster/toastergui/templatetags/projecttags.py             | 3 ---
 lib/toaster/toastergui/views.py                                | 3 ---
 lib/toaster/toastergui/widgets.py                              | 3 ---
 lib/toaster/toastermain/management/commands/buildimport.py     | 3 ---
 lib/toaster/toastermain/management/commands/checksocket.py     | 2 --
 lib/toaster/toastermain/settings.py                            | 3 ---
 lib/toaster/toastermain/settings_production_example.py         | 3 ---
 lib/toaster/toastermain/settings_test.py                       | 3 ---
 lib/toaster/toastermain/urls.py                                | 3 ---
 lib/toaster/toastermain/wsgi.py                                | 3 ---
 101 files changed, 220 deletions(-)
HEADER +0 -3
index 323892ecac..5f9e745ff4 100644
@@ -1,6 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # <one line to give the program's name and a brief idea of what it does.>
 # Copyright (C) <year>  <name of author>
 #
bin/bitbake +0 -2
index e425f70a58..b219d362e7 100755
@@ -1,6 +1,4 @@
 #!/usr/bin/env python3
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
bin/bitdoc +0 -2
index 4839a6489f..9bd02be69c 100755
@@ -1,6 +1,4 @@
 #!/usr/bin/env python3
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2005 Holger Hans Peter Freyther
 #
bin/toaster-eventreplay +0 -2
index 3f01a3cc00..8fa4ab7116 100755
@@ -1,6 +1,4 @@
 #!/usr/bin/env python3
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2014        Alex Damian
 #
contrib/dump_cache.py +0 -2
index 8963ca4b06..c6723cbf0a 100755
@@ -1,6 +1,4 @@
 #!/usr/bin/env python3
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2012, 2018 Wind River Systems, Inc.
 #
lib/bb/COW.py +0 -2
index 06678a9bf8..d26e981951 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # This is a copy on write dictionary and set which abuses classes to try and be nice and fast.
 #
lib/bb/__init__.py +0 -2
index d57ebad90a..7579a893b6 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Build System Python Library
 #
lib/bb/build.py +0 -2
index 88c69b399d..ef46647f7b 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake 'Build' implementation
 #
lib/bb/cache.py +0 -2
index af410aac39..060758e0c4 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Cache implementation
 #
lib/bb/cache_extra.py +0 -2
index d282601134..bf4226d168 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Extra RecipeInfo will be all defined in this file. Currently,
 # Only Hob (Image Creator) Requests some extra fields. So
lib/bb/cooker.py +0 -2
index db08150d85..c8e14042d6 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
lib/bb/cookerdata.py +0 -2
index 50b6b6bd3a..f8ae41093b 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
lib/bb/data.py +0 -2
index 2dcb16e56a..92ef405304 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Data' implementations
 
lib/bb/data_smart.py +0 -2
index da67998b10..dd5c618564 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake Smart Dictionary Implementation
 
lib/bb/event.py +0 -2
index 656491494e..7cbb5ca47e 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Event' implementation
 
lib/bb/fetch2/__init__.py +0 -2
index 164c1a0ad4..0126e0d7c7 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementations
 
lib/bb/fetch2/clearcase.py +0 -2
index 09c9d0c33c..9ed0d9beaa 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' clearcase implementation
 
lib/bb/fetch2/cvs.py +0 -2
index c780a6a45d..1b35ba4cf0 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementations
 
lib/bb/fetch2/git.py +0 -2
index 80caf109b1..e171aa7eb1 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' git implementation
 
lib/bb/fetch2/gitannex.py +0 -2
index 939e058127..1d497dcb0f 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' git annex implementation
 """
lib/bb/fetch2/gitsm.py +0 -2
index b13b2c7888..1f03ba7a0d 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' git submodules implementation
 
lib/bb/fetch2/hg.py +0 -2
index 289fcd14bf..15d729e7b2 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementation for mercurial DRCS (hg).
 
lib/bb/fetch2/local.py +0 -2
index b04476fe48..01d9ff9f8f 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementations
 
lib/bb/fetch2/npm.py +0 -2
index 7235f899f4..f08bdee739 100644
@@ -1,8 +1,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' NPM implementation
 
lib/bb/fetch2/osc.py +0 -2
index 19c0d9dcaa..3e567155dc 100644
@@ -1,8 +1,6 @@
 #
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 Bitbake "Fetch" implementation for osc (Opensuse build service client).
 Based on the svn "Fetch" implementation.
lib/bb/fetch2/perforce.py +0 -2
index a03a36d340..54d001ec81 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementation for perforce
 
lib/bb/fetch2/repo.py +0 -2
index cd752d5283..2bdbbd4097 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake "Fetch" repo (git) implementation
 
lib/bb/fetch2/s3.py +0 -2
index 479528f926..ffca73c8e4 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementation for Amazon AWS S3.
 
lib/bb/fetch2/sftp.py +0 -2
index f4a979197a..f87f292e5d 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake SFTP Fetch implementation
 
lib/bb/fetch2/ssh.py +0 -2
index be2427cf9a..f5be060c43 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 '''
 BitBake 'Fetch' implementations
 
lib/bb/fetch2/svn.py +0 -2
index 6a82da9d52..baeb0e7eea 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementation for svn.
 
lib/bb/fetch2/wget.py +0 -2
index 143db1b361..0f71ee4eac 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'Fetch' implementations
 
lib/bb/main.py +0 -2
index 3c8746d2bd..8d1978f986 100755
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
lib/bb/methodpool.py +0 -3
index 2f383c229c..51783acc1b 100644
@@ -1,6 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 #
 # Copyright (C)       2006 Holger Hans Peter Freyther
 #
lib/bb/monitordisk.py +0 -2
index 855452d2b4..69b25c7720 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2012 Robert Yang
 #
lib/bb/msg.py +0 -2
index a116444fa1..6216eb3bc4 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'msg' implementation
 
lib/bb/parse/ast.py +0 -2
index 71ee49b8ce..f0911e6fb7 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
  AbstractSyntaxTree classes for the Bitbake language
 """
lib/bb/parse/parse_py/BBHandler.py +0 -2
index 55fd1cb6c3..889f230f79 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
    class for handling .bb files
 
lib/bb/parse/parse_py/ConfHandler.py +0 -2
index cc70da0db6..71bf61b761 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
    class for handling configuration data files
 
lib/bb/parse/parse_py/__init__.py +0 -2
index 696c71b458..cdebe440dd 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake Parsers
 
lib/bb/providers.py +0 -2
index 78445d6a72..f80963cb40 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2003, 2004  Chris Larson
 # Copyright (C) 2003, 2004  Phil Blundell
lib/bb/runqueue.py +0 -2
index 3dfa391c31..d573ed460e 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'RunQueue' implementation
 
lib/bb/taskdata.py +0 -2
index 5c49739da3..c7de3db38d 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake 'TaskData' implementation
 
lib/bb/tests/codeparser.py +0 -2
index 742ccc2c27..826a2d2f6d 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Test for codeparser.py
 #
lib/bb/tests/cooker.py +0 -2
index 70b18598e1..090916e949 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Tests for cooker.py
 #
lib/bb/tests/cow.py +0 -2
index 59ad242183..b4af4bbcbf 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Tests for Copy-on-Write (cow.py)
 #
lib/bb/tests/data.py +0 -2
index 8bd472a8be..3cf5abec70 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Tests for the Data Store (data.py/data_smart.py)
 #
lib/bb/tests/event.py +0 -2
index e6254c7a1e..b6e40c6ae9 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Tests for the Event implementation (event.py)
 #
lib/bb/tests/fetch.py +0 -2
index c0ee308e12..97656dff63 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Tests for the Fetcher (fetch2/)
 #
lib/bb/tests/parse.py +0 -2
index 3875fbbd41..e333232ec0 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Test for lib/bb/parse/
 #
lib/bb/tests/persist_data.py +0 -2
index dbb3ce183d..f641b5acbc 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Test for lib/bb/persist_data/
 #
lib/bb/tests/utils.py +0 -2
index 1f01447bbb..4d788281a7 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Tests for utils.py
 #
lib/bb/ui/uievent.py +0 -2
index 7276bdaf9d..fedb05064d 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
 # Copyright (C) 2006 - 2007  Richard Purdie
lib/bb/ui/uihelper.py +0 -2
index 45519c8afd..db7f0ca08b 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
 # Copyright (C) 2006 - 2007  Richard Purdie
lib/bb/utils.py +0 -2
index e438694082..ed19825faf 100644
@@ -1,5 +1,3 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 """
 BitBake Utility Functions
 """
lib/toaster/bldcontrol/bbcontroller.py +0 -3
index 9b92207937..301df1880a 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2014        Intel Corporation
lib/toaster/bldcontrol/localhostbecontroller.py +0 -3
index 41e5629ae0..39ea736b58 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2014        Intel Corporation
lib/toaster/orm/management/commands/lsupdates.py +0 -3
index a6ab6e8046..5b5abbb295 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2016-2017   Intel Corporation
lib/toaster/orm/models.py +0 -3
index 7174e85582..41a9f819df 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2013        Intel Corporation
lib/toaster/tests/browser/selenium_helpers.py +0 -2
index 56621096b5..6d9bb80928 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/selenium_helpers_base.py +0 -2
index 8c25740b64..8417aa3b25 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_all_builds_page.py +0 -2
index f895028686..f4021614bf 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_all_projects_page.py +0 -2
index 1c46258641..f86d19d283 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_builddashboard_page.py +0 -2
index 350e5e0a95..53c125ec58 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_builddashboard_page_artifacts.py +0 -2
index a4f2f0c71a..c560d7de17 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_builddashboard_page_recipes.py +0 -2
index ebf1f99083..e4f3d685ee 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_builddashboard_page_tasks.py +0 -2
index c136fe3bf9..bdb0c27be4 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_js_unit_tests.py +0 -2
index 76c3495e8c..63f3f4a74e 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_landing_page.py +0 -2
index 85529b2921..0a00fccc1a 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_layerdetails_page.py +0 -2
index 0a9fd85091..e34aa13dbd 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_most_recent_builds_states.py +0 -2
index e2601017b1..d52b18429c 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_new_custom_image_page.py +0 -2
index f2f5e7104e..3b47a497e8 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_new_project_page.py +0 -2
index d715d3a842..d250bd143e 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_project_builds_page.py +0 -2
index 0a8a38b2c8..065f3ebe64 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_project_config_page.py +0 -2
index 5ae3a0a20c..48508dff3b 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_project_page.py +0 -2
index aa984237fb..5cb607ddd3 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_sample.py +0 -2
index 219f00cec4..008ba14a26 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_task_page.py +0 -2
index 993f081d93..47c8c1aeea 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/browser/test_toastertable_ui.py +0 -2
index f22239c482..b4f83447f6 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/builds/buildtest.py +0 -2
index fce7b62144..9f40f978d0 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/builds/test_core_image_min.py +0 -2
index 63f62c8e5a..3d3aa2a8a2 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/commands/test_loaddata.py +0 -2
index 27a0eca8f3..b633d9774d 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/commands/test_lsupdates.py +0 -2
index 854bb7ebab..23a84a248b 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/commands/test_runbuilds.py +0 -2
index 3180e96dba..29bc7c9005 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/eventreplay/__init__.py +0 -2
index 941531461c..3606cba4f5 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/tests/functional/functional_helpers.py +0 -2
index 9de6fbcf04..6a3f74baae 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster functional tests implementation
 #
lib/toaster/tests/functional/test_functional_basic.py +0 -2
index e58045d3e2..2b3a2886cc 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster functional tests implementation
 #
lib/toaster/tests/views/test_views.py +0 -2
index f4273367cd..477654ea5e 100644
@@ -1,6 +1,4 @@
 #! /usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/toastergui/buildtables.py +0 -3
index 4332107fc8..327059d00d 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2016 Intel Corporation
lib/toaster/toastergui/tablefilter.py +0 -3
index 04220cf24d..ffef7955f0 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2015        Intel Corporation
lib/toaster/toastergui/tables.py +0 -3
index a3de22a359..b3ea2227e0 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2015        Intel Corporation
lib/toaster/toastergui/templatetags/projecttags.py +0 -3
index d2ee11d2f6..1dbab3bdb9 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2013        Intel Corporation
lib/toaster/toastergui/views.py +0 -3
index 5ef4f40da7..d7acaff892 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2013        Intel Corporation
lib/toaster/toastergui/widgets.py +0 -3
index fb03337498..645f4587e8 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2015        Intel Corporation
lib/toaster/toastermain/management/commands/buildimport.py +0 -3
index a6340575a9..408ad44e6e 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2018        Wind River Systems
lib/toaster/toastermain/management/commands/checksocket.py +0 -2
index 822373011c..c1758f3402 100644
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # BitBake Toaster Implementation
 #
lib/toaster/toastermain/settings.py +0 -3
index 457ed0da10..74501fa26b 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2013        Intel Corporation
lib/toaster/toastermain/settings_production_example.py +0 -3
index d06841fcce..6cd0f52dd7 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2016        Intel Corporation
lib/toaster/toastermain/settings_test.py +0 -3
index 599cc186a6..6538d9e453 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2016        Intel Corporation
lib/toaster/toastermain/urls.py +0 -3
index d3a95923f5..ac77bc3632 100644
@@ -1,7 +1,4 @@
 #
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # BitBake Toaster Implementation
 #
 # Copyright (C) 2013        Intel Corporation
lib/toaster/toastermain/wsgi.py +0 -3
index 5ad22aea18..4c31283279 100644
@@ -3,9 +3,6 @@
 #
 
 """
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 WSGI config for Toaster project.
 
 This module contains the WSGI application used by Django's development server
Signature · 1 line
2.20.1
#8 lore raw

PATCH 6/6 HEADER: Drop it

In reply to Richard Purdie

We don't really need a header boilerplate now the header is simplified, drop it.

---
 HEADER      | 5 -----
 MANIFEST.in | 1 -
 2 files changed, 6 deletions(-)
 delete mode 100644 HEADER
HEADER deleted +0 -5
deleted file mode 100644
index 5f9e745ff4..0000000000
@@ -1,5 +0,0 @@
-# <one line to give the program's name and a brief idea of what it does.>
-# Copyright (C) <year>  <name of author>
-#
-# SPDX-License-Identifier: GPL-2.0-only
-#
MANIFEST.in +0 -1
index 82552390b4..f24969a5f5 100644
@@ -10,4 +10,3 @@ include classes/*
 include doc/*
 include doc/manual/*
 include ez_setup.py
-include HEADER
Signature · 1 line
2.20.1