summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/decorator
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 18:22:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-09 16:31:55 +0100
commitffae400179fd0b64f8882cf79d78e1c0f2d74bee (patch)
treecc5e242e02c3621ea124552ecb9779371500335b /meta/lib/oeqa/core/decorator
parentc7592b01478def091b6787412390c61e7ce0a0cd (diff)
downloadpoky-ffae400179fd0b64f8882cf79d78e1c0f2d74bee.tar.gz
meta/lib+scripts: Convert to SPDX license headers
This adds SPDX license headers in place of the wide assortment of things currently in our script headers. We default to GPL-2.0-only except for the oeqa code where it was clearly submitted and marked as MIT on the most part or some scripts which had the "or later" GPL versioning. The patch also drops other obsolete bits of file headers where they were encoountered such as editor modelines, obsolete maintainer information or the phrase "All rights reserved" which is now obsolete and not required in copyright headers (in this case its actually confusing for licensing as all rights were not reserved). More work is needed for OE-Core but this takes care of the bulk of the scripts and meta/lib directories. The top level LICENSE files are tweaked to match the new structure and the SPDX naming. (From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/decorator')
-rw-r--r--meta/lib/oeqa/core/decorator/__init__.py5
-rw-r--r--meta/lib/oeqa/core/decorator/data.py5
-rw-r--r--meta/lib/oeqa/core/decorator/depends.py5
-rw-r--r--meta/lib/oeqa/core/decorator/oetag.py5
-rw-r--r--meta/lib/oeqa/core/decorator/oetimeout.py5
5 files changed, 20 insertions, 5 deletions
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
4from functools import wraps 7from functools import wraps
5from abc import abstractmethod, ABCMeta 8from 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
4from oeqa.core.exception import OEQAMissingVariable 7from 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
4from unittest import SkipTest 7from 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
4from . import OETestFilter, registerDecorator 7from . import OETestFilter, registerDecorator
5from oeqa.core.utils.misc import strToList 8from 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
4import signal 7import signal
5from . import OETestDecorator, registerDecorator 8from . import OETestDecorator, registerDecorator