diff options
347 files changed, 974 insertions, 1464 deletions
@@ -1,14 +1,20 @@ | |||
1 | Different components of OpenEmbedded are under different licenses (a mix | 1 | Different components of OpenEmbedded are under different licenses (a mix |
2 | of MIT and GPLv2). Please see: | 2 | of MIT and GPLv2). See LICENSE.GPL-2.0-only and LICENSE.MIT for further |
3 | 3 | details of the individual licenses. | |
4 | meta/COPYING.GPLv2 (GPLv2) | ||
5 | meta/COPYING.MIT (MIT) | ||
6 | meta-selftest/COPYING.MIT (MIT) | ||
7 | meta-skeleton/COPYING.MIT (MIT) | ||
8 | 4 | ||
9 | All metadata is MIT licensed unless otherwise stated. Source code | 5 | All metadata is MIT licensed unless otherwise stated. Source code |
10 | included in tree for individual recipes is under the LICENSE stated in | 6 | included in tree for individual recipes (e.g. patches) are under |
11 | the associated recipe (.bb file) unless otherwise stated. | 7 | the LICENSE stated in the associated recipe (.bb file) unless |
8 | otherwise stated. | ||
12 | 9 | ||
13 | License information for any other files is either explicitly stated | 10 | License information for any other files is either explicitly stated |
14 | or defaults to GPL version 2. | 11 | or defaults to GPL version 2 only. |
12 | |||
13 | Individual files contain the following style tags instead of the full license | ||
14 | text to identify their license: | ||
15 | |||
16 | SPDX-License-Identifier: GPL-2.0-only | ||
17 | SPDX-License-Identifier: MIT | ||
18 | |||
19 | This enables machine processing of license information based on the SPDX | ||
20 | License Identifiers that are here available: http://spdx.org/licenses/ | ||
diff --git a/meta/COPYING.GPLv2 b/LICENSE.GPL-2.0-only index d511905c16..5db3c0a21c 100644 --- a/meta/COPYING.GPLv2 +++ b/LICENSE.GPL-2.0-only | |||
@@ -279,61 +279,10 @@ POSSIBILITY OF SUCH DAMAGES. | |||
279 | 279 | ||
280 | END OF TERMS AND CONDITIONS | 280 | END OF TERMS AND CONDITIONS |
281 | 281 | ||
282 | How to Apply These Terms to Your New Programs | 282 | Note: |
283 | Individual files contain the following tag instead of the full license text. | ||
283 | 284 | ||
284 | If you develop a new program, and you want it to be of the greatest | 285 | SPDX-License-Identifier: GPL-2.0-only |
285 | possible use to the public, the best way to achieve this is to make it | ||
286 | free software which everyone can redistribute and change under these terms. | ||
287 | 286 | ||
288 | To do so, attach the following notices to the program. It is safest | 287 | This enables machine processing of license information based on the SPDX |
289 | to attach them to the start of each source file to most effectively | 288 | License Identifiers that are here available: http://spdx.org/licenses/ |
290 | convey the exclusion of warranty; and each file should have at least | ||
291 | the "copyright" line and a pointer to where the full notice is found. | ||
292 | |||
293 | <one line to give the program's name and a brief idea of what it does.> | ||
294 | Copyright (C) <year> <name of author> | ||
295 | |||
296 | This program is free software; you can redistribute it and/or modify | ||
297 | it under the terms of the GNU General Public License as published by | ||
298 | the Free Software Foundation; either version 2 of the License, or | ||
299 | (at your option) any later version. | ||
300 | |||
301 | This program is distributed in the hope that it will be useful, | ||
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
304 | GNU General Public License for more details. | ||
305 | |||
306 | You should have received a copy of the GNU General Public License along | ||
307 | with this program; if not, write to the Free Software Foundation, Inc., | ||
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
309 | |||
310 | Also add information on how to contact you by electronic and paper mail. | ||
311 | |||
312 | If the program is interactive, make it output a short notice like this | ||
313 | when it starts in an interactive mode: | ||
314 | |||
315 | Gnomovision version 69, Copyright (C) year name of author | ||
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
317 | This is free software, and you are welcome to redistribute it | ||
318 | under certain conditions; type `show c' for details. | ||
319 | |||
320 | The hypothetical commands `show w' and `show c' should show the appropriate | ||
321 | parts of the General Public License. Of course, the commands you use may | ||
322 | be called something other than `show w' and `show c'; they could even be | ||
323 | mouse-clicks or menu items--whatever suits your program. | ||
324 | |||
325 | You should also get your employer (if you work as a programmer) or your | ||
326 | school, if any, to sign a "copyright disclaimer" for the program, if | ||
327 | necessary. Here is a sample; alter the names: | ||
328 | |||
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||
331 | |||
332 | <signature of Ty Coon>, 1 April 1989 | ||
333 | Ty Coon, President of Vice | ||
334 | |||
335 | This General Public License does not permit incorporating your program into | ||
336 | proprietary programs. If your program is a subroutine library, you may | ||
337 | consider it more useful to permit linking proprietary applications with the | ||
338 | library. If this is what you want to do, use the GNU Lesser General | ||
339 | Public License instead of this License. | ||
diff --git a/meta-selftest/COPYING.MIT b/LICENSE.MIT index 89de354795..a6919eb7e1 100644 --- a/meta-selftest/COPYING.MIT +++ b/LICENSE.MIT | |||
@@ -13,5 +13,13 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
17 | THE SOFTWARE. | 17 | SOFTWARE. |
18 | |||
19 | Note: | ||
20 | Individual files contain the following tag instead of the full license text. | ||
21 | |||
22 | SPDX-License-Identifier: MIT | ||
23 | |||
24 | This enables machine processing of license information based on the SPDX | ||
25 | License Identifiers that are here available: http://spdx.org/licenses/ | ||
diff --git a/meta-skeleton/COPYING.MIT b/meta-skeleton/COPYING.MIT deleted file mode 100644 index fb950dc69f..0000000000 --- a/meta-skeleton/COPYING.MIT +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
2 | of this software and associated documentation files (the "Software"), to deal | ||
3 | in the Software without restriction, including without limitation the rights | ||
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
5 | copies of the Software, and to permit persons to whom the Software is | ||
6 | furnished to do so, subject to the following conditions: | ||
7 | |||
8 | The above copyright notice and this permission notice shall be included in | ||
9 | all copies or substantial portions of the Software. | ||
10 | |||
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
17 | THE SOFTWARE. | ||
diff --git a/meta/lib/bblayers/create.py b/meta/lib/bblayers/create.py index 2ebf151ad1..542f31fc81 100644 --- a/meta/lib/bblayers/create.py +++ b/meta/lib/bblayers/create.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import logging | 5 | import logging |
2 | import os | 6 | import os |
3 | import sys | 7 | import sys |
diff --git a/meta/lib/buildstats.py b/meta/lib/buildstats.py index c5d4c73cf5..8627ed3c31 100644 --- a/meta/lib/buildstats.py +++ b/meta/lib/buildstats.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | # Implements system state sampling. Called by buildstats.bbclass. | 4 | # Implements system state sampling. Called by buildstats.bbclass. |
2 | # Because it is a real Python module, it can hold persistent state, | 5 | # Because it is a real Python module, it can hold persistent state, |
3 | # like open log files and the time of the last sampling. | 6 | # like open log files and the time of the last sampling. |
diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py index 3ad9513f40..4e7c09da04 100644 --- a/meta/lib/oe/__init__.py +++ b/meta/lib/oe/__init__.py | |||
@@ -1,2 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from pkgutil import extend_path | 5 | from pkgutil import extend_path |
2 | __path__ = extend_path(__path__, __name__) | 6 | __path__ = extend_path(__path__, __name__) |
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index d3cde4f650..62c7a2e58e 100644 --- a/meta/lib/oe/buildhistory_analysis.py +++ b/meta/lib/oe/buildhistory_analysis.py | |||
@@ -3,6 +3,8 @@ | |||
3 | # Copyright (C) 2012-2013, 2016-2017 Intel Corporation | 3 | # Copyright (C) 2012-2013, 2016-2017 Intel Corporation |
4 | # Author: Paul Eggleton <paul.eggleton@linux.intel.com> | 4 | # Author: Paul Eggleton <paul.eggleton@linux.intel.com> |
5 | # | 5 | # |
6 | # SPDX-License-Identifier: GPL-2.0-only | ||
7 | # | ||
6 | # Note: requires GitPython 0.3.1+ | 8 | # Note: requires GitPython 0.3.1+ |
7 | # | 9 | # |
8 | # You can use this from the command line by running scripts/buildhistory-diff | 10 | # You can use this from the command line by running scripts/buildhistory-diff |
diff --git a/meta/lib/oe/cachedpath.py b/meta/lib/oe/cachedpath.py index 0840cc4c3f..254257a83f 100644 --- a/meta/lib/oe/cachedpath.py +++ b/meta/lib/oe/cachedpath.py | |||
@@ -1,4 +1,6 @@ | |||
1 | # | 1 | # |
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
2 | # Based on standard python library functions but avoid | 4 | # Based on standard python library functions but avoid |
3 | # repeated stat calls. Its assumed the files will not change from under us | 5 | # repeated stat calls. Its assumed the files will not change from under us |
4 | # so we can cache stat calls. | 6 | # so we can cache stat calls. |
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py index 662707b859..e25122e815 100644 --- a/meta/lib/oe/classextend.py +++ b/meta/lib/oe/classextend.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import collections | 5 | import collections |
2 | 6 | ||
3 | class ClassExtender(object): | 7 | class ClassExtender(object): |
diff --git a/meta/lib/oe/classutils.py b/meta/lib/oe/classutils.py index 45cd5249be..08bb66b365 100644 --- a/meta/lib/oe/classutils.py +++ b/meta/lib/oe/classutils.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | 4 | ||
2 | class ClassRegistryMeta(type): | 5 | class ClassRegistryMeta(type): |
3 | """Give each ClassRegistry their own registry""" | 6 | """Give each ClassRegistry their own registry""" |
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py index 7cb784cf8c..5b96121ddb 100644 --- a/meta/lib/oe/copy_buildsystem.py +++ b/meta/lib/oe/copy_buildsystem.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | # This class should provide easy access to the different aspects of the | 4 | # This class should provide easy access to the different aspects of the |
2 | # buildsystem such as layers, bitbake location, etc. | 5 | # buildsystem such as layers, bitbake location, etc. |
3 | # | 6 | # |
diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py index b8901e63f5..602130a904 100644 --- a/meta/lib/oe/data.py +++ b/meta/lib/oe/data.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import json | 5 | import json |
2 | import oe.maketype | 6 | import oe.maketype |
3 | 7 | ||
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index e775c3a6ec..88e46c354d 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | def create_socket(url, d): | 5 | def create_socket(url, d): |
2 | import urllib | 6 | import urllib |
3 | from bb.utils import export_proxies | 7 | from bb.utils import export_proxies |
diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py index 4cc9a9a097..2562cea1dd 100644 --- a/meta/lib/oe/elf.py +++ b/meta/lib/oe/elf.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | def machine_dict(d): | 5 | def machine_dict(d): |
2 | # TARGET_OS TARGET_ARCH MACHINE, OSABI, ABIVERSION, Little Endian, 32bit? | 6 | # TARGET_OS TARGET_ARCH MACHINE, OSABI, ABIVERSION, Little Endian, 32bit? |
3 | machdata = { | 7 | machdata = { |
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py index ccd5aee420..a95d2ba34c 100644 --- a/meta/lib/oe/gpg_sign.py +++ b/meta/lib/oe/gpg_sign.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | """Helper module for GPG signing""" | 5 | """Helper module for GPG signing""" |
2 | import os | 6 | import os |
3 | 7 | ||
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index 04f5b316a9..c1274a61de 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py | |||
@@ -1,4 +1,6 @@ | |||
1 | # vi:sts=4:sw=4:et | 1 | # |
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
2 | """Code for parsing OpenEmbedded license strings""" | 4 | """Code for parsing OpenEmbedded license strings""" |
3 | 5 | ||
4 | import ast | 6 | import ast |
diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py index 71c0992c5d..4f2b419edc 100644 --- a/meta/lib/oe/lsb.py +++ b/meta/lib/oe/lsb.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | def get_os_release(): | 5 | def get_os_release(): |
2 | """Get all key-value pairs from /etc/os-release as a dict""" | 6 | """Get all key-value pairs from /etc/os-release as a dict""" |
3 | from collections import OrderedDict | 7 | from collections import OrderedDict |
diff --git a/meta/lib/oe/maketype.py b/meta/lib/oe/maketype.py index c36e7b5604..d929c8b3e5 100644 --- a/meta/lib/oe/maketype.py +++ b/meta/lib/oe/maketype.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | """OpenEmbedded variable typing support | 4 | """OpenEmbedded variable typing support |
2 | 5 | ||
3 | Types are defined in the metadata by name, using the 'type' flag on a | 6 | Types are defined in the metadata by name, using the 'type' flag on a |
diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py index 674303c866..f7c88f9a09 100644 --- a/meta/lib/oe/manifest.py +++ b/meta/lib/oe/manifest.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from abc import ABCMeta, abstractmethod | 5 | from abc import ABCMeta, abstractmethod |
2 | import os | 6 | import os |
3 | import re | 7 | import re |
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 6e83f01f14..b59513227b 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import stat | 5 | import stat |
2 | import mmap | 6 | import mmap |
3 | import subprocess | 7 | import subprocess |
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 2835c1ddf8..06feb4def7 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from abc import ABCMeta, abstractmethod | 5 | from abc import ABCMeta, abstractmethod |
2 | import os | 6 | import os |
3 | import glob | 7 | import glob |
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index 32e5c82a94..cbde380b03 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import codecs | 5 | import codecs |
2 | import os | 6 | import os |
3 | 7 | ||
diff --git a/meta/lib/oe/packagegroup.py b/meta/lib/oe/packagegroup.py index 4bc5d3e4bb..2419cbb6d3 100644 --- a/meta/lib/oe/packagegroup.py +++ b/meta/lib/oe/packagegroup.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import itertools | 5 | import itertools |
2 | 6 | ||
3 | def is_optional(feature, d): | 7 | def is_optional(feature, d): |
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index f43cf047c0..d8e4ef5398 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import oe.path | 5 | import oe.path |
2 | import oe.types | 6 | import oe.types |
3 | 7 | ||
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index c09eda5c42..fa209b9795 100644 --- a/meta/lib/oe/path.py +++ b/meta/lib/oe/path.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import errno | 5 | import errno |
2 | import glob | 6 | import glob |
3 | import shutil | 7 | import shutil |
diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py index 32dfc15e88..b1132ccb11 100644 --- a/meta/lib/oe/prservice.py +++ b/meta/lib/oe/prservice.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | 4 | ||
2 | def prserv_make_conn(d, check = False): | 5 | def prserv_make_conn(d, check = False): |
3 | import prserv.serv | 6 | import prserv.serv |
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 59c72ce580..21066c4dc3 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import os, struct, mmap | 5 | import os, struct, mmap |
2 | 6 | ||
3 | class NotELFFileError(Exception): | 7 | class NotELFFileError(Exception): |
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 4ca200d834..1e5b9a49f9 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
@@ -4,6 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2013-2017 Intel Corporation | 5 | # Copyright (C) 2013-2017 Intel Corporation |
6 | # | 6 | # |
7 | # SPDX-License-Identifier: GPL-2.0-only | ||
8 | # | ||
7 | 9 | ||
8 | import sys | 10 | import sys |
9 | import os | 11 | import os |
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index b7c0b9c24b..9358f562c8 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | from abc import ABCMeta, abstractmethod | 4 | from abc import ABCMeta, abstractmethod |
2 | from oe.utils import execute_pre_post_process | 5 | from oe.utils import execute_pre_post_process |
3 | from oe.package_manager import * | 6 | from oe.package_manager import * |
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 878ee1647f..b4fbdb799e 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | from abc import ABCMeta, abstractmethod | 5 | from abc import ABCMeta, abstractmethod |
2 | from oe.utils import execute_pre_post_process | 6 | from oe.utils import execute_pre_post_process |
3 | from oe.manifest import * | 7 | from oe.manifest import * |
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index a83af519ec..417943db90 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | import bb.siggen | 4 | import bb.siggen |
2 | import oe | 5 | import oe |
3 | 6 | ||
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index e4045559fc..9bda3efdc7 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | import logging | 4 | import logging |
2 | import oe.classutils | 5 | import oe.classutils |
3 | import shlex | 6 | import shlex |
diff --git a/meta/lib/oe/types.py b/meta/lib/oe/types.py index 1eebba5a38..77ee7ee541 100644 --- a/meta/lib/oe/types.py +++ b/meta/lib/oe/types.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import errno | 5 | import errno |
2 | import re | 6 | import re |
3 | import os | 7 | import os |
diff --git a/meta/lib/oe/useradd.py b/meta/lib/oe/useradd.py index 179ac76b5e..bedfe0ecb5 100644 --- a/meta/lib/oe/useradd.py +++ b/meta/lib/oe/useradd.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | import argparse | 4 | import argparse |
2 | import re | 5 | import re |
3 | 6 | ||
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 59251810d4..d686ce1bf6 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import subprocess | 5 | import subprocess |
2 | import multiprocessing | 6 | import multiprocessing |
3 | import traceback | 7 | import traceback |
diff --git a/meta/lib/oeqa/buildperf/__init__.py b/meta/lib/oeqa/buildperf/__init__.py index 605f429ecc..b7ebd036ae 100644 --- a/meta/lib/oeqa/buildperf/__init__.py +++ b/meta/lib/oeqa/buildperf/__init__.py | |||
@@ -1,13 +1,7 @@ | |||
1 | # Copyright (c) 2016, Intel Corporation. | 1 | # Copyright (c) 2016, Intel Corporation. |
2 | # | 2 | # |
3 | # This program is free software; you can redistribute it and/or modify it | ||
4 | # under the terms and conditions of the GNU General Public License, | ||
5 | # version 2, as published by the Free Software Foundation. | ||
6 | # | 3 | # |
7 | # This program is distributed in the hope it will be useful, but WITHOUT | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
9 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
10 | # more details. | ||
11 | # | 5 | # |
12 | """Build performance tests""" | 6 | """Build performance tests""" |
13 | from .base import (BuildPerfTestCase, | 7 | from .base import (BuildPerfTestCase, |
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index ac6ee15d09..3b2fed549f 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py | |||
@@ -1,13 +1,6 @@ | |||
1 | # Copyright (c) 2016, Intel Corporation. | 1 | # Copyright (c) 2016, Intel Corporation. |
2 | # | 2 | # |
3 | # This program is free software; you can redistribute it and/or modify it | 3 | # SPDX-License-Identifier: GPL-2.0-only |
4 | # under the terms and conditions of the GNU General Public License, | ||
5 | # version 2, as published by the Free Software Foundation. | ||
6 | # | ||
7 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
8 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
9 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
10 | # more details. | ||
11 | # | 4 | # |
12 | """Build performance test base classes and functionality""" | 5 | """Build performance test base classes and functionality""" |
13 | import json | 6 | import json |
diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py index 6d6b01b04b..2104617ba3 100644 --- a/meta/lib/oeqa/buildperf/test_basic.py +++ b/meta/lib/oeqa/buildperf/test_basic.py | |||
@@ -1,13 +1,6 @@ | |||
1 | # Copyright (c) 2016, Intel Corporation. | 1 | # Copyright (c) 2016, Intel Corporation. |
2 | # | 2 | # |
3 | # This program is free software; you can redistribute it and/or modify it | 3 | # SPDX-License-Identifier: GPL-2.0-only |
4 | # under the terms and conditions of the GNU General Public License, | ||
5 | # version 2, as published by the Free Software Foundation. | ||
6 | # | ||
7 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
8 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
9 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
10 | # more details. | ||
11 | # | 4 | # |
12 | """Basic set of build performance tests""" | 5 | """Basic set of build performance tests""" |
13 | import os | 6 | import os |
diff --git a/meta/lib/oeqa/controllers/__init__.py b/meta/lib/oeqa/controllers/__init__.py index 8eda92763c..cc3836c4bf 100644 --- a/meta/lib/oeqa/controllers/__init__.py +++ b/meta/lib/oeqa/controllers/__init__.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | # Enable other layers to have modules in the same named directory | 4 | # Enable other layers to have modules in the same named directory |
2 | from pkgutil import extend_path | 5 | from pkgutil import extend_path |
3 | __path__ = extend_path(__path__, __name__) | 6 | __path__ = extend_path(__path__, __name__) |
diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py index f175e119da..0435dfa125 100644 --- a/meta/lib/oeqa/controllers/masterimage.py +++ b/meta/lib/oeqa/controllers/masterimage.py | |||
@@ -1,7 +1,7 @@ | |||
1 | # Copyright (C) 2014 Intel Corporation | 1 | # Copyright (C) 2014 Intel Corporation |
2 | # | 2 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 3 | # SPDX-License-Identifier: MIT |
4 | 4 | # | |
5 | # This module adds support to testimage.bbclass to deploy images and run | 5 | # This module adds support to testimage.bbclass to deploy images and run |
6 | # tests using a "master image" - this is a "known good" image that is | 6 | # tests using a "master image" - this is a "known good" image that is |
7 | # installed onto the device as part of initial setup and will be booted into | 7 | # installed onto the device as part of initial setup and will be booted into |
diff --git a/meta/lib/oeqa/controllers/testtargetloader.py b/meta/lib/oeqa/controllers/testtargetloader.py index b51d04b213..23101c7371 100644 --- a/meta/lib/oeqa/controllers/testtargetloader.py +++ b/meta/lib/oeqa/controllers/testtargetloader.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import types | 5 | import types |
2 | import bb | 6 | import bb |
3 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/core/case.py b/meta/lib/oeqa/core/case.py index 917a2aa3f8..54977c809f 100644 --- a/meta/lib/oeqa/core/case.py +++ b/meta/lib/oeqa/core/case.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import unittest | 7 | import unittest |
5 | 8 | ||
diff --git a/meta/lib/oeqa/core/cases/example/test_basic.py b/meta/lib/oeqa/core/cases/example/test_basic.py index 11cf3800cc..d77edcdcec 100644 --- a/meta/lib/oeqa/core/cases/example/test_basic.py +++ b/meta/lib/oeqa/core/cases/example/test_basic.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2016 Intel Corporation | 1 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | from oeqa.core.case import OETestCase | 6 | from oeqa.core.case import OETestCase |
5 | from oeqa.core.decorator.depends import OETestDepends | 7 | from oeqa.core.decorator.depends import OETestDepends |
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py index 821aec8836..09627044c8 100644 --- a/meta/lib/oeqa/core/context.py +++ b/meta/lib/oeqa/core/context.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2016 Intel Corporation | 1 | ## Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | import os | 6 | import os |
5 | import sys | 7 | import sys |
diff --git a/meta/lib/oeqa/core/decorator/__init__.py b/meta/lib/oeqa/core/decorator/__init__.py index 14d7bfcd35..923b218266 100644 --- a/meta/lib/oeqa/core/decorator/__init__.py +++ b/meta/lib/oeqa/core/decorator/__init__.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from functools import wraps | 7 | from functools import wraps |
5 | from abc import abstractmethod, ABCMeta | 8 | from abc import abstractmethod, ABCMeta |
diff --git a/meta/lib/oeqa/core/decorator/data.py b/meta/lib/oeqa/core/decorator/data.py index f0f65abb39..babc9789d6 100644 --- a/meta/lib/oeqa/core/decorator/data.py +++ b/meta/lib/oeqa/core/decorator/data.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.exception import OEQAMissingVariable | 7 | from oeqa.core.exception import OEQAMissingVariable |
5 | 8 | ||
diff --git a/meta/lib/oeqa/core/decorator/depends.py b/meta/lib/oeqa/core/decorator/depends.py index 950dbaa67a..33f0841cab 100644 --- a/meta/lib/oeqa/core/decorator/depends.py +++ b/meta/lib/oeqa/core/decorator/depends.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from unittest import SkipTest | 7 | from unittest import SkipTest |
5 | 8 | ||
diff --git a/meta/lib/oeqa/core/decorator/oetag.py b/meta/lib/oeqa/core/decorator/oetag.py index ad38ab78a5..8c31138dac 100644 --- a/meta/lib/oeqa/core/decorator/oetag.py +++ b/meta/lib/oeqa/core/decorator/oetag.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from . import OETestFilter, registerDecorator | 7 | from . import OETestFilter, registerDecorator |
5 | from oeqa.core.utils.misc import strToList | 8 | from oeqa.core.utils.misc import strToList |
diff --git a/meta/lib/oeqa/core/decorator/oetimeout.py b/meta/lib/oeqa/core/decorator/oetimeout.py index a247583f7f..df90d1c798 100644 --- a/meta/lib/oeqa/core/decorator/oetimeout.py +++ b/meta/lib/oeqa/core/decorator/oetimeout.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import signal | 7 | import signal |
5 | from . import OETestDecorator, registerDecorator | 8 | from . import OETestDecorator, registerDecorator |
diff --git a/meta/lib/oeqa/core/exception.py b/meta/lib/oeqa/core/exception.py index 732f2efdeb..05be0ed21f 100644 --- a/meta/lib/oeqa/core/exception.py +++ b/meta/lib/oeqa/core/exception.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | class OEQAException(Exception): | 7 | class OEQAException(Exception): |
5 | pass | 8 | pass |
diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.py index e66de32cb1..7fea0585c7 100644 --- a/meta/lib/oeqa/core/loader.py +++ b/meta/lib/oeqa/core/loader.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import re | 8 | import re |
diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index ee1fb43028..5f708730ed 100644 --- a/meta/lib/oeqa/core/runner.py +++ b/meta/lib/oeqa/core/runner.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import time | 8 | import time |
diff --git a/meta/lib/oeqa/core/target/__init__.py b/meta/lib/oeqa/core/target/__init__.py index d2468bc257..1382aa9b52 100644 --- a/meta/lib/oeqa/core/target/__init__.py +++ b/meta/lib/oeqa/core/target/__init__.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from abc import abstractmethod | 7 | from abc import abstractmethod |
5 | 8 | ||
diff --git a/meta/lib/oeqa/core/target/qemu.py b/meta/lib/oeqa/core/target/qemu.py index 7a161a3231..081c627b01 100644 --- a/meta/lib/oeqa/core/target/qemu.py +++ b/meta/lib/oeqa/core/target/qemu.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import sys | 8 | import sys |
diff --git a/meta/lib/oeqa/core/target/ssh.py b/meta/lib/oeqa/core/target/ssh.py index 2adbb3000c..cf3d44d12d 100644 --- a/meta/lib/oeqa/core/target/ssh.py +++ b/meta/lib/oeqa/core/target/ssh.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import time | 8 | import time |
diff --git a/meta/lib/oeqa/core/tests/cases/data.py b/meta/lib/oeqa/core/tests/cases/data.py index 88003a6adc..0d8de87ae7 100644 --- a/meta/lib/oeqa/core/tests/cases/data.py +++ b/meta/lib/oeqa/core/tests/cases/data.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.case import OETestCase | 7 | from oeqa.core.case import OETestCase |
5 | from oeqa.core.decorator.oetag import OETestTag | 8 | from oeqa.core.decorator.oetag import OETestTag |
diff --git a/meta/lib/oeqa/core/tests/cases/depends.py b/meta/lib/oeqa/core/tests/cases/depends.py index 17cdd90b15..46e7db900d 100644 --- a/meta/lib/oeqa/core/tests/cases/depends.py +++ b/meta/lib/oeqa/core/tests/cases/depends.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.case import OETestCase | 7 | from oeqa.core.case import OETestCase |
5 | from oeqa.core.decorator.depends import OETestDepends | 8 | from oeqa.core.decorator.depends import OETestDepends |
diff --git a/meta/lib/oeqa/core/tests/cases/loader/valid/another.py b/meta/lib/oeqa/core/tests/cases/loader/valid/another.py index c9ffd17773..bedc20c8a6 100644 --- a/meta/lib/oeqa/core/tests/cases/loader/valid/another.py +++ b/meta/lib/oeqa/core/tests/cases/loader/valid/another.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.case import OETestCase | 7 | from oeqa.core.case import OETestCase |
5 | 8 | ||
diff --git a/meta/lib/oeqa/core/tests/cases/oetag.py b/meta/lib/oeqa/core/tests/cases/oetag.py index 0cae02e75c..4e1d080985 100644 --- a/meta/lib/oeqa/core/tests/cases/oetag.py +++ b/meta/lib/oeqa/core/tests/cases/oetag.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.case import OETestCase | 7 | from oeqa.core.case import OETestCase |
5 | from oeqa.core.decorator.oetag import OETestTag | 8 | from oeqa.core.decorator.oetag import OETestTag |
diff --git a/meta/lib/oeqa/core/tests/cases/timeout.py b/meta/lib/oeqa/core/tests/cases/timeout.py index 870c3157f7..5dfecc7b7c 100644 --- a/meta/lib/oeqa/core/tests/cases/timeout.py +++ b/meta/lib/oeqa/core/tests/cases/timeout.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from time import sleep | 7 | from time import sleep |
5 | 8 | ||
diff --git a/meta/lib/oeqa/core/tests/common.py b/meta/lib/oeqa/core/tests/common.py index 52b18a1c3e..39efd504c0 100644 --- a/meta/lib/oeqa/core/tests/common.py +++ b/meta/lib/oeqa/core/tests/common.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import sys | 7 | import sys |
5 | import os | 8 | import os |
diff --git a/meta/lib/oeqa/core/tests/test_data.py b/meta/lib/oeqa/core/tests/test_data.py index 21b6c68b8a..50811bb381 100755 --- a/meta/lib/oeqa/core/tests/test_data.py +++ b/meta/lib/oeqa/core/tests/test_data.py | |||
@@ -1,7 +1,9 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # |
5 | # SPDX-License-Identifier: MIT | ||
6 | # | ||
5 | 7 | ||
6 | import unittest | 8 | import unittest |
7 | import logging | 9 | import logging |
diff --git a/meta/lib/oeqa/core/tests/test_decorators.py b/meta/lib/oeqa/core/tests/test_decorators.py index 67dce773bd..499cd66ff3 100755 --- a/meta/lib/oeqa/core/tests/test_decorators.py +++ b/meta/lib/oeqa/core/tests/test_decorators.py | |||
@@ -1,7 +1,9 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | # | |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # |
5 | # SPDX-License-Identifier: MIT | ||
6 | # | ||
5 | 7 | ||
6 | import signal | 8 | import signal |
7 | import unittest | 9 | import unittest |
diff --git a/meta/lib/oeqa/core/tests/test_loader.py b/meta/lib/oeqa/core/tests/test_loader.py index 39f2d6e2a7..519ba96091 100755 --- a/meta/lib/oeqa/core/tests/test_loader.py +++ b/meta/lib/oeqa/core/tests/test_loader.py | |||
@@ -1,7 +1,9 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | # | |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # |
5 | # SPDX-License-Identifier: MIT | ||
6 | # | ||
5 | 7 | ||
6 | import os | 8 | import os |
7 | import unittest | 9 | import unittest |
diff --git a/meta/lib/oeqa/core/tests/test_runner.py b/meta/lib/oeqa/core/tests/test_runner.py index a3f3861fed..205464cfae 100755 --- a/meta/lib/oeqa/core/tests/test_runner.py +++ b/meta/lib/oeqa/core/tests/test_runner.py | |||
@@ -1,7 +1,9 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | # | |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # |
5 | # SPDX-License-Identifier: MIT | ||
6 | # | ||
5 | 7 | ||
6 | import unittest | 8 | import unittest |
7 | import logging | 9 | import logging |
diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py index e050818f0f..535b11e2d9 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
4 | # | ||
3 | # Modified for use in OE by Richard Purdie, 2018 | 5 | # Modified for use in OE by Richard Purdie, 2018 |
4 | # | 6 | # |
5 | # Modified by: Corey Goldberg, 2013 | 7 | # Modified by: Corey Goldberg, 2013 |
diff --git a/meta/lib/oeqa/core/utils/misc.py b/meta/lib/oeqa/core/utils/misc.py index 0b223b5d08..e1a59588eb 100644 --- a/meta/lib/oeqa/core/utils/misc.py +++ b/meta/lib/oeqa/core/utils/misc.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | def toList(obj, obj_type, obj_name="Object"): | 7 | def toList(obj, obj_type, obj_name="Object"): |
5 | if isinstance(obj, obj_type): | 8 | if isinstance(obj, obj_type): |
diff --git a/meta/lib/oeqa/core/utils/path.py b/meta/lib/oeqa/core/utils/path.py index a21caad5cb..c086dcb0b0 100644 --- a/meta/lib/oeqa/core/utils/path.py +++ b/meta/lib/oeqa/core/utils/path.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import sys | 8 | import sys |
diff --git a/meta/lib/oeqa/core/utils/test.py b/meta/lib/oeqa/core/utils/test.py index 88d5d13981..d38cab8a51 100644 --- a/meta/lib/oeqa/core/utils/test.py +++ b/meta/lib/oeqa/core/utils/test.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import inspect | 8 | import inspect |
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index f0423af66c..9c84466dd0 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013 Intel Corporation | 2 | # Copyright (C) 2013 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # Main unittest module used by testimage.bbclass | 7 | # Main unittest module used by testimage.bbclass |
6 | # This provides the oeRuntimeTest base class which is inherited by all tests in meta/lib/oeqa/runtime. | 8 | # This provides the oeRuntimeTest base class which is inherited by all tests in meta/lib/oeqa/runtime. |
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py index 9cfea0f7ab..7e37213df6 100755 --- a/meta/lib/oeqa/runexported.py +++ b/meta/lib/oeqa/runexported.py | |||
@@ -1,9 +1,9 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | # | |
3 | |||
4 | # Copyright (C) 2013 Intel Corporation | 3 | # Copyright (C) 2013 Intel Corporation |
5 | # | 4 | # |
6 | # Released under the MIT license (see COPYING.MIT) | 5 | # SPDX-License-Identifier: MIT |
6 | # | ||
7 | 7 | ||
8 | # This script should be used outside of the build system to run image tests. | 8 | # This script should be used outside of the build system to run image tests. |
9 | # It needs a json file as input as exported by the build. | 9 | # It needs a json file as input as exported by the build. |
diff --git a/meta/lib/oeqa/runtime/case.py b/meta/lib/oeqa/runtime/case.py index 2f190acf15..f036982e1f 100644 --- a/meta/lib/oeqa/runtime/case.py +++ b/meta/lib/oeqa/runtime/case.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.case import OETestCase | 7 | from oeqa.core.case import OETestCase |
5 | from oeqa.utils.package_manager import install_package, uninstall_package | 8 | from oeqa.utils.package_manager import install_package, uninstall_package |
diff --git a/meta/lib/oeqa/runtime/cases/_qemutiny.py b/meta/lib/oeqa/runtime/cases/_qemutiny.py index 7b5b48141f..6886e36502 100644 --- a/meta/lib/oeqa/runtime/cases/_qemutiny.py +++ b/meta/lib/oeqa/runtime/cases/_qemutiny.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | 6 | ||
3 | class QemuTinyTest(OERuntimeTestCase): | 7 | class QemuTinyTest(OERuntimeTestCase): |
diff --git a/meta/lib/oeqa/runtime/cases/apt.py b/meta/lib/oeqa/runtime/cases/apt.py index 793143f72c..74a940d80f 100644 --- a/meta/lib/oeqa/runtime/cases/apt.py +++ b/meta/lib/oeqa/runtime/cases/apt.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | from oeqa.utils.httpserver import HTTPService | 6 | from oeqa.utils.httpserver import HTTPService |
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py index 6a9a408ebe..f4e871e421 100644 --- a/meta/lib/oeqa/runtime/cases/buildcpio.py +++ b/meta/lib/oeqa/runtime/cases/buildcpio.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/buildgalculator.py b/meta/lib/oeqa/runtime/cases/buildgalculator.py index 4ec5fc707b..6dd1faee0a 100644 --- a/meta/lib/oeqa/runtime/cases/buildgalculator.py +++ b/meta/lib/oeqa/runtime/cases/buildgalculator.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/buildlzip.py b/meta/lib/oeqa/runtime/cases/buildlzip.py index b737ca601b..bc70b41461 100644 --- a/meta/lib/oeqa/runtime/cases/buildlzip.py +++ b/meta/lib/oeqa/runtime/cases/buildlzip.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/connman.py b/meta/lib/oeqa/runtime/cases/connman.py index 55a252ab01..f0d15fac9b 100644 --- a/meta/lib/oeqa/runtime/cases/connman.py +++ b/meta/lib/oeqa/runtime/cases/connman.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/date.py b/meta/lib/oeqa/runtime/cases/date.py index d31d1b2730..7750a7293f 100644 --- a/meta/lib/oeqa/runtime/cases/date.py +++ b/meta/lib/oeqa/runtime/cases/date.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import re | 5 | import re |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/df.py b/meta/lib/oeqa/runtime/cases/df.py index 2d1ca2a949..d8d79f32ea 100644 --- a/meta/lib/oeqa/runtime/cases/df.py +++ b/meta/lib/oeqa/runtime/cases/df.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index f235bdd58a..629b9af3ed 100644 --- a/meta/lib/oeqa/runtime/cases/dnf.py +++ b/meta/lib/oeqa/runtime/cases/dnf.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import subprocess | 7 | import subprocess |
diff --git a/meta/lib/oeqa/runtime/cases/gcc.py b/meta/lib/oeqa/runtime/cases/gcc.py index e55eb560d0..1b6e431bf4 100644 --- a/meta/lib/oeqa/runtime/cases/gcc.py +++ b/meta/lib/oeqa/runtime/cases/gcc.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/gi.py b/meta/lib/oeqa/runtime/cases/gi.py index 7e16651df7..42bd100a31 100644 --- a/meta/lib/oeqa/runtime/cases/gi.py +++ b/meta/lib/oeqa/runtime/cases/gi.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/gstreamer.py b/meta/lib/oeqa/runtime/cases/gstreamer.py index 128630e117..f735f82e3b 100644 --- a/meta/lib/oeqa/runtime/cases/gstreamer.py +++ b/meta/lib/oeqa/runtime/cases/gstreamer.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.runtime.decorator.package import OEHasPackage | 6 | from oeqa.runtime.decorator.package import OEHasPackage |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/kernelmodule.py b/meta/lib/oeqa/runtime/cases/kernelmodule.py index 36805be302..47fd2f850c 100644 --- a/meta/lib/oeqa/runtime/cases/kernelmodule.py +++ b/meta/lib/oeqa/runtime/cases/kernelmodule.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py index 45b926bec8..a9a1620ebd 100644 --- a/meta/lib/oeqa/runtime/cases/ksample.py +++ b/meta/lib/oeqa/runtime/cases/ksample.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import time | 6 | import time |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/ldd.py b/meta/lib/oeqa/runtime/cases/ldd.py index 39c47f380b..9c2caa8f65 100644 --- a/meta/lib/oeqa/runtime/cases/ldd.py +++ b/meta/lib/oeqa/runtime/cases/ldd.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.data import skipIfNotFeature | 7 | from oeqa.core.decorator.data import skipIfNotFeature |
diff --git a/meta/lib/oeqa/runtime/cases/logrotate.py b/meta/lib/oeqa/runtime/cases/logrotate.py index dc3b271445..8358793a24 100644 --- a/meta/lib/oeqa/runtime/cases/logrotate.py +++ b/meta/lib/oeqa/runtime/cases/logrotate.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=289 testcase | 5 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=289 testcase |
2 | # Note that the image under test must have logrotate installed | 6 | # Note that the image under test must have logrotate installed |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/ltp.py b/meta/lib/oeqa/runtime/cases/ltp.py index 628494e453..30548640bc 100644 --- a/meta/lib/oeqa/runtime/cases/ltp.py +++ b/meta/lib/oeqa/runtime/cases/ltp.py | |||
@@ -2,15 +2,9 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2019 MontaVista Software, LLC | 3 | # Copyright (c) 2019 MontaVista Software, LLC |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify it | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # under the terms and conditions of the GNU General Public License, | ||
7 | # version 2, as published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
12 | # more details. | ||
13 | # | 6 | # |
7 | |||
14 | import time | 8 | import time |
15 | import datetime | 9 | import datetime |
16 | import pprint | 10 | import pprint |
diff --git a/meta/lib/oeqa/runtime/cases/ltp_compliance.py b/meta/lib/oeqa/runtime/cases/ltp_compliance.py index be9a9a32af..ba47c78fd4 100644 --- a/meta/lib/oeqa/runtime/cases/ltp_compliance.py +++ b/meta/lib/oeqa/runtime/cases/ltp_compliance.py | |||
@@ -2,14 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2019 MontaVista Software, LLC | 3 | # Copyright (c) 2019 MontaVista Software, LLC |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify it | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # under the terms and conditions of the GNU General Public License, | ||
7 | # version 2, as published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
12 | # more details. | ||
13 | # | 6 | # |
14 | 7 | ||
15 | import time | 8 | import time |
diff --git a/meta/lib/oeqa/runtime/cases/multilib.py b/meta/lib/oeqa/runtime/cases/multilib.py index 2cf87618f9..62e662b01c 100644 --- a/meta/lib/oeqa/runtime/cases/multilib.py +++ b/meta/lib/oeqa/runtime/cases/multilib.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.data import skipIfNotInDataVar | 7 | from oeqa.core.decorator.data import skipIfNotInDataVar |
diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index 100d026391..0f5f9f43ca 100644 --- a/meta/lib/oeqa/runtime/cases/oe_syslog.py +++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.data import skipIfDataVar | 7 | from oeqa.core.decorator.data import skipIfDataVar |
diff --git a/meta/lib/oeqa/runtime/cases/opkg.py b/meta/lib/oeqa/runtime/cases/opkg.py index 693f5d68c9..bb8b6d99d2 100644 --- a/meta/lib/oeqa/runtime/cases/opkg.py +++ b/meta/lib/oeqa/runtime/cases/opkg.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | from oeqa.utils.httpserver import HTTPService | 6 | from oeqa.utils.httpserver import HTTPService |
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/pam.py b/meta/lib/oeqa/runtime/cases/pam.py index 49ae1f4881..271a1943e3 100644 --- a/meta/lib/oeqa/runtime/cases/pam.py +++ b/meta/lib/oeqa/runtime/cases/pam.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=287 testcase | 5 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=287 testcase |
2 | # Note that the image under test must have "pam" in DISTRO_FEATURES | 6 | # Note that the image under test must have "pam" in DISTRO_FEATURES |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py index 41857f5373..eb2ebb1958 100644 --- a/meta/lib/oeqa/runtime/cases/parselogs.py +++ b/meta/lib/oeqa/runtime/cases/parselogs.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from subprocess import check_output | 7 | from subprocess import check_output |
diff --git a/meta/lib/oeqa/runtime/cases/perl.py b/meta/lib/oeqa/runtime/cases/perl.py index de1d8d090c..2c6b3b7846 100644 --- a/meta/lib/oeqa/runtime/cases/perl.py +++ b/meta/lib/oeqa/runtime/cases/perl.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/ping.py b/meta/lib/oeqa/runtime/cases/ping.py index c32f2159a4..f6603f75ec 100644 --- a/meta/lib/oeqa/runtime/cases/ping.py +++ b/meta/lib/oeqa/runtime/cases/ping.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from subprocess import Popen, PIPE | 5 | from subprocess import Popen, PIPE |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index e210099d48..d8d1e1b344 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import unittest | 5 | import unittest |
2 | import pprint | 6 | import pprint |
3 | import datetime | 7 | import datetime |
diff --git a/meta/lib/oeqa/runtime/cases/python.py b/meta/lib/oeqa/runtime/cases/python.py index f03e33daa1..ec54f1e1db 100644 --- a/meta/lib/oeqa/runtime/cases/python.py +++ b/meta/lib/oeqa/runtime/cases/python.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/rpm.py b/meta/lib/oeqa/runtime/cases/rpm.py index 76176e632e..d8cabd3640 100644 --- a/meta/lib/oeqa/runtime/cases/rpm.py +++ b/meta/lib/oeqa/runtime/cases/rpm.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import fnmatch | 6 | import fnmatch |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/scp.py b/meta/lib/oeqa/runtime/cases/scp.py index 43dd7167fa..3a5f292152 100644 --- a/meta/lib/oeqa/runtime/cases/scp.py +++ b/meta/lib/oeqa/runtime/cases/scp.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | from tempfile import mkstemp | 6 | from tempfile import mkstemp |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/skeletoninit.py b/meta/lib/oeqa/runtime/cases/skeletoninit.py index 4fad794720..4779cd6bb4 100644 --- a/meta/lib/oeqa/runtime/cases/skeletoninit.py +++ b/meta/lib/oeqa/runtime/cases/skeletoninit.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=284 | 5 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=284 |
2 | # testcase. Image under test must have meta-skeleton layer in bblayers and | 6 | # testcase. Image under test must have meta-skeleton layer in bblayers and |
3 | # IMAGE_INSTALL_append = " service" in local.conf | 7 | # IMAGE_INSTALL_append = " service" in local.conf |
diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py index 26ced88145..60a5fbbfbf 100644 --- a/meta/lib/oeqa/runtime/cases/ssh.py +++ b/meta/lib/oeqa/runtime/cases/ssh.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.runtime.decorator.package import OEHasPackage | 7 | from oeqa.runtime.decorator.package import OEHasPackage |
diff --git a/meta/lib/oeqa/runtime/cases/stap.py b/meta/lib/oeqa/runtime/cases/stap.py index c149e56f7d..5342f6ac34 100644 --- a/meta/lib/oeqa/runtime/cases/stap.py +++ b/meta/lib/oeqa/runtime/cases/stap.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 7 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/cases/systemd.py b/meta/lib/oeqa/runtime/cases/systemd.py index db9da465ee..c11fa49b07 100644 --- a/meta/lib/oeqa/runtime/cases/systemd.py +++ b/meta/lib/oeqa/runtime/cases/systemd.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import re | 5 | import re |
2 | import time | 6 | import time |
3 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/cases/x32lib.py b/meta/lib/oeqa/runtime/cases/x32lib.py index 809dfdf9f4..ddf220140e 100644 --- a/meta/lib/oeqa/runtime/cases/x32lib.py +++ b/meta/lib/oeqa/runtime/cases/x32lib.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.data import skipIfNotInDataVar | 7 | from oeqa.core.decorator.data import skipIfNotInDataVar |
diff --git a/meta/lib/oeqa/runtime/cases/xorg.py b/meta/lib/oeqa/runtime/cases/xorg.py index 421ae56560..d6845587c2 100644 --- a/meta/lib/oeqa/runtime/cases/xorg.py +++ b/meta/lib/oeqa/runtime/cases/xorg.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 5 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 6 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.data import skipIfNotFeature | 7 | from oeqa.core.decorator.data import skipIfNotFeature |
diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py index db0482d68d..77d58eefa7 100644 --- a/meta/lib/oeqa/runtime/context.py +++ b/meta/lib/oeqa/runtime/context.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | 8 | ||
diff --git a/meta/lib/oeqa/runtime/decorator/package.py b/meta/lib/oeqa/runtime/decorator/package.py index aa6ecb68fa..4c5ca198b0 100644 --- a/meta/lib/oeqa/runtime/decorator/package.py +++ b/meta/lib/oeqa/runtime/decorator/package.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.decorator import OETestDecorator, registerDecorator | 7 | from oeqa.core.decorator import OETestDecorator, registerDecorator |
5 | from oeqa.core.utils.misc import strToSet | 8 | from oeqa.core.utils.misc import strToSet |
diff --git a/meta/lib/oeqa/runtime/loader.py b/meta/lib/oeqa/runtime/loader.py index 041ef976eb..7041ddfde8 100644 --- a/meta/lib/oeqa/runtime/loader.py +++ b/meta/lib/oeqa/runtime/loader.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.core.loader import OETestLoader | 7 | from oeqa.core.loader import OETestLoader |
5 | from oeqa.runtime.case import OERuntimeTestCase | 8 | from oeqa.runtime.case import OERuntimeTestCase |
diff --git a/meta/lib/oeqa/runtime/utils/targetbuildproject.py b/meta/lib/oeqa/runtime/utils/targetbuildproject.py index de17ba01f8..f4f4816a9b 100644 --- a/meta/lib/oeqa/runtime/utils/targetbuildproject.py +++ b/meta/lib/oeqa/runtime/utils/targetbuildproject.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.utils.buildproject import BuildProject | 7 | from oeqa.utils.buildproject import BuildProject |
5 | 8 | ||
diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk/case.py index d8611c8b30..43fc00aaa2 100644 --- a/meta/lib/oeqa/sdk/case.py +++ b/meta/lib/oeqa/sdk/case.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import subprocess | 8 | import subprocess |
diff --git a/meta/lib/oeqa/sdk/cases/assimp.py b/meta/lib/oeqa/sdk/cases/assimp.py index a600010399..f26b17f2e9 100644 --- a/meta/lib/oeqa/sdk/cases/assimp.py +++ b/meta/lib/oeqa/sdk/cases/assimp.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import subprocess | 6 | import subprocess |
3 | import tempfile | 7 | import tempfile |
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py index 9504ee8e05..0a5e68d5fd 100644 --- a/meta/lib/oeqa/sdk/cases/buildcpio.py +++ b/meta/lib/oeqa/sdk/cases/buildcpio.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import tempfile | 6 | import tempfile |
3 | import subprocess | 7 | import subprocess |
diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py index ef24b4f4ac..f3d207c6dd 100644 --- a/meta/lib/oeqa/sdk/cases/buildepoxy.py +++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import subprocess | 6 | import subprocess |
3 | import tempfile | 7 | import tempfile |
diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py index 47d7580faf..bbaa5c55c9 100644 --- a/meta/lib/oeqa/sdk/cases/buildgalculator.py +++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import subprocess | 6 | import subprocess |
3 | import tempfile | 7 | import tempfile |
diff --git a/meta/lib/oeqa/sdk/cases/buildlzip.py b/meta/lib/oeqa/sdk/cases/buildlzip.py index b7483bfea5..515acd2891 100644 --- a/meta/lib/oeqa/sdk/cases/buildlzip.py +++ b/meta/lib/oeqa/sdk/cases/buildlzip.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os, tempfile, subprocess, unittest | 5 | import os, tempfile, subprocess, unittest |
2 | from oeqa.sdk.case import OESDKTestCase | 6 | from oeqa.sdk.case import OESDKTestCase |
3 | from oeqa.utils.subprocesstweak import errors_have_output | 7 | from oeqa.utils.subprocesstweak import errors_have_output |
diff --git a/meta/lib/oeqa/sdk/cases/gcc.py b/meta/lib/oeqa/sdk/cases/gcc.py index 54c6fc488b..eb08eadd28 100644 --- a/meta/lib/oeqa/sdk/cases/gcc.py +++ b/meta/lib/oeqa/sdk/cases/gcc.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import shutil | 6 | import shutil |
3 | import unittest | 7 | import unittest |
diff --git a/meta/lib/oeqa/sdk/cases/perl.py b/meta/lib/oeqa/sdk/cases/perl.py index b8adc5ac72..14d76d820f 100644 --- a/meta/lib/oeqa/sdk/cases/perl.py +++ b/meta/lib/oeqa/sdk/cases/perl.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import unittest | 5 | import unittest |
2 | from oeqa.sdk.case import OESDKTestCase | 6 | from oeqa.sdk.case import OESDKTestCase |
3 | 7 | ||
diff --git a/meta/lib/oeqa/sdk/cases/python.py b/meta/lib/oeqa/sdk/cases/python.py index b9174fadba..a334abce5f 100644 --- a/meta/lib/oeqa/sdk/cases/python.py +++ b/meta/lib/oeqa/sdk/cases/python.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import subprocess, unittest | 5 | import subprocess, unittest |
2 | from oeqa.sdk.case import OESDKTestCase | 6 | from oeqa.sdk.case import OESDKTestCase |
3 | 7 | ||
diff --git a/meta/lib/oeqa/sdk/context.py b/meta/lib/oeqa/sdk/context.py index adc4166fd2..09e77c19fe 100644 --- a/meta/lib/oeqa/sdk/context.py +++ b/meta/lib/oeqa/sdk/context.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import sys | 8 | import sys |
diff --git a/meta/lib/oeqa/sdk/testsdk.py b/meta/lib/oeqa/sdk/testsdk.py index 632ac50d0c..35e40187bc 100644 --- a/meta/lib/oeqa/sdk/testsdk.py +++ b/meta/lib/oeqa/sdk/testsdk.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright 2018 by Garmin Ltd. or its subsidiaries | 2 | # Copyright 2018 by Garmin Ltd. or its subsidiaries |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor | 7 | from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor |
5 | 8 | ||
diff --git a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py index 6fed73e350..f57ff5eed0 100644 --- a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py +++ b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import subprocess | 8 | import subprocess |
diff --git a/meta/lib/oeqa/sdkext/case.py b/meta/lib/oeqa/sdkext/case.py index 21b718831c..668faec9b9 100644 --- a/meta/lib/oeqa/sdkext/case.py +++ b/meta/lib/oeqa/sdkext/case.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import subprocess | 8 | import subprocess |
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py index ab11b2b93a..5a02add764 100644 --- a/meta/lib/oeqa/sdkext/cases/devtool.py +++ b/meta/lib/oeqa/sdkext/cases/devtool.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import shutil | 8 | import shutil |
diff --git a/meta/lib/oeqa/sdkext/context.py b/meta/lib/oeqa/sdkext/context.py index 65da4c6e1b..2ac2bf6ff7 100644 --- a/meta/lib/oeqa/sdkext/context.py +++ b/meta/lib/oeqa/sdkext/context.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor | 8 | from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor |
diff --git a/meta/lib/oeqa/sdkext/testsdk.py b/meta/lib/oeqa/sdkext/testsdk.py index 57b2e0e03f..785b5dda53 100644 --- a/meta/lib/oeqa/sdkext/testsdk.py +++ b/meta/lib/oeqa/sdkext/testsdk.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright 2018 by Garmin Ltd. or its subsidiaries | 2 | # Copyright 2018 by Garmin Ltd. or its subsidiaries |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | from oeqa.sdk.testsdk import TestSDKBase | 7 | from oeqa.sdk.testsdk import TestSDKBase |
5 | 8 | ||
diff --git a/meta/lib/oeqa/selftest/case.py b/meta/lib/oeqa/selftest/case.py index 9c08d595ef..d207a0af0c 100644 --- a/meta/lib/oeqa/selftest/case.py +++ b/meta/lib/oeqa/selftest/case.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013-2017 Intel Corporation | 2 | # Copyright (C) 2013-2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import sys | 7 | import sys |
5 | import os | 8 | import os |
diff --git a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py index 0e5896234c..f7c356ad09 100644 --- a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py +++ b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import shutil | 6 | import shutil |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py index f450777c8d..f8672f8abb 100644 --- a/meta/lib/oeqa/selftest/cases/archiver.py +++ b/meta/lib/oeqa/selftest/cases/archiver.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import glob | 6 | import glob |
3 | from oeqa.utils.commands import bitbake, get_bb_vars | 7 | from oeqa.utils.commands import bitbake, get_bb_vars |
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py index 6ec5fb819e..954488dfd1 100644 --- a/meta/lib/oeqa/selftest/cases/bblayers.py +++ b/meta/lib/oeqa/selftest/cases/bblayers.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index 1b83741974..e9ad44b027 100644 --- a/meta/lib/oeqa/selftest/cases/bbtests.py +++ b/meta/lib/oeqa/selftest/cases/bbtests.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/buildhistory.py b/meta/lib/oeqa/selftest/cases/buildhistory.py index 06792d9146..d865da6252 100644 --- a/meta/lib/oeqa/selftest/cases/buildhistory.py +++ b/meta/lib/oeqa/selftest/cases/buildhistory.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import datetime | 7 | import datetime |
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py index 953c6e468d..3ad65b4034 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import glob as g | 7 | import glob as g |
diff --git a/meta/lib/oeqa/selftest/cases/containerimage.py b/meta/lib/oeqa/selftest/cases/containerimage.py index 47d97b7541..c0998e319e 100644 --- a/meta/lib/oeqa/selftest/cases/containerimage.py +++ b/meta/lib/oeqa/selftest/cases/containerimage.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.selftest.case import OESelftestTestCase | 7 | from oeqa.selftest.case import OESelftestTestCase |
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 48fc042904..434a7b9dd4 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import shutil | 7 | import shutil |
diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py b/meta/lib/oeqa/selftest/cases/distrodata.py index 8962bda011..68ba556485 100644 --- a/meta/lib/oeqa/selftest/cases/distrodata.py +++ b/meta/lib/oeqa/selftest/cases/distrodata.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars | 6 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars |
3 | from oeqa.utils.decorators import testcase | 7 | from oeqa.utils.decorators import testcase |
diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py index d501238854..862849af35 100644 --- a/meta/lib/oeqa/selftest/cases/eSDK.py +++ b/meta/lib/oeqa/selftest/cases/eSDK.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import tempfile | 5 | import tempfile |
2 | import shutil | 6 | import shutil |
3 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/selftest/cases/efibootpartition.py b/meta/lib/oeqa/selftest/cases/efibootpartition.py index c6f39d5b16..a61cf9bcb3 100644 --- a/meta/lib/oeqa/selftest/cases/efibootpartition.py +++ b/meta/lib/oeqa/selftest/cases/efibootpartition.py | |||
@@ -2,6 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2017 Wind River Systems, Inc. | 3 | # Copyright (c) 2017 Wind River Systems, Inc. |
4 | # | 4 | # |
5 | # SPDX-License-Identifier: MIT | ||
6 | # | ||
5 | 7 | ||
6 | import re | 8 | import re |
7 | 9 | ||
diff --git a/meta/lib/oeqa/selftest/cases/fetch.py b/meta/lib/oeqa/selftest/cases/fetch.py index c5de4fd401..76cbadf2ff 100644 --- a/meta/lib/oeqa/selftest/cases/fetch.py +++ b/meta/lib/oeqa/selftest/cases/fetch.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import oe.path | 5 | import oe.path |
2 | from oeqa.selftest.case import OESelftestTestCase | 6 | from oeqa.selftest.case import OESelftestTestCase |
3 | from oeqa.utils.commands import bitbake | 7 | from oeqa.utils.commands import bitbake |
diff --git a/meta/lib/oeqa/selftest/cases/gotoolchain.py b/meta/lib/oeqa/selftest/cases/gotoolchain.py index 1e23257f4d..3119520f0d 100644 --- a/meta/lib/oeqa/selftest/cases/gotoolchain.py +++ b/meta/lib/oeqa/selftest/cases/gotoolchain.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import glob | 5 | import glob |
2 | import os | 6 | import os |
3 | import shutil | 7 | import shutil |
diff --git a/meta/lib/oeqa/selftest/cases/image_typedep.py b/meta/lib/oeqa/selftest/cases/image_typedep.py index 9f1f983e1d..52e1080f13 100644 --- a/meta/lib/oeqa/selftest/cases/image_typedep.py +++ b/meta/lib/oeqa/selftest/cases/image_typedep.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.selftest.case import OESelftestTestCase | 7 | from oeqa.selftest.case import OESelftestTestCase |
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index a1d9f12dcc..afc629f29c 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu | 6 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu |
3 | from oeqa.utils.sshcontrol import SSHControl | 7 | from oeqa.utils.sshcontrol import SSHControl |
diff --git a/meta/lib/oeqa/selftest/cases/layerappend.py b/meta/lib/oeqa/selftest/cases/layerappend.py index 18ccda2df8..05e9426fc6 100644 --- a/meta/lib/oeqa/selftest/cases/layerappend.py +++ b/meta/lib/oeqa/selftest/cases/layerappend.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.selftest.case import OESelftestTestCase | 7 | from oeqa.selftest.case import OESelftestTestCase |
diff --git a/meta/lib/oeqa/selftest/cases/liboe.py b/meta/lib/oeqa/selftest/cases/liboe.py index 01b2cab7aa..afe8f8809f 100644 --- a/meta/lib/oeqa/selftest/cases/liboe.py +++ b/meta/lib/oeqa/selftest/cases/liboe.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd | 6 | from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd |
3 | import oe.path | 7 | import oe.path |
diff --git a/meta/lib/oeqa/selftest/cases/lic_checksum.py b/meta/lib/oeqa/selftest/cases/lic_checksum.py index 70b4fe2700..bae935d697 100644 --- a/meta/lib/oeqa/selftest/cases/lic_checksum.py +++ b/meta/lib/oeqa/selftest/cases/lic_checksum.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import tempfile | 6 | import tempfile |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/manifest.py b/meta/lib/oeqa/selftest/cases/manifest.py index 799e1fb47d..c0b25ab5d8 100644 --- a/meta/lib/oeqa/selftest/cases/manifest.py +++ b/meta/lib/oeqa/selftest/cases/manifest.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | from oeqa.selftest.case import OESelftestTestCase | 7 | from oeqa.selftest.case import OESelftestTestCase |
diff --git a/meta/lib/oeqa/selftest/cases/meta_ide.py b/meta/lib/oeqa/selftest/cases/meta_ide.py index 76cbac3c77..f47bc70917 100644 --- a/meta/lib/oeqa/selftest/cases/meta_ide.py +++ b/meta/lib/oeqa/selftest/cases/meta_ide.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | 6 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject |
3 | from oeqa.utils.commands import bitbake, get_bb_vars, runCmd | 7 | from oeqa.utils.commands import bitbake, get_bb_vars, runCmd |
diff --git a/meta/lib/oeqa/selftest/cases/multiconfig.py b/meta/lib/oeqa/selftest/cases/multiconfig.py index 3c36f6e5d2..d21bf0a411 100644 --- a/meta/lib/oeqa/selftest/cases/multiconfig.py +++ b/meta/lib/oeqa/selftest/cases/multiconfig.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | from oeqa.selftest.case import OESelftestTestCase | 6 | from oeqa.selftest.case import OESelftestTestCase |
3 | from oeqa.utils.commands import bitbake | 7 | from oeqa.utils.commands import bitbake |
diff --git a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py index f9bec53d4a..6d80827652 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py +++ b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | from oeqa.selftest.case import OESelftestTestCase | 6 | from oeqa.selftest.case import OESelftestTestCase |
3 | import tempfile | 7 | import tempfile |
diff --git a/meta/lib/oeqa/selftest/cases/oelib/elf.py b/meta/lib/oeqa/selftest/cases/oelib/elf.py index 15c03f4609..d0a28090f2 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/elf.py +++ b/meta/lib/oeqa/selftest/cases/oelib/elf.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from unittest.case import TestCase | 5 | from unittest.case import TestCase |
2 | import oe.qa | 6 | import oe.qa |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/oelib/license.py b/meta/lib/oeqa/selftest/cases/oelib/license.py index d7f91fb2f4..6ebbee589f 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/license.py +++ b/meta/lib/oeqa/selftest/cases/oelib/license.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from unittest.case import TestCase | 5 | from unittest.case import TestCase |
2 | import oe.license | 6 | import oe.license |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/oelib/path.py b/meta/lib/oeqa/selftest/cases/oelib/path.py index e0eb8134a9..a1cfa08c09 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/path.py +++ b/meta/lib/oeqa/selftest/cases/oelib/path.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from unittest.case import TestCase | 5 | from unittest.case import TestCase |
2 | import oe, oe.path | 6 | import oe, oe.path |
3 | import tempfile | 7 | import tempfile |
diff --git a/meta/lib/oeqa/selftest/cases/oelib/types.py b/meta/lib/oeqa/selftest/cases/oelib/types.py index 6b53aa64e5..7eb49e6f95 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/types.py +++ b/meta/lib/oeqa/selftest/cases/oelib/types.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from unittest.case import TestCase | 5 | from unittest.case import TestCase |
2 | from oe.maketype import create | 6 | from oe.maketype import create |
3 | 7 | ||
diff --git a/meta/lib/oeqa/selftest/cases/oelib/utils.py b/meta/lib/oeqa/selftest/cases/oelib/utils.py index 789c6f78d2..a7214beb4c 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/utils.py +++ b/meta/lib/oeqa/selftest/cases/oelib/utils.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import sys | 5 | import sys |
2 | from unittest.case import TestCase | 6 | from unittest.case import TestCase |
3 | from contextlib import contextmanager | 7 | from contextlib import contextmanager |
diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index e0b41e64fb..56b35b59eb 100644 --- a/meta/lib/oeqa/selftest/cases/oescripts.py +++ b/meta/lib/oeqa/selftest/cases/oescripts.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.selftest.cases.buildhistory import BuildhistoryBase | 6 | from oeqa.selftest.cases.buildhistory import BuildhistoryBase |
3 | from oeqa.utils.commands import Command, runCmd, bitbake, get_bb_var, get_test_layer | 7 | from oeqa.utils.commands import Command, runCmd, bitbake, get_bb_var, get_test_layer |
diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index c166c87666..7a00753821 100644 --- a/meta/lib/oeqa/selftest/cases/package.py +++ b/meta/lib/oeqa/selftest/cases/package.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu | 6 | from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu |
3 | import stat | 7 | import stat |
diff --git a/meta/lib/oeqa/selftest/cases/pkgdata.py b/meta/lib/oeqa/selftest/cases/pkgdata.py index 58ec6e0ebc..833a1803ba 100644 --- a/meta/lib/oeqa/selftest/cases/pkgdata.py +++ b/meta/lib/oeqa/selftest/cases/pkgdata.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import tempfile | 6 | import tempfile |
3 | import fnmatch | 7 | import fnmatch |
diff --git a/meta/lib/oeqa/selftest/cases/prservice.py b/meta/lib/oeqa/selftest/cases/prservice.py index b0a68a0b1f..fe1f24ea6d 100644 --- a/meta/lib/oeqa/selftest/cases/prservice.py +++ b/meta/lib/oeqa/selftest/cases/prservice.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import shutil | 7 | import shutil |
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 439d87f834..f1cb37b53f 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import shutil | 6 | import shutil |
3 | import tempfile | 7 | import tempfile |
diff --git a/meta/lib/oeqa/selftest/cases/recipeutils.py b/meta/lib/oeqa/selftest/cases/recipeutils.py index 408eb356bf..747870383b 100644 --- a/meta/lib/oeqa/selftest/cases/recipeutils.py +++ b/meta/lib/oeqa/selftest/cases/recipeutils.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import time | 7 | import time |
diff --git a/meta/lib/oeqa/selftest/cases/resulttooltests.py b/meta/lib/oeqa/selftest/cases/resulttooltests.py index 0a089c0b7f..10eb9c12d9 100644 --- a/meta/lib/oeqa/selftest/cases/resulttooltests.py +++ b/meta/lib/oeqa/selftest/cases/resulttooltests.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import sys | 6 | import sys |
3 | basepath = os.path.abspath(os.path.dirname(__file__) + '/../../../../../') | 7 | basepath = os.path.abspath(os.path.dirname(__file__) + '/../../../../../') |
diff --git a/meta/lib/oeqa/selftest/cases/runcmd.py b/meta/lib/oeqa/selftest/cases/runcmd.py index ed4ba8a465..3755764ee7 100644 --- a/meta/lib/oeqa/selftest/cases/runcmd.py +++ b/meta/lib/oeqa/selftest/cases/runcmd.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import runCmd | 6 | from oeqa.utils.commands import runCmd |
3 | from oeqa.utils import CommandError | 7 | from oeqa.utils import CommandError |
diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py b/meta/lib/oeqa/selftest/cases/runqemu.py index 3598104aeb..b88ae306c0 100644 --- a/meta/lib/oeqa/selftest/cases/runqemu.py +++ b/meta/lib/oeqa/selftest/cases/runqemu.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | 1 | # |
2 | # Copyright (c) 2017 Wind River Systems, Inc. | 2 | # Copyright (c) 2017 Wind River Systems, Inc. |
3 | # | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
4 | 6 | ||
5 | import re | 7 | import re |
6 | import tempfile | 8 | import tempfile |
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 072029ba72..d817b755fe 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu | 6 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu |
3 | from oeqa.utils.sshcontrol import SSHControl | 7 | from oeqa.utils.sshcontrol import SSHControl |
diff --git a/meta/lib/oeqa/selftest/cases/selftest.py b/meta/lib/oeqa/selftest/cases/selftest.py index 7d3a8ce5f6..af080dcf03 100644 --- a/meta/lib/oeqa/selftest/cases/selftest.py +++ b/meta/lib/oeqa/selftest/cases/selftest.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import importlib | 5 | import importlib |
2 | from oeqa.utils.commands import runCmd | 6 | from oeqa.utils.commands import runCmd |
3 | import oeqa.selftest | 7 | import oeqa.selftest |
diff --git a/meta/lib/oeqa/selftest/cases/signing.py b/meta/lib/oeqa/selftest/cases/signing.py index cfa87333bc..9c710bd0ff 100644 --- a/meta/lib/oeqa/selftest/cases/signing.py +++ b/meta/lib/oeqa/selftest/cases/signing.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars | 6 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars |
3 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/selftest/cases/sstate.py b/meta/lib/oeqa/selftest/cases/sstate.py index bc2fdbd8cc..410dec64fc 100644 --- a/meta/lib/oeqa/selftest/cases/sstate.py +++ b/meta/lib/oeqa/selftest/cases/sstate.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import datetime | 5 | import datetime |
2 | import unittest | 6 | import unittest |
3 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 8cae2f7491..2867cb78ab 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import shutil | 6 | import shutil |
3 | import glob | 7 | import glob |
diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py b/meta/lib/oeqa/selftest/cases/tinfoil.py index 6c246d5306..42a1b6b4f4 100644 --- a/meta/lib/oeqa/selftest/cases/tinfoil.py +++ b/meta/lib/oeqa/selftest/cases/tinfoil.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import time | 7 | import time |
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index f22781d15c..d16eae5889 100644 --- a/meta/lib/oeqa/selftest/cases/wic.py +++ b/meta/lib/oeqa/selftest/cases/wic.py | |||
@@ -1,22 +1,8 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | 2 | # |
5 | # Copyright (c) 2015, Intel Corporation. | 3 | # Copyright (c) 2015, Intel Corporation. |
6 | # All rights reserved. | ||
7 | # | 4 | # |
8 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | # | 6 | # |
21 | # AUTHORS | 7 | # AUTHORS |
22 | # Ed Bartosh <ed.bartosh@linux.intel.com> | 8 | # Ed Bartosh <ed.bartosh@linux.intel.com> |
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index c56e53dcdd..d279994ddf 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta/lib/oeqa/selftest/context.py | |||
@@ -1,5 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2017 Intel Corporation | 2 | # Copyright (C) 2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 3 | # |
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | import os | 7 | import os |
5 | import time | 8 | import time |
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index 1868ad3206..c742d4759a 100644 --- a/meta/lib/oeqa/targetcontrol.py +++ b/meta/lib/oeqa/targetcontrol.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013 Intel Corporation | 2 | # Copyright (C) 2013 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # This module is used by testimage.bbclass for setting up and controlling a target machine. | 7 | # This module is used by testimage.bbclass for setting up and controlling a target machine. |
6 | 8 | ||
diff --git a/meta/lib/oeqa/utils/__init__.py b/meta/lib/oeqa/utils/__init__.py index d38a323013..70fbe7b552 100644 --- a/meta/lib/oeqa/utils/__init__.py +++ b/meta/lib/oeqa/utils/__init__.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
1 | # Enable other layers to have modules in the same named directory | 4 | # Enable other layers to have modules in the same named directory |
2 | from pkgutil import extend_path | 5 | from pkgutil import extend_path |
3 | __path__ = extend_path(__path__, __name__) | 6 | __path__ = extend_path(__path__, __name__) |
diff --git a/meta/lib/oeqa/utils/buildproject.py b/meta/lib/oeqa/utils/buildproject.py index 01a803ab61..e6d80cc8dc 100644 --- a/meta/lib/oeqa/utils/buildproject.py +++ b/meta/lib/oeqa/utils/buildproject.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013-2016 Intel Corporation | 2 | # Copyright (C) 2013-2016 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # Provides a class for automating build tests for projects | 7 | # Provides a class for automating build tests for projects |
6 | 8 | ||
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 2e6a2289cd..59ebfbe125 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (c) 2013-2014 Intel Corporation | 2 | # Copyright (c) 2013-2014 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # DESCRIPTION | 7 | # DESCRIPTION |
6 | # This module is mainly used by scripts/oe-selftest and modules under meta/oeqa/selftest | 8 | # This module is mainly used by scripts/oe-selftest and modules under meta/oeqa/selftest |
diff --git a/meta/lib/oeqa/utils/decorators.py b/meta/lib/oeqa/utils/decorators.py index d876896921..aabf4110cb 100644 --- a/meta/lib/oeqa/utils/decorators.py +++ b/meta/lib/oeqa/utils/decorators.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013 Intel Corporation | 2 | # Copyright (C) 2013 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # Some custom decorators that can be used by unittests | 7 | # Some custom decorators that can be used by unittests |
6 | # Most useful is skipUnlessPassed which can be used for | 8 | # Most useful is skipUnlessPassed which can be used for |
diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index 79c22b75c4..d34e05e2b4 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import sys | 6 | import sys |
3 | import errno | 7 | import errno |
diff --git a/meta/lib/oeqa/utils/ftools.py b/meta/lib/oeqa/utils/ftools.py index a7233d4ca6..3093419cc7 100644 --- a/meta/lib/oeqa/utils/ftools.py +++ b/meta/lib/oeqa/utils/ftools.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import re | 6 | import re |
3 | import errno | 7 | import errno |
diff --git a/meta/lib/oeqa/utils/git.py b/meta/lib/oeqa/utils/git.py index 757e3f0cbf..ea35a766eb 100644 --- a/meta/lib/oeqa/utils/git.py +++ b/meta/lib/oeqa/utils/git.py | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Copyright (C) 2016 Intel Corporation | 2 | # Copyright (C) 2016 Intel Corporation |
3 | # | 3 | # |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | 5 | # |
6 | """Git repository interactions""" | 6 | """Git repository interactions""" |
7 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/utils/gitarchive.py b/meta/lib/oeqa/utils/gitarchive.py index 9520b2e126..6e8040eb5c 100644 --- a/meta/lib/oeqa/utils/gitarchive.py +++ b/meta/lib/oeqa/utils/gitarchive.py | |||
@@ -4,14 +4,7 @@ | |||
4 | # Copyright (c) 2017, Intel Corporation. | 4 | # Copyright (c) 2017, Intel Corporation. |
5 | # Copyright (c) 2019, Linux Foundation | 5 | # Copyright (c) 2019, Linux Foundation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | 8 | # |
16 | 9 | ||
17 | import os | 10 | import os |
diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py index a48d4994fd..aa435590f0 100644 --- a/meta/lib/oeqa/utils/httpserver.py +++ b/meta/lib/oeqa/utils/httpserver.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import http.server | 5 | import http.server |
2 | import multiprocessing | 6 | import multiprocessing |
3 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/utils/logparser.py b/meta/lib/oeqa/utils/logparser.py index 584ad4f263..cc6d18d94a 100644 --- a/meta/lib/oeqa/utils/logparser.py +++ b/meta/lib/oeqa/utils/logparser.py | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | import sys | 6 | import sys |
4 | import os | 7 | import os |
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py index e0808ae0ac..8013aa684d 100644 --- a/meta/lib/oeqa/utils/metadata.py +++ b/meta/lib/oeqa/utils/metadata.py | |||
@@ -1,6 +1,6 @@ | |||
1 | # Copyright (C) 2016 Intel Corporation | 1 | # Copyright (C) 2016 Intel Corporation |
2 | # | 2 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 3 | # SPDX-License-Identifier: MIT |
4 | # | 4 | # |
5 | # Functions to get metadata from the testing host used | 5 | # Functions to get metadata from the testing host used |
6 | # for analytics of test results. | 6 | # for analytics of test results. |
diff --git a/meta/lib/oeqa/utils/network.py b/meta/lib/oeqa/utils/network.py index 2768f6c5db..59cbbc4f1b 100644 --- a/meta/lib/oeqa/utils/network.py +++ b/meta/lib/oeqa/utils/network.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import socket | 5 | import socket |
2 | 6 | ||
3 | def get_free_port(): | 7 | def get_free_port(): |
diff --git a/meta/lib/oeqa/utils/package_manager.py b/meta/lib/oeqa/utils/package_manager.py index 1495f87321..2d358f7172 100644 --- a/meta/lib/oeqa/utils/package_manager.py +++ b/meta/lib/oeqa/utils/package_manager.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | import json | 6 | import json |
3 | import shutil | 7 | import shutil |
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 1abb2c1b6c..fd386ef5a2 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013 Intel Corporation | 2 | # Copyright (C) 2013 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # This module provides a class for starting qemu images using runqemu. | 7 | # This module provides a class for starting qemu images using runqemu. |
6 | # It's used by testimage.bbclass. | 8 | # It's used by testimage.bbclass. |
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py index 5aa99d0686..364005bd2d 100644 --- a/meta/lib/oeqa/utils/qemutinyrunner.py +++ b/meta/lib/oeqa/utils/qemutinyrunner.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2015 Intel Corporation | 2 | # Copyright (C) 2015 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # This module provides a class for starting qemu images of poky tiny. | 7 | # This module provides a class for starting qemu images of poky tiny. |
6 | # It's used by testimage.bbclass. | 8 | # It's used by testimage.bbclass. |
diff --git a/meta/lib/oeqa/utils/sshcontrol.py b/meta/lib/oeqa/utils/sshcontrol.py index d292893c08..49a07264c6 100644 --- a/meta/lib/oeqa/utils/sshcontrol.py +++ b/meta/lib/oeqa/utils/sshcontrol.py | |||
@@ -1,7 +1,8 @@ | |||
1 | # -*- coding: utf-8 -*- | 1 | # |
2 | # Copyright (C) 2013 Intel Corporation | 2 | # Copyright (C) 2013 Intel Corporation |
3 | # | 3 | # |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
5 | 6 | ||
6 | # Provides a class for setting up ssh connections, | 7 | # Provides a class for setting up ssh connections, |
7 | # running commands and copying files to/from a target. | 8 | # running commands and copying files to/from a target. |
diff --git a/meta/lib/oeqa/utils/subprocesstweak.py b/meta/lib/oeqa/utils/subprocesstweak.py index 1f7d11b55c..b47975a4bc 100644 --- a/meta/lib/oeqa/utils/subprocesstweak.py +++ b/meta/lib/oeqa/utils/subprocesstweak.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
1 | import subprocess | 4 | import subprocess |
2 | 5 | ||
3 | class OETestCalledProcessError(subprocess.CalledProcessError): | 6 | class OETestCalledProcessError(subprocess.CalledProcessError): |
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py index b8db7b2aca..1055810ca3 100644 --- a/meta/lib/oeqa/utils/targetbuild.py +++ b/meta/lib/oeqa/utils/targetbuild.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2013 Intel Corporation | 2 | # Copyright (C) 2013 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # Provides a class for automating build tests for projects | 7 | # Provides a class for automating build tests for projects |
6 | 8 | ||
diff --git a/meta/lib/oeqa/utils/testexport.py b/meta/lib/oeqa/utils/testexport.py index be2a2110fc..e89d130a9c 100644 --- a/meta/lib/oeqa/utils/testexport.py +++ b/meta/lib/oeqa/utils/testexport.py | |||
@@ -1,6 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (C) 2015 Intel Corporation | 2 | # Copyright (C) 2015 Intel Corporation |
2 | # | 3 | # |
3 | # Released under the MIT license (see COPYING.MIT) | 4 | # SPDX-License-Identifier: MIT |
5 | # | ||
4 | 6 | ||
5 | # Provides functions to help with exporting binaries obtained from built targets | 7 | # Provides functions to help with exporting binaries obtained from built targets |
6 | 8 | ||
diff --git a/meta/lib/rootfspostcommands.py b/meta/lib/rootfspostcommands.py index 4742e0613c..fdb9f5b850 100644 --- a/meta/lib/rootfspostcommands.py +++ b/meta/lib/rootfspostcommands.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import os | 5 | import os |
2 | 6 | ||
3 | def sort_file(filename, mapping): | 7 | def sort_file(filename, mapping): |
diff --git a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb index cdc2f51c2e..ca1ad964dc 100644 --- a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb +++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb | |||
@@ -7,7 +7,7 @@ RDEPENDS_${PN} = "nativesdk-qemu \ | |||
7 | PR = "r9" | 7 | PR = "r9" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999 \ | 9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999 \ |
10 | file://${COREBASE}/scripts/runqemu;endline=19;md5=a8ad1905c709a2deaa057608ebaf705a" | 10 | file://${COREBASE}/scripts/runqemu;beginline=5;endline=10;md5=ac2b489a58739c7628a2604698db5e7f" |
11 | 11 | ||
12 | 12 | ||
13 | SRC_URI = "file://${COREBASE}/scripts/runqemu \ | 13 | SRC_URI = "file://${COREBASE}/scripts/runqemu \ |
diff --git a/oe-init-build-env b/oe-init-build-env index 861c3e000e..8c1bd54e57 100755 --- a/oe-init-build-env +++ b/oe-init-build-env | |||
@@ -4,19 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2006-2011 Linux Foundation | 5 | # Copyright (C) 2006-2011 Linux Foundation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-or-later |
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | 8 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | 9 | ||
21 | # | 10 | # |
22 | # Normally this is called as '. ./oe-init-build-env <builddir>' | 11 | # Normally this is called as '. ./oe-init-build-env <builddir>' |
diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests index 358dd2beee..5d7e6e2601 100755 --- a/scripts/autobuilder-worker-prereq-tests +++ b/scripts/autobuilder-worker-prereq-tests | |||
@@ -3,7 +3,7 @@ | |||
3 | # Script which can be run on new autobuilder workers to check all needed configuration is present. | 3 | # Script which can be run on new autobuilder workers to check all needed configuration is present. |
4 | # Designed to be run in a repo where bitbake/oe-core are already present. | 4 | # Designed to be run in a repo where bitbake/oe-core are already present. |
5 | # | 5 | # |
6 | 6 | # SPDX-License-Identifier: GPL-2.0-only | |
7 | # | 7 | # |
8 | # Todo | 8 | # Todo |
9 | # Add testtools/subunit import test | 9 | # Add testtools/subunit import test |
diff --git a/scripts/bitbake-prserv-tool b/scripts/bitbake-prserv-tool index fa31b52584..e55d98c72e 100755 --- a/scripts/bitbake-prserv-tool +++ b/scripts/bitbake-prserv-tool | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | help () | 6 | help () |
4 | { | 7 | { |
diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged index 0207777e63..3095dafa46 100755 --- a/scripts/bitbake-whatchanged +++ b/scripts/bitbake-whatchanged | |||
@@ -4,18 +4,8 @@ | |||
4 | 4 | ||
5 | # Copyright (c) 2013 Wind River Systems, Inc. | 5 | # Copyright (c) 2013 Wind River Systems, Inc. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | 8 | # |
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
14 | # See the GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | 9 | ||
20 | import os | 10 | import os |
21 | import sys | 11 | import sys |
diff --git a/scripts/buildhistory-collect-srcrevs b/scripts/buildhistory-collect-srcrevs index d375b045d8..c4d203ff4d 100755 --- a/scripts/buildhistory-collect-srcrevs +++ b/scripts/buildhistory-collect-srcrevs | |||
@@ -5,18 +5,8 @@ | |||
5 | # Copyright 2013 Intel Corporation | 5 | # Copyright 2013 Intel Corporation |
6 | # Authored-by: Paul Eggleton <paul.eggleton@intel.com> | 6 | # Authored-by: Paul Eggleton <paul.eggleton@intel.com> |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or modify | 8 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | 9 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | 10 | ||
21 | import collections | 11 | import collections |
22 | import os | 12 | import os |
diff --git a/scripts/buildhistory-diff b/scripts/buildhistory-diff index 70805b0678..833f7c33a5 100755 --- a/scripts/buildhistory-diff +++ b/scripts/buildhistory-diff | |||
@@ -4,6 +4,9 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2013 Intel Corporation | 5 | # Copyright (C) 2013 Intel Corporation |
6 | # Author: Paul Eggleton <paul.eggleton@linux.intel.com> | 6 | # Author: Paul Eggleton <paul.eggleton@linux.intel.com> |
7 | # | ||
8 | # SPDX-License-Identifier: GPL-2.0-only | ||
9 | # | ||
7 | 10 | ||
8 | import sys | 11 | import sys |
9 | import os | 12 | import os |
diff --git a/scripts/buildstats-diff b/scripts/buildstats-diff index a128dd324f..c179c93528 100755 --- a/scripts/buildstats-diff +++ b/scripts/buildstats-diff | |||
@@ -4,15 +4,9 @@ | |||
4 | # | 4 | # |
5 | # Copyright (c) 2016, Intel Corporation. | 5 | # Copyright (c) 2016, Intel Corporation. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | 8 | # |
9 | |||
16 | import argparse | 10 | import argparse |
17 | import glob | 11 | import glob |
18 | import logging | 12 | import logging |
diff --git a/scripts/combo-layer b/scripts/combo-layer index dc40e72404..9b50e9873d 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer | |||
@@ -7,18 +7,8 @@ | |||
7 | # Paul Eggleton <paul.eggleton@intel.com> | 7 | # Paul Eggleton <paul.eggleton@intel.com> |
8 | # Richard Purdie <richard.purdie@intel.com> | 8 | # Richard Purdie <richard.purdie@intel.com> |
9 | # | 9 | # |
10 | # This program is free software; you can redistribute it and/or modify | 10 | # SPDX-License-Identifier: GPL-2.0-only |
11 | # it under the terms of the GNU General Public License version 2 as | ||
12 | # published by the Free Software Foundation. | ||
13 | # | 11 | # |
14 | # This program is distributed in the hope that it will be useful, | ||
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | # GNU General Public License for more details. | ||
18 | # | ||
19 | # You should have received a copy of the GNU General Public License along | ||
20 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
21 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
22 | 12 | ||
23 | import fnmatch | 13 | import fnmatch |
24 | import os, sys | 14 | import os, sys |
diff --git a/scripts/combo-layer-hook-default.sh b/scripts/combo-layer-hook-default.sh index 1e3a3b9bc8..11547a9826 100755 --- a/scripts/combo-layer-hook-default.sh +++ b/scripts/combo-layer-hook-default.sh | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | # Hook to add source component/revision info to commit message | 5 | # Hook to add source component/revision info to commit message |
3 | # Parameter: | 6 | # Parameter: |
4 | # $1 patch-file | 7 | # $1 patch-file |
diff --git a/scripts/contrib/bb-perf/bb-matrix-plot.sh b/scripts/contrib/bb-perf/bb-matrix-plot.sh index 136a25570d..e7bd129e9e 100755 --- a/scripts/contrib/bb-perf/bb-matrix-plot.sh +++ b/scripts/contrib/bb-perf/bb-matrix-plot.sh | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Copyright (c) 2011, Intel Corporation. | 3 | # Copyright (c) 2011, Intel Corporation. |
4 | # All rights reserved. | ||
5 | # | 4 | # |
6 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 6 | # |
20 | # DESCRIPTION | 7 | # DESCRIPTION |
21 | # This script operates on the .dat file generated by bb-matrix.sh. It tolerates | 8 | # This script operates on the .dat file generated by bb-matrix.sh. It tolerates |
diff --git a/scripts/contrib/bb-perf/bb-matrix.sh b/scripts/contrib/bb-perf/bb-matrix.sh index 106456584d..b1fff0f344 100755 --- a/scripts/contrib/bb-perf/bb-matrix.sh +++ b/scripts/contrib/bb-perf/bb-matrix.sh | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Copyright (c) 2011, Intel Corporation. | 3 | # Copyright (c) 2011, Intel Corporation. |
4 | # All rights reserved. | ||
5 | # | 4 | # |
6 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 6 | # |
20 | # DESCRIPTION | 7 | # DESCRIPTION |
21 | # This script runs BB_CMD (typically building core-image-sato) for all | 8 | # This script runs BB_CMD (typically building core-image-sato) for all |
diff --git a/scripts/contrib/bb-perf/buildstats-plot.sh b/scripts/contrib/bb-perf/buildstats-plot.sh index 7e8ae0410e..898834e5ac 100755 --- a/scripts/contrib/bb-perf/buildstats-plot.sh +++ b/scripts/contrib/bb-perf/buildstats-plot.sh | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | # | 2 | # |
3 | # Copyright (c) 2011, Intel Corporation. | 3 | # Copyright (c) 2011, Intel Corporation. |
4 | # All rights reserved. | ||
5 | # | 4 | # |
6 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 6 | # |
20 | # DESCRIPTION | 7 | # DESCRIPTION |
21 | # | 8 | # |
diff --git a/scripts/contrib/bb-perf/buildstats.sh b/scripts/contrib/bb-perf/buildstats.sh index 8d7e2488f0..e9ec2d476a 100755 --- a/scripts/contrib/bb-perf/buildstats.sh +++ b/scripts/contrib/bb-perf/buildstats.sh | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Copyright (c) 2011, Intel Corporation. | 3 | # Copyright (c) 2011, Intel Corporation. |
4 | # All rights reserved. | ||
5 | # | 4 | # |
6 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 6 | # |
20 | # DESCRIPTION | 7 | # DESCRIPTION |
21 | # Given 'buildstats' data (generate by bitbake when setting | 8 | # Given 'buildstats' data (generate by bitbake when setting |
diff --git a/scripts/contrib/bbvars.py b/scripts/contrib/bbvars.py index 286b5a9405..090133600b 100755 --- a/scripts/contrib/bbvars.py +++ b/scripts/contrib/bbvars.py | |||
@@ -1,18 +1,6 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | |||
3 | # This program is free software; you can redistribute it and/or modify | ||
4 | # it under the terms of the GNU General Public License as published by | ||
5 | # the Free Software Foundation; either version 2 of the License, or | ||
6 | # (at your option) any later version. | ||
7 | # | ||
8 | # This program is distributed in the hope that it will be useful, | ||
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | # GNU General Public License for more details. | ||
12 | # | 2 | # |
13 | # You should have received a copy of the GNU General Public License | 3 | # SPDX-License-Identifier: GPL-2.0-or-later |
14 | # along with this program; if not, write to the Free Software | ||
15 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
16 | # | 4 | # |
17 | # Copyright (C) Darren Hart <dvhart@linux.intel.com>, 2010 | 5 | # Copyright (C) Darren Hart <dvhart@linux.intel.com>, 2010 |
18 | 6 | ||
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh index 7cbb5d794f..fa71d4a2e9 100755 --- a/scripts/contrib/build-perf-test-wrapper.sh +++ b/scripts/contrib/build-perf-test-wrapper.sh | |||
@@ -4,15 +4,7 @@ | |||
4 | # | 4 | # |
5 | # Copyright (c) 2016, Intel Corporation. | 5 | # Copyright (c) 2016, Intel Corporation. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | ||
16 | # | 8 | # |
17 | # This script is a simple wrapper around the actual build performance tester | 9 | # This script is a simple wrapper around the actual build performance tester |
18 | # script. This script initializes the build environment, runs | 10 | # script. This script initializes the build environment, runs |
diff --git a/scripts/contrib/ddimage b/scripts/contrib/ddimage index ab929957a5..b577d1ca2a 100755 --- a/scripts/contrib/ddimage +++ b/scripts/contrib/ddimage | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | # Default to avoiding the first two disks on typical Linux and Mac OS installs | 6 | # Default to avoiding the first two disks on typical Linux and Mac OS installs |
4 | # Better safe than sorry :-) | 7 | # Better safe than sorry :-) |
diff --git a/scripts/contrib/devtool-stress.py b/scripts/contrib/devtool-stress.py index d555c51a65..81046ecf49 100755 --- a/scripts/contrib/devtool-stress.py +++ b/scripts/contrib/devtool-stress.py | |||
@@ -6,18 +6,7 @@ | |||
6 | # | 6 | # |
7 | # Copyright 2015 Intel Corporation | 7 | # Copyright 2015 Intel Corporation |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | 10 | # |
22 | 11 | ||
23 | import sys | 12 | import sys |
diff --git a/scripts/contrib/dialog-power-control b/scripts/contrib/dialog-power-control index 7550ea53be..ad6070c369 100755 --- a/scripts/contrib/dialog-power-control +++ b/scripts/contrib/dialog-power-control | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Simple script to show a manual power prompt for when you want to use | 5 | # Simple script to show a manual power prompt for when you want to use |
4 | # automated hardware testing with testimage.bbclass but you don't have a | 6 | # automated hardware testing with testimage.bbclass but you don't have a |
5 | # web-enabled power strip or similar to do the power on/off/cycle. | 7 | # web-enabled power strip or similar to do the power on/off/cycle. |
diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index 2144aac936..1191f57a8e 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Perform an audit of which packages provide documentation and which | 5 | # Perform an audit of which packages provide documentation and which |
4 | # are missing -doc packages. | 6 | # are missing -doc packages. |
5 | # | 7 | # |
@@ -7,7 +9,6 @@ | |||
7 | # this script after source'ing the build environment script, so you're | 9 | # this script after source'ing the build environment script, so you're |
8 | # running it from build/ directory. | 10 | # running it from build/ directory. |
9 | # | 11 | # |
10 | # Maintainer: Scott Garman <scott.a.garman@intel.com> | ||
11 | 12 | ||
12 | REPORT_DOC_SIMPLE="documentation_exists.txt" | 13 | REPORT_DOC_SIMPLE="documentation_exists.txt" |
13 | REPORT_DOC_DETAIL="documentation_exists_detail.txt" | 14 | REPORT_DOC_DETAIL="documentation_exists_detail.txt" |
diff --git a/scripts/contrib/graph-tool b/scripts/contrib/graph-tool index 1df5b8c345..6d2e68b82e 100755 --- a/scripts/contrib/graph-tool +++ b/scripts/contrib/graph-tool | |||
@@ -7,18 +7,7 @@ | |||
7 | # | 7 | # |
8 | # Copyright 2013 Intel Corporation | 8 | # Copyright 2013 Intel Corporation |
9 | # | 9 | # |
10 | # This program is free software; you can redistribute it and/or modify | 10 | # SPDX-License-Identifier: GPL-2.0-only |
11 | # it under the terms of the GNU General Public License version 2 as | ||
12 | # published by the Free Software Foundation. | ||
13 | # | ||
14 | # This program is distributed in the hope that it will be useful, | ||
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | # GNU General Public License for more details. | ||
18 | # | ||
19 | # You should have received a copy of the GNU General Public License along | ||
20 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
21 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
22 | # | 11 | # |
23 | 12 | ||
24 | import sys | 13 | import sys |
diff --git a/scripts/contrib/list-packageconfig-flags.py b/scripts/contrib/list-packageconfig-flags.py index 7ce718624a..b1d6c852d8 100755 --- a/scripts/contrib/list-packageconfig-flags.py +++ b/scripts/contrib/list-packageconfig-flags.py | |||
@@ -1,21 +1,10 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | # This program is free software; you can redistribute it and/or modify | ||
4 | # it under the terms of the GNU General Public License as published by | ||
5 | # the Free Software Foundation; either version 2 of the License, or | ||
6 | # (at your option) any later version. | ||
7 | # | ||
8 | # This program is distributed in the hope that it will be useful, | ||
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | # GNU General Public License for more details. | ||
12 | # | ||
13 | # You should have received a copy of the GNU General Public License | ||
14 | # along with this program; if not, write to the Free Software Foundation. | ||
15 | # | ||
16 | # Copyright (C) 2013 Wind River Systems, Inc. | 3 | # Copyright (C) 2013 Wind River Systems, Inc. |
17 | # Copyright (C) 2014 Intel Corporation | 4 | # Copyright (C) 2014 Intel Corporation |
18 | # | 5 | # |
6 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
7 | # | ||
19 | # - list available recipes which have PACKAGECONFIG flags | 8 | # - list available recipes which have PACKAGECONFIG flags |
20 | # - list available PACKAGECONFIG flags and all affected recipes | 9 | # - list available PACKAGECONFIG flags and all affected recipes |
21 | # - list all recipes and PACKAGECONFIG information | 10 | # - list all recipes and PACKAGECONFIG information |
diff --git a/scripts/contrib/oe-build-perf-report-email.py b/scripts/contrib/oe-build-perf-report-email.py index 913847bbed..de3862c897 100755 --- a/scripts/contrib/oe-build-perf-report-email.py +++ b/scripts/contrib/oe-build-perf-report-email.py | |||
@@ -4,15 +4,9 @@ | |||
4 | # | 4 | # |
5 | # Copyright (c) 2017, Intel Corporation. | 5 | # Copyright (c) 2017, Intel Corporation. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | 8 | # |
9 | |||
16 | import argparse | 10 | import argparse |
17 | import base64 | 11 | import base64 |
18 | import logging | 12 | import logging |
diff --git a/scripts/contrib/patchreview.py b/scripts/contrib/patchreview.py index 072166504d..62c509f51c 100755 --- a/scripts/contrib/patchreview.py +++ b/scripts/contrib/patchreview.py | |||
@@ -1,4 +1,7 @@ | |||
1 | #! /usr/bin/env python3 | 1 | #! /usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | # TODO | 6 | # TODO |
4 | # - option to just list all broken files | 7 | # - option to just list all broken files |
diff --git a/scripts/contrib/patchtest.sh b/scripts/contrib/patchtest.sh index 7fe566666e..b1e1ea334b 100755 --- a/scripts/contrib/patchtest.sh +++ b/scripts/contrib/patchtest.sh | |||
@@ -1,26 +1,12 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | 2 | # |
5 | # patchtest: Run patchtest on commits starting at master | 3 | # patchtest: Run patchtest on commits starting at master |
6 | # | 4 | # |
7 | # Copyright (c) 2017, Intel Corporation. | 5 | # Copyright (c) 2017, Intel Corporation. |
8 | # All rights reserved. | ||
9 | # | 6 | # |
10 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-or-later |
11 | # it under the terms of the GNU General Public License as published by | ||
12 | # the Free Software Foundation; either version 2 of the License, or | ||
13 | # (at your option) any later version. | ||
14 | # | ||
15 | # This program is distributed in the hope that it will be useful, | ||
16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | # GNU General Public License for more details. | ||
19 | # | ||
20 | # You should have received a copy of the GNU General Public License | ||
21 | # along with this program; if not, write to the Free Software | ||
22 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
23 | # | 8 | # |
9 | |||
24 | set -o errexit | 10 | set -o errexit |
25 | 11 | ||
26 | # Default values | 12 | # Default values |
diff --git a/scripts/contrib/serdevtry b/scripts/contrib/serdevtry index 74bd7b7161..9144730e7e 100755 --- a/scripts/contrib/serdevtry +++ b/scripts/contrib/serdevtry | |||
@@ -2,7 +2,8 @@ | |||
2 | 2 | ||
3 | # Copyright (C) 2014 Intel Corporation | 3 | # Copyright (C) 2014 Intel Corporation |
4 | # | 4 | # |
5 | # Released under the MIT license (see COPYING.MIT) | 5 | # SPDX-License-Identifier: MIT |
6 | # | ||
6 | 7 | ||
7 | if [ "$1" = "" -o "$1" = "--help" ] ; then | 8 | if [ "$1" = "" -o "$1" = "--help" ] ; then |
8 | echo "Usage: $0 <serial terminal command>" | 9 | echo "Usage: $0 <serial terminal command>" |
diff --git a/scripts/contrib/test_build_time.sh b/scripts/contrib/test_build_time.sh index 9e5725ae54..23f238adf6 100755 --- a/scripts/contrib/test_build_time.sh +++ b/scripts/contrib/test_build_time.sh | |||
@@ -3,22 +3,8 @@ | |||
3 | # Build performance regression test script | 3 | # Build performance regression test script |
4 | # | 4 | # |
5 | # Copyright 2011 Intel Corporation | 5 | # Copyright 2011 Intel Corporation |
6 | # All rights reserved. | ||
7 | # | ||
8 | # This program is free software; you can redistribute it and/or modify | ||
9 | # it under the terms of the GNU General Public License as published by | ||
10 | # the Free Software Foundation; either version 2 of the License, or | ||
11 | # (at your option) any later version. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License | ||
19 | # along with this program; if not, write to the Free Software | ||
20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | # | 6 | # |
7 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
22 | # | 8 | # |
23 | # DESCRIPTION | 9 | # DESCRIPTION |
24 | # This script is intended to be used in conjunction with "git bisect run" | 10 | # This script is intended to be used in conjunction with "git bisect run" |
diff --git a/scripts/contrib/test_build_time_worker.sh b/scripts/contrib/test_build_time_worker.sh index 8e20a9ea7d..478e8b0d03 100755 --- a/scripts/contrib/test_build_time_worker.sh +++ b/scripts/contrib/test_build_time_worker.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | # | |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # This is an example script to be used in conjunction with test_build_time.sh | 5 | # This is an example script to be used in conjunction with test_build_time.sh |
4 | 6 | ||
5 | if [ "$TEST_BUILDDIR" = "" ] ; then | 7 | if [ "$TEST_BUILDDIR" = "" ] ; then |
diff --git a/scripts/contrib/uncovered b/scripts/contrib/uncovered index a8399ad170..f16128cb7a 100755 --- a/scripts/contrib/uncovered +++ b/scripts/contrib/uncovered | |||
@@ -1,23 +1,10 @@ | |||
1 | #!/bin/bash -eur | 1 | #!/bin/bash -eur |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | 2 | # |
5 | # Find python modules uncovered by oe-seltest | 3 | # Find python modules uncovered by oe-seltest |
6 | # | 4 | # |
7 | # Copyright (c) 2016, Intel Corporation | 5 | # Copyright (c) 2016, Intel Corporation |
8 | # | 6 | # |
9 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | 8 | # |
22 | # Author: Ed Bartosh <ed.bartosh@linux.intel.com> | 9 | # Author: Ed Bartosh <ed.bartosh@linux.intel.com> |
23 | # | 10 | # |
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py index cc6e797d8b..7bffa78e23 100755 --- a/scripts/contrib/verify-homepage.py +++ b/scripts/contrib/verify-homepage.py | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | # | |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # This script can be used to verify HOMEPAGE values for all recipes in | 5 | # This script can be used to verify HOMEPAGE values for all recipes in |
4 | # the current configuration. | 6 | # the current configuration. |
5 | # The result is influenced by network environment, since the timeout of connect url is 5 seconds as default. | 7 | # The result is influenced by network environment, since the timeout of connect url is 5 seconds as default. |
diff --git a/scripts/cp-noerror b/scripts/cp-noerror index 35eb211be3..ab617c5d35 100755 --- a/scripts/cp-noerror +++ b/scripts/cp-noerror | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation, | 5 | # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation, |
4 | # don't error. | 6 | # don't error. |
5 | # Also don't error if $1 disappears. | 7 | # Also don't error if $1 disappears. |
diff --git a/scripts/create-pull-request b/scripts/create-pull-request index 280880b3f7..3ce03d6c1a 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # Copyright (c) 2010-2013, Intel Corporation. | 3 | # Copyright (c) 2010-2013, Intel Corporation. |
4 | # All Rights Reserved | ||
5 | # | ||
6 | # This program is free software; you can redistribute it and/or modify | ||
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | 4 | # |
11 | # This program is distributed in the hope that it will be useful, | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | ||
14 | # the GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | # | 6 | # |
20 | 7 | ||
21 | # | 8 | # |
diff --git a/scripts/crosstap b/scripts/crosstap index e33fa4ad46..40856bc208 100755 --- a/scripts/crosstap +++ b/scripts/crosstap | |||
@@ -17,20 +17,9 @@ | |||
17 | # related to kernel. | 17 | # related to kernel. |
18 | # | 18 | # |
19 | # Copyright (c) 2018, Cisco Systems. | 19 | # Copyright (c) 2018, Cisco Systems. |
20 | # All rights reserved. | ||
21 | # | 20 | # |
22 | # This program is free software; you can redistribute it and/or modify | 21 | # SPDX-License-Identifier: GPL-2.0-only |
23 | # it under the terms of the GNU General Public License version 2 as | ||
24 | # published by the Free Software Foundation. | ||
25 | # | 22 | # |
26 | # This program is distributed in the hope that it will be useful, | ||
27 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
28 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
29 | # See the GNU General Public License for more details. | ||
30 | # | ||
31 | # You should have received a copy of the GNU General Public License | ||
32 | # along with this program; if not, write to the Free Software | ||
33 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
34 | 23 | ||
35 | import sys | 24 | import sys |
36 | import re | 25 | import re |
diff --git a/scripts/devtool b/scripts/devtool index 0e578c0de3..8a4f41bc37 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -4,18 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2014-2015 Intel Corporation | 5 | # Copyright (C) 2014-2015 Intel Corporation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | 8 | # |
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | 9 | ||
20 | import sys | 10 | import sys |
21 | import os | 11 | import os |
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index 6765891d19..e3076e11a5 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | import os | 6 | import os |
4 | import sys | 7 | import sys |
diff --git a/scripts/gen-site-config b/scripts/gen-site-config index 7da7a0bd8a..727b809c0f 100755 --- a/scripts/gen-site-config +++ b/scripts/gen-site-config | |||
@@ -1,18 +1,8 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Copyright (c) 2005-2008 Wind River Systems, Inc. | 2 | # Copyright (c) 2005-2008 Wind River Systems, Inc. |
3 | # | 3 | # |
4 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # it under the terms of the GNU General Public License version 2 as | ||
6 | # published by the Free Software Foundation. | ||
7 | # | 5 | # |
8 | # This program is distributed in the hope that it will be useful, | ||
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
11 | # See the GNU General Public License for more details. | ||
12 | # | ||
13 | # You should have received a copy of the GNU General Public License | ||
14 | # along with this program; if not, write to the Free Software | ||
15 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
16 | 6 | ||
17 | cat << EOF | 7 | cat << EOF |
18 | AC_PREREQ(2.57) | 8 | AC_PREREQ(2.57) |
diff --git a/scripts/lib/argparse_oe.py b/scripts/lib/argparse_oe.py index 9bdfc1ceca..94a4ac5011 100644 --- a/scripts/lib/argparse_oe.py +++ b/scripts/lib/argparse_oe.py | |||
@@ -1,3 +1,7 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
4 | |||
1 | import sys | 5 | import sys |
2 | import argparse | 6 | import argparse |
3 | from collections import defaultdict, OrderedDict | 7 | from collections import defaultdict, OrderedDict |
diff --git a/scripts/lib/build_perf/__init__.py b/scripts/lib/build_perf/__init__.py index 1f8b729078..dcbb78042d 100644 --- a/scripts/lib/build_perf/__init__.py +++ b/scripts/lib/build_perf/__init__.py | |||
@@ -1,14 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Copyright (c) 2017, Intel Corporation. | 2 | # Copyright (c) 2017, Intel Corporation. |
3 | # | 3 | # |
4 | # This program is free software; you can redistribute it and/or modify it | 4 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # under the terms and conditions of the GNU General Public License, | ||
6 | # version 2, as published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | # more details. | ||
12 | # | 5 | # |
13 | """Build performance test library functions""" | 6 | """Build performance test library functions""" |
14 | 7 | ||
diff --git a/scripts/lib/build_perf/html.py b/scripts/lib/build_perf/html.py index 578bb162ee..d1273c9c50 100644 --- a/scripts/lib/build_perf/html.py +++ b/scripts/lib/build_perf/html.py | |||
@@ -1,14 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Copyright (c) 2017, Intel Corporation. | 2 | # Copyright (c) 2017, Intel Corporation. |
3 | # | 3 | # |
4 | # This program is free software; you can redistribute it and/or modify it | 4 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # under the terms and conditions of the GNU General Public License, | ||
6 | # version 2, as published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | # more details. | ||
12 | # | 5 | # |
13 | """Helper module for HTML reporting""" | 6 | """Helper module for HTML reporting""" |
14 | from jinja2 import Environment, PackageLoader | 7 | from jinja2 import Environment, PackageLoader |
diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/report.py index d99a36797f..4e8e2a8a93 100644 --- a/scripts/lib/build_perf/report.py +++ b/scripts/lib/build_perf/report.py | |||
@@ -1,14 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Copyright (c) 2017, Intel Corporation. | 2 | # Copyright (c) 2017, Intel Corporation. |
3 | # | 3 | # |
4 | # This program is free software; you can redistribute it and/or modify it | 4 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # under the terms and conditions of the GNU General Public License, | ||
6 | # version 2, as published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | # more details. | ||
12 | # | 5 | # |
13 | """Handling of build perf test reports""" | 6 | """Handling of build perf test reports""" |
14 | from collections import OrderedDict, Mapping, namedtuple | 7 | from collections import OrderedDict, Mapping, namedtuple |
diff --git a/scripts/lib/buildstats.py b/scripts/lib/buildstats.py index f7db3eaf92..1adab06edf 100644 --- a/scripts/lib/buildstats.py +++ b/scripts/lib/buildstats.py | |||
@@ -1,14 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Copyright (c) 2017, Intel Corporation. | 2 | # Copyright (c) 2017, Intel Corporation. |
3 | # | 3 | # |
4 | # This program is free software; you can redistribute it and/or modify it | 4 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # under the terms and conditions of the GNU General Public License, | ||
6 | # version 2, as published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | # more details. | ||
12 | # | 5 | # |
13 | """Functionality for analyzing buildstats""" | 6 | """Functionality for analyzing buildstats""" |
14 | import json | 7 | import json |
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py index 670f0eea39..8244cf0720 100644 --- a/scripts/lib/checklayer/__init__.py +++ b/scripts/lib/checklayer/__init__.py | |||
@@ -1,7 +1,9 @@ | |||
1 | # Yocto Project layer check tool | 1 | # Yocto Project layer check tool |
2 | # | 2 | # |
3 | # Copyright (C) 2017 Intel Corporation | 3 | # Copyright (C) 2017 Intel Corporation |
4 | # Released under the MIT license (see COPYING.MIT) | 4 | # |
5 | # SPDX-License-Identifier: MIT | ||
6 | # | ||
5 | 7 | ||
6 | import os | 8 | import os |
7 | import re | 9 | import re |
diff --git a/scripts/lib/checklayer/case.py b/scripts/lib/checklayer/case.py index 9dd00412e5..fa9dee384e 100644 --- a/scripts/lib/checklayer/case.py +++ b/scripts/lib/checklayer/case.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2017 Intel Corporation | 1 | # Copyright (C) 2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | from oeqa.core.case import OETestCase | 6 | from oeqa.core.case import OETestCase |
5 | 7 | ||
diff --git a/scripts/lib/checklayer/cases/bsp.py b/scripts/lib/checklayer/cases/bsp.py index b6b611be73..7fd56f5d36 100644 --- a/scripts/lib/checklayer/cases/bsp.py +++ b/scripts/lib/checklayer/cases/bsp.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2017 Intel Corporation | 1 | # Copyright (C) 2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | import unittest | 6 | import unittest |
5 | 7 | ||
diff --git a/scripts/lib/checklayer/cases/common.py b/scripts/lib/checklayer/cases/common.py index 1bef61b048..8ffe028b39 100644 --- a/scripts/lib/checklayer/cases/common.py +++ b/scripts/lib/checklayer/cases/common.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2017 Intel Corporation | 1 | # Copyright (C) 2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | import glob | 6 | import glob |
5 | import os | 7 | import os |
diff --git a/scripts/lib/checklayer/cases/distro.py b/scripts/lib/checklayer/cases/distro.py index df1b3035eb..f0bee5493c 100644 --- a/scripts/lib/checklayer/cases/distro.py +++ b/scripts/lib/checklayer/cases/distro.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2017 Intel Corporation | 1 | # Copyright (C) 2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | import unittest | 6 | import unittest |
5 | 7 | ||
diff --git a/scripts/lib/checklayer/context.py b/scripts/lib/checklayer/context.py index 1bec2c4103..4de8f668fd 100644 --- a/scripts/lib/checklayer/context.py +++ b/scripts/lib/checklayer/context.py | |||
@@ -1,5 +1,7 @@ | |||
1 | # Copyright (C) 2017 Intel Corporation | 1 | # Copyright (C) 2017 Intel Corporation |
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | 5 | ||
4 | import os | 6 | import os |
5 | import sys | 7 | import sys |
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 8fc7fffcd6..d39c474fbd 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py | |||
@@ -4,18 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2014 Intel Corporation | 5 | # Copyright (C) 2014 Intel Corporation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | 8 | # |
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | """Devtool plugins module""" | 9 | """Devtool plugins module""" |
20 | 10 | ||
21 | import os | 11 | import os |
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py index ba9593f1ad..7543398d96 100644 --- a/scripts/lib/devtool/build.py +++ b/scripts/lib/devtool/build.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2015 Intel Corporation | 3 | # Copyright (C) 2014-2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | """Devtool build plugin""" | 7 | """Devtool build plugin""" |
18 | 8 | ||
19 | import os | 9 | import os |
diff --git a/scripts/lib/devtool/build_image.py b/scripts/lib/devtool/build_image.py index e5810389be..9388abbacf 100644 --- a/scripts/lib/devtool/build_image.py +++ b/scripts/lib/devtool/build_image.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015 Intel Corporation | 3 | # Copyright (C) 2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | """Devtool plugin containing the build-image subcommand.""" | 8 | """Devtool plugin containing the build-image subcommand.""" |
19 | 9 | ||
diff --git a/scripts/lib/devtool/build_sdk.py b/scripts/lib/devtool/build_sdk.py index b89d65b0cb..6fe02fff2a 100644 --- a/scripts/lib/devtool/build_sdk.py +++ b/scripts/lib/devtool/build_sdk.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015-2016 Intel Corporation | 3 | # Copyright (C) 2015-2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import os | 8 | import os |
19 | import subprocess | 9 | import subprocess |
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index f345f31b7b..d1ce2309f9 100644 --- a/scripts/lib/devtool/deploy.py +++ b/scripts/lib/devtool/deploy.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2016 Intel Corporation | 3 | # Copyright (C) 2014-2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | """Devtool plugin containing the deploy subcommands""" | 7 | """Devtool plugin containing the deploy subcommands""" |
18 | 8 | ||
19 | import logging | 9 | import logging |
diff --git a/scripts/lib/devtool/export.py b/scripts/lib/devtool/export.py index 35349e2cda..01174edae5 100644 --- a/scripts/lib/devtool/export.py +++ b/scripts/lib/devtool/export.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2017 Intel Corporation | 3 | # Copyright (C) 2014-2017 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | """Devtool export plugin""" | 7 | """Devtool export plugin""" |
18 | 8 | ||
19 | import os | 9 | import os |
diff --git a/scripts/lib/devtool/import.py b/scripts/lib/devtool/import.py index 4264b7d820..6829851669 100644 --- a/scripts/lib/devtool/import.py +++ b/scripts/lib/devtool/import.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2017 Intel Corporation | 3 | # Copyright (C) 2014-2017 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | """Devtool import plugin""" | 7 | """Devtool import plugin""" |
18 | 8 | ||
19 | import os | 9 | import os |
diff --git a/scripts/lib/devtool/package.py b/scripts/lib/devtool/package.py index af9e8f15f5..c2367342c3 100644 --- a/scripts/lib/devtool/package.py +++ b/scripts/lib/devtool/package.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2015 Intel Corporation | 3 | # Copyright (C) 2014-2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | """Devtool plugin containing the package subcommands""" | 7 | """Devtool plugin containing the package subcommands""" |
18 | 8 | ||
19 | import os | 9 | import os |
diff --git a/scripts/lib/devtool/runqemu.py b/scripts/lib/devtool/runqemu.py index e26cf28c2f..ead978aabc 100644 --- a/scripts/lib/devtool/runqemu.py +++ b/scripts/lib/devtool/runqemu.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015 Intel Corporation | 3 | # Copyright (C) 2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | """Devtool runqemu plugin""" | 8 | """Devtool runqemu plugin""" |
19 | 9 | ||
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py index 4616753797..3aa42a1466 100644 --- a/scripts/lib/devtool/sdk.py +++ b/scripts/lib/devtool/sdk.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015-2016 Intel Corporation | 3 | # Copyright (C) 2015-2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import os | 8 | import os |
19 | import subprocess | 9 | import subprocess |
diff --git a/scripts/lib/devtool/search.py b/scripts/lib/devtool/search.py index b4f209b7e3..d24040df37 100644 --- a/scripts/lib/devtool/search.py +++ b/scripts/lib/devtool/search.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015 Intel Corporation | 3 | # Copyright (C) 2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | """Devtool search plugin""" | 8 | """Devtool search plugin""" |
19 | 9 | ||
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 0a1e329e61..aca74b1fc6 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2017 Intel Corporation | 3 | # Copyright (C) 2014-2017 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | """Devtool standard plugins""" | 7 | """Devtool standard plugins""" |
18 | 8 | ||
19 | import os | 9 | import os |
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 75e765e019..62ec2f94cb 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
@@ -2,18 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2017 Intel Corporation | 3 | # Copyright (C) 2014-2017 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | # | 6 | # |
18 | """Devtool upgrade plugin""" | 7 | """Devtool upgrade plugin""" |
19 | 8 | ||
diff --git a/scripts/lib/devtool/utilcmds.py b/scripts/lib/devtool/utilcmds.py index 7cd139fb8b..964817766b 100644 --- a/scripts/lib/devtool/utilcmds.py +++ b/scripts/lib/devtool/utilcmds.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015-2016 Intel Corporation | 3 | # Copyright (C) 2015-2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | """Devtool utility plugins""" | 8 | """Devtool utility plugins""" |
19 | 9 | ||
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py index 3f2c134ad5..e9d52bb67b 100644 --- a/scripts/lib/recipetool/append.py +++ b/scripts/lib/recipetool/append.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015 Intel Corporation | 3 | # Copyright (C) 2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import sys | 8 | import sys |
19 | import os | 9 | import os |
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index dbd74a1ca3..98277f74c9 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2017 Intel Corporation | 3 | # Copyright (C) 2014-2017 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import sys | 8 | import sys |
19 | import os | 9 | import os |
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py index 4743c740cf..3cb02766c8 100644 --- a/scripts/lib/recipetool/create_buildsys.py +++ b/scripts/lib/recipetool/create_buildsys.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014-2016 Intel Corporation | 3 | # Copyright (C) 2014-2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import re | 8 | import re |
19 | import logging | 9 | import logging |
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py index 5bd2aa337c..1a38bd0b14 100644 --- a/scripts/lib/recipetool/create_buildsys_python.py +++ b/scripts/lib/recipetool/create_buildsys_python.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015 Mentor Graphics Corporation | 3 | # Copyright (C) 2015 Mentor Graphics Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import ast | 8 | import ast |
19 | import codecs | 9 | import codecs |
diff --git a/scripts/lib/recipetool/create_kernel.py b/scripts/lib/recipetool/create_kernel.py index ca4996c7ac..5740589a68 100644 --- a/scripts/lib/recipetool/create_kernel.py +++ b/scripts/lib/recipetool/create_kernel.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import re | 8 | import re |
19 | import logging | 9 | import logging |
diff --git a/scripts/lib/recipetool/create_kmod.py b/scripts/lib/recipetool/create_kmod.py index 3982537a4e..85b5c48e53 100644 --- a/scripts/lib/recipetool/create_kmod.py +++ b/scripts/lib/recipetool/create_kmod.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import re | 8 | import re |
19 | import logging | 9 | import logging |
diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index 0b09ed0b04..39429ebad3 100644 --- a/scripts/lib/recipetool/create_npm.py +++ b/scripts/lib/recipetool/create_npm.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2016 Intel Corporation | 3 | # Copyright (C) 2016 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import os | 8 | import os |
19 | import sys | 9 | import sys |
diff --git a/scripts/lib/recipetool/edit.py b/scripts/lib/recipetool/edit.py index c4789a9994..94bdf7bca4 100644 --- a/scripts/lib/recipetool/edit.py +++ b/scripts/lib/recipetool/edit.py | |||
@@ -6,18 +6,8 @@ | |||
6 | # | 6 | # |
7 | # Copyright (C) 2018 Mentor Graphics Corporation | 7 | # Copyright (C) 2018 Mentor Graphics Corporation |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | 10 | # |
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | 11 | ||
22 | import argparse | 12 | import argparse |
23 | import errno | 13 | import errno |
diff --git a/scripts/lib/recipetool/newappend.py b/scripts/lib/recipetool/newappend.py index 76707b4c91..08e2474dc4 100644 --- a/scripts/lib/recipetool/newappend.py +++ b/scripts/lib/recipetool/newappend.py | |||
@@ -7,18 +7,8 @@ | |||
7 | # | 7 | # |
8 | # Copyright (C) 2015 Christopher Larson <kergoth@gmail.com> | 8 | # Copyright (C) 2015 Christopher Larson <kergoth@gmail.com> |
9 | # | 9 | # |
10 | # This program is free software; you can redistribute it and/or modify | 10 | # SPDX-License-Identifier: GPL-2.0-only |
11 | # it under the terms of the GNU General Public License version 2 as | ||
12 | # published by the Free Software Foundation. | ||
13 | # | 11 | # |
14 | # This program is distributed in the hope that it will be useful, | ||
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | # GNU General Public License for more details. | ||
18 | # | ||
19 | # You should have received a copy of the GNU General Public License along | ||
20 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
21 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
22 | 12 | ||
23 | import argparse | 13 | import argparse |
24 | import errno | 14 | import errno |
diff --git a/scripts/lib/recipetool/setvar.py b/scripts/lib/recipetool/setvar.py index 9de315a0ef..f8e2ee75fb 100644 --- a/scripts/lib/recipetool/setvar.py +++ b/scripts/lib/recipetool/setvar.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2015 Intel Corporation | 3 | # Copyright (C) 2015 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import sys | 8 | import sys |
19 | import os | 9 | import os |
diff --git a/scripts/lib/resulttool/log.py b/scripts/lib/resulttool/log.py index 49816357cd..25c3396717 100644 --- a/scripts/lib/resulttool/log.py +++ b/scripts/lib/resulttool/log.py | |||
@@ -2,14 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2019 Garmin International | 3 | # Copyright (c) 2019 Garmin International |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify it | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # under the terms and conditions of the GNU General Public License, | ||
7 | # version 2, as published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
12 | # more details. | ||
13 | # | 6 | # |
14 | import os | 7 | import os |
15 | import resulttool.resultutils as resultutils | 8 | import resulttool.resultutils as resultutils |
diff --git a/scripts/lib/resulttool/manualexecution.py b/scripts/lib/resulttool/manualexecution.py index dc368f36fc..df28e1d21e 100755 --- a/scripts/lib/resulttool/manualexecution.py +++ b/scripts/lib/resulttool/manualexecution.py | |||
@@ -2,15 +2,9 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2018, Intel Corporation. | 3 | # Copyright (c) 2018, Intel Corporation. |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify it | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # under the terms and conditions of the GNU General Public License, | ||
7 | # version 2, as published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
12 | # more details. | ||
13 | # | 6 | # |
7 | |||
14 | import argparse | 8 | import argparse |
15 | import json | 9 | import json |
16 | import os | 10 | import os |
diff --git a/scripts/lib/resulttool/merge.py b/scripts/lib/resulttool/merge.py index 7159463f6e..70d23a48fd 100644 --- a/scripts/lib/resulttool/merge.py +++ b/scripts/lib/resulttool/merge.py | |||
@@ -3,15 +3,9 @@ | |||
3 | # Copyright (c) 2019, Intel Corporation. | 3 | # Copyright (c) 2019, Intel Corporation. |
4 | # Copyright (c) 2019, Linux Foundation | 4 | # Copyright (c) 2019, Linux Foundation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify it | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # under the terms and conditions of the GNU General Public License, | ||
8 | # version 2, as published by the Free Software Foundation. | ||
9 | # | ||
10 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | # more details. | ||
14 | # | 7 | # |
8 | |||
15 | import os | 9 | import os |
16 | import json | 10 | import json |
17 | import resulttool.resultutils as resultutils | 11 | import resulttool.resultutils as resultutils |
diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py index fa90ab1e52..9f952951b3 100644 --- a/scripts/lib/resulttool/regression.py +++ b/scripts/lib/resulttool/regression.py | |||
@@ -3,15 +3,9 @@ | |||
3 | # Copyright (c) 2019, Intel Corporation. | 3 | # Copyright (c) 2019, Intel Corporation. |
4 | # Copyright (c) 2019, Linux Foundation | 4 | # Copyright (c) 2019, Linux Foundation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify it | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # under the terms and conditions of the GNU General Public License, | ||
8 | # version 2, as published by the Free Software Foundation. | ||
9 | # | ||
10 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | # more details. | ||
14 | # | 7 | # |
8 | |||
15 | import resulttool.resultutils as resultutils | 9 | import resulttool.resultutils as resultutils |
16 | import json | 10 | import json |
17 | 11 | ||
diff --git a/scripts/lib/resulttool/report.py b/scripts/lib/resulttool/report.py index b9a8903f4c..cb6b1cf948 100644 --- a/scripts/lib/resulttool/report.py +++ b/scripts/lib/resulttool/report.py | |||
@@ -3,15 +3,9 @@ | |||
3 | # Copyright (c) 2019, Intel Corporation. | 3 | # Copyright (c) 2019, Intel Corporation. |
4 | # Copyright (c) 2019, Linux Foundation | 4 | # Copyright (c) 2019, Linux Foundation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify it | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # under the terms and conditions of the GNU General Public License, | ||
8 | # version 2, as published by the Free Software Foundation. | ||
9 | # | ||
10 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | # more details. | ||
14 | # | 7 | # |
8 | |||
15 | import os | 9 | import os |
16 | import glob | 10 | import glob |
17 | import json | 11 | import json |
diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py index 07dab4cbd3..ea4ab42d9a 100644 --- a/scripts/lib/resulttool/resultutils.py +++ b/scripts/lib/resulttool/resultutils.py | |||
@@ -3,15 +3,9 @@ | |||
3 | # Copyright (c) 2019, Intel Corporation. | 3 | # Copyright (c) 2019, Intel Corporation. |
4 | # Copyright (c) 2019, Linux Foundation | 4 | # Copyright (c) 2019, Linux Foundation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify it | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # under the terms and conditions of the GNU General Public License, | ||
8 | # version 2, as published by the Free Software Foundation. | ||
9 | # | ||
10 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | # more details. | ||
14 | # | 7 | # |
8 | |||
15 | import os | 9 | import os |
16 | import json | 10 | import json |
17 | import scriptpath | 11 | import scriptpath |
diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index acdfbd94fd..06505aecc0 100644 --- a/scripts/lib/resulttool/store.py +++ b/scripts/lib/resulttool/store.py | |||
@@ -3,15 +3,9 @@ | |||
3 | # Copyright (c) 2019, Intel Corporation. | 3 | # Copyright (c) 2019, Intel Corporation. |
4 | # Copyright (c) 2019, Linux Foundation | 4 | # Copyright (c) 2019, Linux Foundation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify it | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # under the terms and conditions of the GNU General Public License, | ||
8 | # version 2, as published by the Free Software Foundation. | ||
9 | # | ||
10 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | # more details. | ||
14 | # | 7 | # |
8 | |||
15 | import tempfile | 9 | import tempfile |
16 | import os | 10 | import os |
17 | import subprocess | 11 | import subprocess |
diff --git a/scripts/lib/scriptpath.py b/scripts/lib/scriptpath.py index d00317e18d..f32326db3a 100644 --- a/scripts/lib/scriptpath.py +++ b/scripts/lib/scriptpath.py | |||
@@ -3,18 +3,8 @@ | |||
3 | # Copyright (C) 2012-2014 Intel Corporation | 3 | # Copyright (C) 2012-2014 Intel Corporation |
4 | # Copyright (C) 2011 Mentor Graphics Corporation | 4 | # Copyright (C) 2011 Mentor Graphics Corporation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # it under the terms of the GNU General Public License version 2 as | ||
8 | # published by the Free Software Foundation. | ||
9 | # | 7 | # |
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | # GNU General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License along | ||
16 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
17 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
18 | 8 | ||
19 | import sys | 9 | import sys |
20 | import os | 10 | import os |
diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py index 0633c7066e..e7e7021c24 100644 --- a/scripts/lib/scriptutils.py +++ b/scripts/lib/scriptutils.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2014 Intel Corporation | 3 | # Copyright (C) 2014 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | import argparse | 8 | import argparse |
19 | import glob | 9 | import glob |
diff --git a/scripts/lib/wic/__init__.py b/scripts/lib/wic/__init__.py index 85876b138c..ba2d614061 100644 --- a/scripts/lib/wic/__init__.py +++ b/scripts/lib/wic/__init__.py | |||
@@ -3,18 +3,8 @@ | |||
3 | # Copyright (c) 2007 Red Hat, Inc. | 3 | # Copyright (c) 2007 Red Hat, Inc. |
4 | # Copyright (c) 2011 Intel, Inc. | 4 | # Copyright (c) 2011 Intel, Inc. |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify it | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # under the terms of the GNU General Public License as published by the Free | ||
8 | # Software Foundation; version 2 of the License | ||
9 | # | 7 | # |
10 | # This program is distributed in the hope that it will be useful, but | ||
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
12 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
13 | # for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License along | ||
16 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | ||
17 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
18 | 8 | ||
19 | class WicError(Exception): | 9 | class WicError(Exception): |
20 | pass | 10 | pass |
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py index ab33fa6042..42e93c3eb8 100644 --- a/scripts/lib/wic/engine.py +++ b/scripts/lib/wic/engine.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2013, Intel Corporation. | 2 | # Copyright (c) 2013, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | 7 | ||
diff --git a/scripts/lib/wic/filemap.py b/scripts/lib/wic/filemap.py index abbf958b8c..244c07a71c 100644 --- a/scripts/lib/wic/filemap.py +++ b/scripts/lib/wic/filemap.py | |||
@@ -1,13 +1,8 @@ | |||
1 | # | ||
1 | # Copyright (c) 2012 Intel, Inc. | 2 | # Copyright (c) 2012 Intel, Inc. |
2 | # | 3 | # |
3 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
4 | # it under the terms of the GNU General Public License, version 2, | ||
5 | # as published by the Free Software Foundation. | ||
6 | # | 5 | # |
7 | # This program is distributed in the hope that it will be useful, but | ||
8 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
10 | # General Public License for more details. | ||
11 | 6 | ||
12 | """ | 7 | """ |
13 | This module implements python implements a way to get file block. Two methods | 8 | This module implements python implements a way to get file block. Two methods |
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index 64f08052c7..3a40fc0ea2 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py | |||
@@ -1,21 +1,6 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | ||
4 | # Copyright (c) 2013, Intel Corporation. | 1 | # Copyright (c) 2013, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | ||
7 | # This program is free software; you can redistribute it and/or modify | ||
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | 2 | # |
16 | # You should have received a copy of the GNU General Public License along | 3 | # SPDX-License-Identifier: GPL-2.0-only |
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 4 | # |
20 | # DESCRIPTION | 5 | # DESCRIPTION |
21 | # This module implements some basic help invocation functions along | 6 | # This module implements some basic help invocation functions along |
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index 08baf76123..62048213b3 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/usr/bin/env python -tt | 1 | #!/usr/bin/env python -tt |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | 2 | # |
5 | # Copyright (c) 2016 Intel, Inc. | 3 | # Copyright (c) 2016 Intel, Inc. |
6 | # | 4 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 5 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms of the GNU General Public License as published by the Free | ||
9 | # Software Foundation; version 2 of the License | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, but | ||
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
13 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
14 | # for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | ||
18 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 6 | # |
20 | # DESCRIPTION | 7 | # DESCRIPTION |
21 | # This module provides parser for kickstart format | 8 | # This module provides parser for kickstart format |
diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py index ee888b478c..1f199b9f23 100644 --- a/scripts/lib/wic/misc.py +++ b/scripts/lib/wic/misc.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2013, Intel Corporation. | 2 | # Copyright (c) 2013, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | # This module provides a place to collect various wic-related utils | 7 | # This module provides a place to collect various wic-related utils |
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index df31c17c40..01466b258d 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2013-2016 Intel Corporation. | 2 | # Copyright (c) 2013-2016 Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | # This module provides the OpenEmbedded partition object definitions. | 7 | # This module provides the OpenEmbedded partition object definitions. |
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index 686d2fee3b..bfb73ca615 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2011 Intel, Inc. | 3 | # Copyright (c) 2011 Intel, Inc. |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify it | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # under the terms of the GNU General Public License as published by the Free | ||
7 | # Software Foundation; version 2 of the License | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, but | ||
10 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
11 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
12 | # for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | ||
16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
17 | 7 | ||
18 | __all__ = ['ImagerPlugin', 'SourcePlugin'] | 8 | __all__ = ['ImagerPlugin', 'SourcePlugin'] |
19 | 9 | ||
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index bb14a334b2..67addeff3e 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2013, Intel Corporation. | 2 | # Copyright (c) 2013, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | # This implements the 'direct' imager plugin class for 'wic' | 7 | # This implements the 'direct' imager plugin class for 'wic' |
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index 83a7e189ed..3540b08440 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2014, Intel Corporation. | 2 | # Copyright (c) 2014, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | # This implements the 'bootimg-efi' source plugin class for 'wic' | 7 | # This implements the 'bootimg-efi' source plugin class for 'wic' |
diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg-partition.py index ddc880be36..138986a71e 100644 --- a/scripts/lib/wic/plugins/source/bootimg-partition.py +++ b/scripts/lib/wic/plugins/source/bootimg-partition.py | |||
@@ -1,18 +1,5 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # This program is free software; you can redistribute it and/or modify | 2 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # it under the terms of the GNU General Public License version 2 as | ||
6 | # published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope that it will be useful, | ||
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | # GNU General Public License for more details. | ||
12 | # | ||
13 | # You should have received a copy of the GNU General Public License along | ||
14 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
15 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
16 | # | 3 | # |
17 | # DESCRIPTION | 4 | # DESCRIPTION |
18 | # This implements the 'bootimg-partition' source plugin class for | 5 | # This implements the 'bootimg-partition' source plugin class for |
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 9347aa7fcb..6c9f54a897 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2014, Intel Corporation. | 2 | # Copyright (c) 2014, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | # This implements the 'bootimg-pcbios' source plugin class for 'wic' | 7 | # This implements the 'bootimg-pcbios' source plugin class for 'wic' |
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index 170077c22c..96d07ff629 100644 --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |||
@@ -1,18 +1,5 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | |||
4 | # This program is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License version 2 as | ||
6 | # published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope that it will be useful, | ||
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | # GNU General Public License for more details. | ||
12 | # | 1 | # |
13 | # You should have received a copy of the GNU General Public License along | 2 | # SPDX-License-Identifier: GPL-2.0-only |
14 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
15 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
16 | # | 3 | # |
17 | # DESCRIPTION | 4 | # DESCRIPTION |
18 | # This implements the 'isoimage-isohybrid' source plugin class for 'wic' | 5 | # This implements the 'isoimage-isohybrid' source plugin class for 'wic' |
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index e86398ac8f..df86d6729c 100644 --- a/scripts/lib/wic/plugins/source/rawcopy.py +++ b/scripts/lib/wic/plugins/source/rawcopy.py | |||
@@ -1,18 +1,5 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # This program is free software; you can redistribute it and/or modify | 2 | # SPDX-License-Identifier: GPL-2.0-only |
5 | # it under the terms of the GNU General Public License version 2 as | ||
6 | # published by the Free Software Foundation. | ||
7 | # | ||
8 | # This program is distributed in the hope that it will be useful, | ||
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | # GNU General Public License for more details. | ||
12 | # | ||
13 | # You should have received a copy of the GNU General Public License along | ||
14 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
15 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
16 | # | 3 | # |
17 | 4 | ||
18 | import logging | 5 | import logging |
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py index aec720fb22..e26e95b991 100644 --- a/scripts/lib/wic/plugins/source/rootfs.py +++ b/scripts/lib/wic/plugins/source/rootfs.py | |||
@@ -1,21 +1,7 @@ | |||
1 | # ex:ts=4:sw=4:sts=4:et | ||
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
3 | # | 1 | # |
4 | # Copyright (c) 2014, Intel Corporation. | 2 | # Copyright (c) 2014, Intel Corporation. |
5 | # All rights reserved. | ||
6 | # | 3 | # |
7 | # This program is free software; you can redistribute it and/or modify | 4 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | # | 5 | # |
20 | # DESCRIPTION | 6 | # DESCRIPTION |
21 | # This implements the 'rootfs' source plugin class for 'wic' | 7 | # This implements the 'rootfs' source plugin class for 'wic' |
diff --git a/scripts/lnr b/scripts/lnr index 5fed780eb2..a2ac4fec0f 100755 --- a/scripts/lnr +++ b/scripts/lnr | |||
@@ -1,4 +1,7 @@ | |||
1 | #! /usr/bin/env python3 | 1 | #! /usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | # Create a *relative* symlink, just like ln --relative does but without needing | 6 | # Create a *relative* symlink, just like ln --relative does but without needing |
4 | # coreutils 8.16. | 7 | # coreutils 8.16. |
diff --git a/scripts/multilib_header_wrapper.h b/scripts/multilib_header_wrapper.h index 4824790783..c81e7ee5e8 100644 --- a/scripts/multilib_header_wrapper.h +++ b/scripts/multilib_header_wrapper.h | |||
@@ -1,23 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2005-2011 by Wind River Systems, Inc. | 2 | * Copyright (C) 2005-2011 by Wind River Systems, Inc. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy | 4 | * SPDX-License-Identifier: MIT |
5 | * of this software and associated documentation files (the "Software"), to deal | ||
6 | * in the Software without restriction, including without limitation the rights | ||
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
8 | * copies of the Software, and to permit persons to whom the Software is | ||
9 | * furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
20 | * THE SOFTWARE. | ||
21 | * | 5 | * |
22 | */ | 6 | */ |
23 | 7 | ||
diff --git a/scripts/native-intercept/chown b/scripts/native-intercept/chown index 4f43271c2b..399c979f9a 100755 --- a/scripts/native-intercept/chown +++ b/scripts/native-intercept/chown | |||
@@ -1,2 +1,5 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | echo "Intercept $0: $@ -- do nothing" | 5 | echo "Intercept $0: $@ -- do nothing" |
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index f6fb458c2e..21bde7e156 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-report | |||
@@ -4,15 +4,9 @@ | |||
4 | # | 4 | # |
5 | # Copyright (c) 2017, Intel Corporation. | 5 | # Copyright (c) 2017, Intel Corporation. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | 8 | # |
9 | |||
16 | import argparse | 10 | import argparse |
17 | import json | 11 | import json |
18 | import logging | 12 | import logging |
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test index 669470fa97..0b13f24888 100755 --- a/scripts/oe-build-perf-test +++ b/scripts/oe-build-perf-test | |||
@@ -4,16 +4,9 @@ | |||
4 | # | 4 | # |
5 | # Copyright (c) 2016, Intel Corporation. | 5 | # Copyright (c) 2016, Intel Corporation. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | 8 | # |
11 | # This program is distributed in the hope it will be useful, but WITHOUT | 9 | |
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | ||
16 | """Build performance test script""" | ||
17 | import argparse | 10 | import argparse |
18 | import errno | 11 | import errno |
19 | import fcntl | 12 | import fcntl |
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index 52ce32987c..96bb0c3dc9 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal | |||
@@ -4,19 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2006-2011 Linux Foundation | 5 | # Copyright (C) 2006-2011 Linux Foundation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-or-later |
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | 8 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | 9 | ||
21 | if ! $(return >/dev/null 2>&1) ; then | 10 | if ! $(return >/dev/null 2>&1) ; then |
22 | echo 'oe-buildenv-internal: error: this script must be sourced' | 11 | echo 'oe-buildenv-internal: error: this script must be sourced' |
diff --git a/scripts/oe-check-sstate b/scripts/oe-check-sstate index d06efe436a..ca249ca67b 100755 --- a/scripts/oe-check-sstate +++ b/scripts/oe-check-sstate | |||
@@ -5,18 +5,8 @@ | |||
5 | # Copyright 2016 Intel Corporation | 5 | # Copyright 2016 Intel Corporation |
6 | # Authored-by: Paul Eggleton <paul.eggleton@intel.com> | 6 | # Authored-by: Paul Eggleton <paul.eggleton@intel.com> |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or modify | 8 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | 9 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | 10 | ||
21 | import sys | 11 | import sys |
22 | import os | 12 | import os |
diff --git a/scripts/oe-depends-dot b/scripts/oe-depends-dot index 6c7e9d3383..5eb3e12769 100755 --- a/scripts/oe-depends-dot +++ b/scripts/oe-depends-dot | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 2018 Wind River Systems, Inc. | 3 | # Copyright (C) 2018 Wind River Systems, Inc. |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
12 | # See the GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with this program; if not, write to the Free Software | ||
16 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | 7 | ||
18 | import os | 8 | import os |
19 | import sys | 9 | import sys |
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index cc146b3fdb..5146bbf999 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot | |||
@@ -17,18 +17,8 @@ | |||
17 | # | 17 | # |
18 | # Copyright (c) 2010 Linux Foundation | 18 | # Copyright (c) 2010 Linux Foundation |
19 | # | 19 | # |
20 | # This program is free software; you can redistribute it and/or modify | 20 | # SPDX-License-Identifier: GPL-2.0-only |
21 | # it under the terms of the GNU General Public License version 2 as | ||
22 | # published by the Free Software Foundation. | ||
23 | # | 21 | # |
24 | # This program is distributed in the hope that it will be useful, | ||
25 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
26 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
27 | # GNU General Public License for more details. | ||
28 | # | ||
29 | # You should have received a copy of the GNU General Public License along | ||
30 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
31 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
32 | 22 | ||
33 | if [ "$1" = '--help' -o "$1" = '-h' -o $# -ne 1 ] ; then | 23 | if [ "$1" = '--help' -o "$1" = '-h' -o $# -ne 1 ] ; then |
34 | echo 'Usage: oe-find-native-sysroot <recipe> [-h|--help]' | 24 | echo 'Usage: oe-find-native-sysroot <recipe> [-h|--help]' |
diff --git a/scripts/oe-git-archive b/scripts/oe-git-archive index ab1c2b9ad4..9305ed0b0f 100755 --- a/scripts/oe-git-archive +++ b/scripts/oe-git-archive | |||
@@ -4,15 +4,9 @@ | |||
4 | # | 4 | # |
5 | # Copyright (c) 2017, Intel Corporation. | 5 | # Copyright (c) 2017, Intel Corporation. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify it | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # under the terms and conditions of the GNU General Public License, | ||
9 | # version 2, as published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | # more details. | ||
15 | # | 8 | # |
9 | |||
16 | import argparse | 10 | import argparse |
17 | import logging | 11 | import logging |
18 | import os | 12 | import os |
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 1800942f36..bb2ed2a46e 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy | |||
@@ -13,7 +13,8 @@ | |||
13 | # ALL_PROXY=https://proxy.example.com:8080 | 13 | # ALL_PROXY=https://proxy.example.com:8080 |
14 | # | 14 | # |
15 | # Copyright (c) 2013, Intel Corporation. | 15 | # Copyright (c) 2013, Intel Corporation. |
16 | # All rights reserved. | 16 | # |
17 | # SPDX-License-Identifier: GPL-2.0-only | ||
17 | # | 18 | # |
18 | # AUTHORS | 19 | # AUTHORS |
19 | # Darren Hart <dvhart@linux.intel.com> | 20 | # Darren Hart <dvhart@linux.intel.com> |
diff --git a/scripts/oe-gnome-terminal-phonehome b/scripts/oe-gnome-terminal-phonehome index e02354883a..b6b9a3867b 100755 --- a/scripts/oe-gnome-terminal-phonehome +++ b/scripts/oe-gnome-terminal-phonehome | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Gnome terminal won't tell us which PID a given command is run as | 5 | # Gnome terminal won't tell us which PID a given command is run as |
4 | # or allow a single instance so we can't tell when it completes. | 6 | # or allow a single instance so we can't tell when it completes. |
5 | # This allows us to figure out the PID of the target so we can tell | 7 | # This allows us to figure out the PID of the target so we can tell |
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index 53739b0bfc..9cc78d1104 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util | |||
@@ -6,18 +6,7 @@ | |||
6 | # | 6 | # |
7 | # Copyright 2012-2015 Intel Corporation | 7 | # Copyright 2012-2015 Intel Corporation |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | 10 | # |
22 | 11 | ||
23 | import sys | 12 | import sys |
diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk index ee33acf902..4b70f436b1 100755 --- a/scripts/oe-publish-sdk +++ b/scripts/oe-publish-sdk | |||
@@ -1,21 +1,11 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | # | |
3 | # OpenEmbedded SDK publishing tool | 3 | # OpenEmbedded SDK publishing tool |
4 | |||
5 | # Copyright (C) 2015-2016 Intel Corporation | ||
6 | # | 4 | # |
7 | # This program is free software; you can redistribute it and/or modify | 5 | # Copyright (C) 2015-2016 Intel Corporation |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | 6 | # |
11 | # This program is distributed in the hope that it will be useful, | 7 | # SPDX-License-Identifier: GPL-2.0-only |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | 8 | # |
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | 9 | ||
20 | import sys | 10 | import sys |
21 | import os | 11 | import os |
diff --git a/scripts/oe-pylint b/scripts/oe-pylint index 74ff4b884d..7cc1ccb010 100755 --- a/scripts/oe-pylint +++ b/scripts/oe-pylint | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Run the pylint3 against our common python module spaces and print a report of potential issues | 5 | # Run the pylint3 against our common python module spaces and print a report of potential issues |
4 | # | 6 | # |
5 | this_dir=$(dirname $(readlink -f $0)) | 7 | this_dir=$(dirname $(readlink -f $0)) |
diff --git a/scripts/oe-run-native b/scripts/oe-run-native index a29e99438a..bea5d696d7 100755 --- a/scripts/oe-run-native +++ b/scripts/oe-run-native | |||
@@ -1,20 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Copyright (c) 2016, Intel Corporation. | 3 | # Copyright (c) 2016, Intel Corporation. |
4 | # All Rights Reserved | ||
5 | # | 4 | # |
6 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | ||
14 | # the GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, see <http://www.gnu.org/licenses/> | ||
18 | # | 6 | # |
19 | 7 | ||
20 | # | 8 | # |
diff --git a/scripts/oe-selftest b/scripts/oe-selftest index 1bf860a415..57662b2f75 100755 --- a/scripts/oe-selftest +++ b/scripts/oe-selftest | |||
@@ -2,18 +2,8 @@ | |||
2 | 2 | ||
3 | # Copyright (c) 2013-2017 Intel Corporation | 3 | # Copyright (c) 2013-2017 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | # DESCRIPTION | 8 | # DESCRIPTION |
19 | # This script runs tests defined in meta/lib/oeqa/selftest/ | 9 | # This script runs tests defined in meta/lib/oeqa/selftest/ |
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 55d73ca1e4..30eaa8efbe 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -4,19 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2006-2011 Linux Foundation | 5 | # Copyright (C) 2006-2011 Linux Foundation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-or-later |
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | 8 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | 9 | ||
21 | if [ -z "$BUILDDIR" ]; then | 10 | if [ -z "$BUILDDIR" ]; then |
22 | echo >&2 "Error: The build directory (BUILDDIR) must be set!" | 11 | echo >&2 "Error: The build directory (BUILDDIR) must be set!" |
diff --git a/scripts/oe-test b/scripts/oe-test index 34d9012d14..55985b0b24 100755 --- a/scripts/oe-test +++ b/scripts/oe-test | |||
@@ -3,7 +3,9 @@ | |||
3 | # OpenEmbedded test tool | 3 | # OpenEmbedded test tool |
4 | # | 4 | # |
5 | # Copyright (C) 2016 Intel Corporation | 5 | # Copyright (C) 2016 Intel Corporation |
6 | # Released under the MIT license (see COPYING.MIT) | 6 | # |
7 | # SPDX-License-Identifier: MIT | ||
8 | # | ||
7 | 9 | ||
8 | import os | 10 | import os |
9 | import sys | 11 | import sys |
diff --git a/scripts/oe-trim-schemas b/scripts/oe-trim-schemas index 7c199ef1df..bf77c8cf64 100755 --- a/scripts/oe-trim-schemas +++ b/scripts/oe-trim-schemas | |||
@@ -1,4 +1,7 @@ | |||
1 | #! /usr/bin/env python3 | 1 | #! /usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | import sys | 6 | import sys |
4 | try: | 7 | try: |
diff --git a/scripts/oepydevshell-internal.py b/scripts/oepydevshell-internal.py index 2f7d5d433e..96c078ef3d 100755 --- a/scripts/oepydevshell-internal.py +++ b/scripts/oepydevshell-internal.py | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | import os | 6 | import os |
4 | import sys | 7 | import sys |
diff --git a/scripts/opkg-query-helper.py b/scripts/opkg-query-helper.py index ce89491f60..bc3ab43823 100755 --- a/scripts/opkg-query-helper.py +++ b/scripts/opkg-query-helper.py | |||
@@ -6,21 +6,8 @@ | |||
6 | # | 6 | # |
7 | # Copyright 2012 Intel Corporation | 7 | # Copyright 2012 Intel Corporation |
8 | # | 8 | # |
9 | # This program is free software; you can redistribute it and/or modify | 9 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # it under the terms of the GNU General Public License version 2 as | ||
11 | # published by the Free Software Foundation. | ||
12 | # | 10 | # |
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License along | ||
19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
21 | # | ||
22 | # | ||
23 | |||
24 | 11 | ||
25 | import sys | 12 | import sys |
26 | import fileinput | 13 | import fileinput |
diff --git a/scripts/postinst-intercepts/delay_to_first_boot b/scripts/postinst-intercepts/delay_to_first_boot index ecdbef95dd..fa8e1caaf5 100644 --- a/scripts/postinst-intercepts/delay_to_first_boot +++ b/scripts/postinst-intercepts/delay_to_first_boot | |||
@@ -1,2 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
5 | |||
2 | exit 1 | 6 | exit 1 |
diff --git a/scripts/postinst-intercepts/postinst_intercept b/scripts/postinst-intercepts/postinst_intercept index b18e806d43..b91974c885 100755 --- a/scripts/postinst-intercepts/postinst_intercept +++ b/scripts/postinst-intercepts/postinst_intercept | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | # This script is called from inside postinstall scriptlets at do_rootfs time. It | 5 | # This script is called from inside postinstall scriptlets at do_rootfs time. It |
4 | # actually adds, at the end, the list of packages for which the intercept script | 6 | # actually adds, at the end, the list of packages for which the intercept script |
5 | # is valid. Also, if one wants to pass any variables to the intercept script from | 7 | # is valid. Also, if one wants to pass any variables to the intercept script from |
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index e0ec471964..3053c7065f 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_gio_module_cache b/scripts/postinst-intercepts/update_gio_module_cache index d1f0140947..c87fa85db9 100644 --- a/scripts/postinst-intercepts/update_gio_module_cache +++ b/scripts/postinst-intercepts/update_gio_module_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_gtk_immodules_cache b/scripts/postinst-intercepts/update_gtk_immodules_cache index 395516971e..9f07ccca6b 100644 --- a/scripts/postinst-intercepts/update_gtk_immodules_cache +++ b/scripts/postinst-intercepts/update_gtk_immodules_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_icon_cache index 9cf2a72a0c..212209a9da 100644 --- a/scripts/postinst-intercepts/update_icon_cache +++ b/scripts/postinst-intercepts/update_icon_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_pixbuf_cache b/scripts/postinst-intercepts/update_pixbuf_cache index ebea07c356..ea12814474 100644 --- a/scripts/postinst-intercepts/update_pixbuf_cache +++ b/scripts/postinst-intercepts/update_pixbuf_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_udev_hwdb b/scripts/postinst-intercepts/update_udev_hwdb index b5cce0a09d..c4fb2bffcb 100644 --- a/scripts/postinst-intercepts/update_udev_hwdb +++ b/scripts/postinst-intercepts/update_udev_hwdb | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/pythondeps b/scripts/pythondeps index 3e13a587ee..be21dd84eb 100755 --- a/scripts/pythondeps +++ b/scripts/pythondeps | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Determine dependencies of python scripts or available python modules in a search path. | 5 | # Determine dependencies of python scripts or available python modules in a search path. |
4 | # | 6 | # |
5 | # Given the -d argument and a filename/filenames, returns the modules imported by those files. | 7 | # Given the -d argument and a filename/filenames, returns the modules imported by those files. |
diff --git a/scripts/recipetool b/scripts/recipetool index 3a3c9b7445..e2d585d2c5 100755 --- a/scripts/recipetool +++ b/scripts/recipetool | |||
@@ -4,18 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2014 Intel Corporation | 5 | # Copyright (C) 2014 Intel Corporation |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-only |
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | 8 | # |
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | 9 | ||
20 | import sys | 10 | import sys |
21 | import os | 11 | import os |
diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py index c752fa2c61..8c0fdb986a 100755 --- a/scripts/relocate_sdk.py +++ b/scripts/relocate_sdk.py | |||
@@ -2,18 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2012 Intel Corporation | 3 | # Copyright (c) 2012 Intel Corporation |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
12 | # See the GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with this program; if not, write to the Free Software | ||
16 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | # | 6 | # |
18 | # DESCRIPTION | 7 | # DESCRIPTION |
19 | # This script is called by the SDK installer script. It replaces the dynamic | 8 | # This script is called by the SDK installer script. It replaces the dynamic |
diff --git a/scripts/resulttool b/scripts/resulttool index 9477667a87..fc282bda6c 100755 --- a/scripts/resulttool +++ b/scripts/resulttool | |||
@@ -25,14 +25,7 @@ | |||
25 | # | 25 | # |
26 | # Copyright (c) 2019, Intel Corporation. | 26 | # Copyright (c) 2019, Intel Corporation. |
27 | # | 27 | # |
28 | # This program is free software; you can redistribute it and/or modify it | 28 | # SPDX-License-Identifier: GPL-2.0-only |
29 | # under the terms and conditions of the GNU General Public License, | ||
30 | # version 2, as published by the Free Software Foundation. | ||
31 | # | ||
32 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
33 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
34 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
35 | # more details. | ||
36 | # | 29 | # |
37 | 30 | ||
38 | import os | 31 | import os |
diff --git a/scripts/rpm2cpio.sh b/scripts/rpm2cpio.sh index cf23472ba9..876c53c5d9 100755 --- a/scripts/rpm2cpio.sh +++ b/scripts/rpm2cpio.sh | |||
@@ -1,5 +1,4 @@ | |||
1 | #!/bin/sh -efu | 1 | #!/bin/sh -efu |
2 | |||
3 | # This file comes from rpm 4.x distribution | 2 | # This file comes from rpm 4.x distribution |
4 | 3 | ||
5 | fatal() { | 4 | fatal() { |
diff --git a/scripts/runqemu b/scripts/runqemu index a4fc606e50..39bed038d5 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -5,18 +5,8 @@ | |||
5 | # Copyright (C) 2006-2011 Linux Foundation | 5 | # Copyright (C) 2006-2011 Linux Foundation |
6 | # Copyright (c) 2016 Wind River Systems, Inc. | 6 | # Copyright (c) 2016 Wind River Systems, Inc. |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or modify | 8 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | 9 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | 10 | ||
21 | import os | 11 | import os |
22 | import sys | 12 | import sys |
diff --git a/scripts/runqemu-addptable2image b/scripts/runqemu-addptable2image index f0195ad8a3..ca29427258 100755 --- a/scripts/runqemu-addptable2image +++ b/scripts/runqemu-addptable2image | |||
@@ -4,20 +4,8 @@ | |||
4 | # | 4 | # |
5 | # Copyright (C) 2006-2007 OpenedHand Ltd. | 5 | # Copyright (C) 2006-2007 OpenedHand Ltd. |
6 | # | 6 | # |
7 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-or-later |
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | 8 | # |
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | |||
21 | 9 | ||
22 | IMAGE=$1 | 10 | IMAGE=$1 |
23 | IMAGEOUT=$2 | 11 | IMAGEOUT=$2 |
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs index 70cdcdbb13..384c091713 100755 --- a/scripts/runqemu-export-rootfs +++ b/scripts/runqemu-export-rootfs | |||
@@ -2,18 +2,8 @@ | |||
2 | # | 2 | # |
3 | # Copyright (c) 2005-2009 Wind River Systems, Inc. | 3 | # Copyright (c) 2005-2009 Wind River Systems, Inc. |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 6 | # |
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
12 | # See the GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with this program; if not, write to the Free Software | ||
16 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | 7 | ||
18 | usage() { | 8 | usage() { |
19 | echo "Usage: $0 {start|stop|restart} <nfs-export-dir>" | 9 | echo "Usage: $0 {start|stop|restart} <nfs-export-dir>" |
diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index 4da3eb10a7..8a4ee90a1d 100755 --- a/scripts/runqemu-extract-sdk +++ b/scripts/runqemu-extract-sdk | |||
@@ -7,18 +7,8 @@ | |||
7 | # | 7 | # |
8 | # Copyright (c) 2010 Intel Corp. | 8 | # Copyright (c) 2010 Intel Corp. |
9 | # | 9 | # |
10 | # This program is free software; you can redistribute it and/or modify | 10 | # SPDX-License-Identifier: GPL-2.0-only |
11 | # it under the terms of the GNU General Public License version 2 as | ||
12 | # published by the Free Software Foundation. | ||
13 | # | 11 | # |
14 | # This program is distributed in the hope that it will be useful, | ||
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
17 | # See the GNU General Public License for more details. | ||
18 | # | ||
19 | # You should have received a copy of the GNU General Public License | ||
20 | # along with this program; if not, write to the Free Software | ||
21 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
22 | 12 | ||
23 | function usage() { | 13 | function usage() { |
24 | echo "Usage: $0 <image-tarball> <extract-dir>" | 14 | echo "Usage: $0 <image-tarball> <extract-dir>" |
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs index 869fee261d..a6ee4517da 100755 --- a/scripts/runqemu-gen-tapdevs +++ b/scripts/runqemu-gen-tapdevs | |||
@@ -9,18 +9,8 @@ | |||
9 | # | 9 | # |
10 | # Copyright (C) 2010 Intel Corp. | 10 | # Copyright (C) 2010 Intel Corp. |
11 | # | 11 | # |
12 | # This program is free software; you can redistribute it and/or modify | 12 | # SPDX-License-Identifier: GPL-2.0-only |
13 | # it under the terms of the GNU General Public License version 2 as | ||
14 | # published by the Free Software Foundation. | ||
15 | # | 13 | # |
16 | # This program is distributed in the hope that it will be useful, | ||
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | # GNU General Public License for more details. | ||
20 | # | ||
21 | # You should have received a copy of the GNU General Public License along | ||
22 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
23 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
24 | 14 | ||
25 | uid=`id -u` | 15 | uid=`id -u` |
26 | gid=`id -g` | 16 | gid=`id -g` |
diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown index 2486968588..a104c37bf8 100755 --- a/scripts/runqemu-ifdown +++ b/scripts/runqemu-ifdown | |||
@@ -13,18 +13,8 @@ | |||
13 | # | 13 | # |
14 | # Copyright (c) 2006-2011 Linux Foundation | 14 | # Copyright (c) 2006-2011 Linux Foundation |
15 | # | 15 | # |
16 | # This program is free software; you can redistribute it and/or modify | 16 | # SPDX-License-Identifier: GPL-2.0-only |
17 | # it under the terms of the GNU General Public License version 2 as | ||
18 | # published by the Free Software Foundation. | ||
19 | # | 17 | # |
20 | # This program is distributed in the hope that it will be useful, | ||
21 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | # GNU General Public License for more details. | ||
24 | # | ||
25 | # You should have received a copy of the GNU General Public License along | ||
26 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
27 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
28 | 18 | ||
29 | usage() { | 19 | usage() { |
30 | echo "sudo $(basename $0) <tap-dev> <native-sysroot-basedir>" | 20 | echo "sudo $(basename $0) <tap-dev> <native-sysroot-basedir>" |
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index 59a15eaa2e..bb661740c5 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
@@ -20,18 +20,8 @@ | |||
20 | # | 20 | # |
21 | # Copyright (c) 2006-2011 Linux Foundation | 21 | # Copyright (c) 2006-2011 Linux Foundation |
22 | # | 22 | # |
23 | # This program is free software; you can redistribute it and/or modify | 23 | # SPDX-License-Identifier: GPL-2.0-only |
24 | # it under the terms of the GNU General Public License version 2 as | ||
25 | # published by the Free Software Foundation. | ||
26 | # | 24 | # |
27 | # This program is distributed in the hope that it will be useful, | ||
28 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
29 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
30 | # GNU General Public License for more details. | ||
31 | # | ||
32 | # You should have received a copy of the GNU General Public License along | ||
33 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
34 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
35 | 25 | ||
36 | usage() { | 26 | usage() { |
37 | echo "sudo $(basename $0) <uid> <gid> <native-sysroot-basedir>" | 27 | echo "sudo $(basename $0) <uid> <gid> <native-sysroot-basedir>" |
diff --git a/scripts/send-error-report b/scripts/send-error-report index 0ed7cc905e..cfbcaa52cb 100755 --- a/scripts/send-error-report +++ b/scripts/send-error-report | |||
@@ -6,6 +6,9 @@ | |||
6 | # Copyright (C) 2013 Intel Corporation | 6 | # Copyright (C) 2013 Intel Corporation |
7 | # Author: Andreea Proca <andreea.b.proca@intel.com> | 7 | # Author: Andreea Proca <andreea.b.proca@intel.com> |
8 | # Author: Michael Wood <michael.g.wood@intel.com> | 8 | # Author: Michael Wood <michael.g.wood@intel.com> |
9 | # | ||
10 | # SPDX-License-Identifier: GPL-2.0-only | ||
11 | # | ||
9 | 12 | ||
10 | import urllib.request, urllib.error | 13 | import urllib.request, urllib.error |
11 | import sys | 14 | import sys |
diff --git a/scripts/send-pull-request b/scripts/send-pull-request index 883deacb07..70b5a5cfb2 100755 --- a/scripts/send-pull-request +++ b/scripts/send-pull-request | |||
@@ -1,21 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Copyright (c) 2010-2011, Intel Corporation. | 3 | # Copyright (c) 2010-2011, Intel Corporation. |
4 | # All Rights Reserved | ||
5 | # | ||
6 | # This program is free software; you can redistribute it and/or modify | ||
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | 4 | # |
11 | # This program is distributed in the hope that it will be useful, | 5 | # SPDX-License-Identifier: GPL-2.0-or-later |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | ||
14 | # the GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | # | 6 | # |
20 | 7 | ||
21 | # | 8 | # |
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index 2ab450ab59..f1706a2229 100755 --- a/scripts/sstate-cache-management.sh +++ b/scripts/sstate-cache-management.sh | |||
@@ -2,18 +2,7 @@ | |||
2 | 2 | ||
3 | # Copyright (c) 2012 Wind River Systems, Inc. | 3 | # Copyright (c) 2012 Wind River Systems, Inc. |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | ||
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
12 | # See the GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with this program; if not, write to the Free Software | ||
16 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
17 | # | 6 | # |
18 | 7 | ||
19 | # Global vars | 8 | # Global vars |
diff --git a/scripts/sstate-diff-machines.sh b/scripts/sstate-diff-machines.sh index 27c6a33006..1d721eb87d 100755 --- a/scripts/sstate-diff-machines.sh +++ b/scripts/sstate-diff-machines.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | # | |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Used to compare sstate checksums between MACHINES. | 5 | # Used to compare sstate checksums between MACHINES. |
4 | # Execute script and compare generated list.M files. | 6 | # Execute script and compare generated list.M files. |
5 | # Using bash to have PIPESTATUS variable. | 7 | # Using bash to have PIPESTATUS variable. |
diff --git a/scripts/sstate-sysroot-cruft.sh b/scripts/sstate-sysroot-cruft.sh index d9917f5152..fbf1ca3c43 100755 --- a/scripts/sstate-sysroot-cruft.sh +++ b/scripts/sstate-sysroot-cruft.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | # | |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
3 | # Used to find files installed in sysroot which are not tracked by sstate manifest | 5 | # Used to find files installed in sysroot which are not tracked by sstate manifest |
4 | 6 | ||
5 | # Global vars | 7 | # Global vars |
diff --git a/scripts/sysroot-relativelinks.py b/scripts/sysroot-relativelinks.py index ffe254728b..56e36f3ad5 100755 --- a/scripts/sysroot-relativelinks.py +++ b/scripts/sysroot-relativelinks.py | |||
@@ -1,4 +1,8 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
5 | |||
2 | import sys | 6 | import sys |
3 | import os | 7 | import os |
4 | 8 | ||
diff --git a/scripts/task-time b/scripts/task-time index e58040a9b9..bcd1e25817 100755 --- a/scripts/task-time +++ b/scripts/task-time | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | import argparse | 6 | import argparse |
4 | import os | 7 | import os |
diff --git a/scripts/test-reexec b/scripts/test-reexec index 30e792c7d9..fccdac4da6 100755 --- a/scripts/test-reexec +++ b/scripts/test-reexec | |||
@@ -3,21 +3,8 @@ | |||
3 | # Test Script for task re-execution | 3 | # Test Script for task re-execution |
4 | # | 4 | # |
5 | # Copyright 2012 Intel Corporation | 5 | # Copyright 2012 Intel Corporation |
6 | # All rights reserved. | ||
7 | # | 6 | # |
8 | # This program is free software; you can redistribute it and/or modify | 7 | # SPDX-License-Identifier: GPL-2.0-or-later |
9 | # it under the terms of the GNU General Public License as published by | ||
10 | # the Free Software Foundation; either version 2 of the License, or | ||
11 | # (at your option) any later version. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License | ||
19 | # along with this program; if not, write to the Free Software | ||
20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | # | 8 | # |
22 | # DESCRIPTION | 9 | # DESCRIPTION |
23 | # This script is intended to address issues for re-execution of | 10 | # This script is intended to address issues for re-execution of |
diff --git a/scripts/test-remote-image b/scripts/test-remote-image index 27b1cae38f..d209d22854 100755 --- a/scripts/test-remote-image +++ b/scripts/test-remote-image | |||
@@ -1,19 +1,9 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | |||
3 | # Copyright (c) 2014 Intel Corporation | ||
4 | # | 2 | # |
5 | # This program is free software; you can redistribute it and/or modify | 3 | # Copyright (c) 2014 Intel Corporation |
6 | # it under the terms of the GNU General Public License version 2 as | ||
7 | # published by the Free Software Foundation. | ||
8 | # | 4 | # |
9 | # This program is distributed in the hope that it will be useful, | 5 | # SPDX-License-Identifier: GPL-2.0-only |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | 6 | # |
14 | # You should have received a copy of the GNU General Public License along | ||
15 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | 7 | ||
18 | # DESCRIPTION | 8 | # DESCRIPTION |
19 | # This script is used to test public autobuilder images on remote hardware. | 9 | # This script is used to test public autobuilder images on remote hardware. |
diff --git a/scripts/tiny/dirsize.py b/scripts/tiny/dirsize.py index ddccc5a8c8..501516b0d4 100755 --- a/scripts/tiny/dirsize.py +++ b/scripts/tiny/dirsize.py | |||
@@ -1,22 +1,8 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | 2 | # |
3 | # Copyright (c) 2011, Intel Corporation. | 3 | # Copyright (c) 2011, Intel Corporation. |
4 | # All rights reserved. | ||
5 | # | ||
6 | # This program is free software; you can redistribute it and/or modify | ||
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
20 | # | 6 | # |
21 | # Display details of the root filesystem size, broken up by directory. | 7 | # Display details of the root filesystem size, broken up by directory. |
22 | # Allows for limiting by size to focus on the larger files. | 8 | # Allows for limiting by size to focus on the larger files. |
diff --git a/scripts/tiny/ksize.py b/scripts/tiny/ksize.py index ea1ca7ff23..bc11919f4b 100755 --- a/scripts/tiny/ksize.py +++ b/scripts/tiny/ksize.py | |||
@@ -1,22 +1,8 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | 2 | # |
3 | # Copyright (c) 2011, Intel Corporation. | 3 | # Copyright (c) 2011, Intel Corporation. |
4 | # All rights reserved. | ||
5 | # | ||
6 | # This program is free software; you can redistribute it and/or modify | ||
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation; either version 2 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with this program; if not, write to the Free Software | ||
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
20 | # | 6 | # |
21 | # Display details of the kernel build size, broken up by built-in.o. Sort | 7 | # Display details of the kernel build size, broken up by built-in.o. Sort |
22 | # the objects by size. Run from the top level kernel build directory. | 8 | # the objects by size. Run from the top level kernel build directory. |
diff --git a/scripts/tiny/ksum.py b/scripts/tiny/ksum.py index d4f3892156..f38ae055db 100755 --- a/scripts/tiny/ksum.py +++ b/scripts/tiny/ksum.py | |||
@@ -1,22 +1,8 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | 2 | # |
5 | # Copyright (c) 2016, Intel Corporation. | 3 | # Copyright (c) 2016, Intel Corporation. |
6 | # All rights reserved. | ||
7 | # | 4 | # |
8 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | # | 6 | # |
21 | # DESCRIPTION 'ksum.py' generates a combined summary of vmlinux and | 7 | # DESCRIPTION 'ksum.py' generates a combined summary of vmlinux and |
22 | # module sizes for a built kernel, as a quick tool for comparing the | 8 | # module sizes for a built kernel, as a quick tool for comparing the |
diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index a979bd2965..fb0cc719ea 100755 --- a/scripts/verify-bashisms +++ b/scripts/verify-bashisms | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | ||
4 | # | ||
2 | 5 | ||
3 | import sys, os, subprocess, re, shutil | 6 | import sys, os, subprocess, re, shutil |
4 | 7 | ||
diff --git a/scripts/wic b/scripts/wic index 017ef99dda..1d89fb2eda 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -1,22 +1,8 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | 2 | # |
5 | # Copyright (c) 2013, Intel Corporation. | 3 | # Copyright (c) 2013, Intel Corporation. |
6 | # All rights reserved. | ||
7 | # | 4 | # |
8 | # This program is free software; you can redistribute it and/or modify | 5 | # SPDX-License-Identifier: GPL-2.0-only |
9 | # it under the terms of the GNU General Public License version 2 as | ||
10 | # published by the Free Software Foundation. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License along | ||
18 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | # | 6 | # |
21 | # DESCRIPTION 'wic' is the OpenEmbedded Image Creator that users can | 7 | # DESCRIPTION 'wic' is the OpenEmbedded Image Creator that users can |
22 | # use to generate bootable images. Invoking it without any arguments | 8 | # use to generate bootable images. Invoking it without any arguments |
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer index 106c955251..010830f842 100755 --- a/scripts/yocto-check-layer +++ b/scripts/yocto-check-layer | |||
@@ -3,7 +3,9 @@ | |||
3 | # Yocto Project layer checking tool | 3 | # Yocto Project layer checking tool |
4 | # | 4 | # |
5 | # Copyright (C) 2017 Intel Corporation | 5 | # Copyright (C) 2017 Intel Corporation |
6 | # Released under the MIT license (see COPYING.MIT) | 6 | # |
7 | # SPDX-License-Identifier: MIT | ||
8 | # | ||
7 | 9 | ||
8 | import os | 10 | import os |
9 | import sys | 11 | import sys |
diff --git a/scripts/yocto-check-layer-wrapper b/scripts/yocto-check-layer-wrapper index b5df9ce989..2e3b699031 100755 --- a/scripts/yocto-check-layer-wrapper +++ b/scripts/yocto-check-layer-wrapper | |||
@@ -6,7 +6,9 @@ | |||
6 | # script to avoid a contaminated environment. | 6 | # script to avoid a contaminated environment. |
7 | # | 7 | # |
8 | # Copyright (C) 2017 Intel Corporation | 8 | # Copyright (C) 2017 Intel Corporation |
9 | # Released under the MIT license (see COPYING.MIT) | 9 | # |
10 | # SPDX-License-Identifier: MIT | ||
11 | # | ||
10 | 12 | ||
11 | if [ -z "$BUILDDIR" ]; then | 13 | if [ -z "$BUILDDIR" ]; then |
12 | echo "Please source oe-init-build-env before run this script." | 14 | echo "Please source oe-init-build-env before run this script." |