diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 18:22:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-09 16:31:55 +0100 |
commit | ffae400179fd0b64f8882cf79d78e1c0f2d74bee (patch) | |
tree | cc5e242e02c3621ea124552ecb9779371500335b /meta/lib/oeqa/sdk | |
parent | c7592b01478def091b6787412390c61e7ce0a0cd (diff) | |
download | poky-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/sdk')
-rw-r--r-- | meta/lib/oeqa/sdk/case.py | 5 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/assimp.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildcpio.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildepoxy.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildgalculator.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildlzip.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/gcc.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/perl.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/python.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/context.py | 5 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/testsdk.py | 5 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/utils/sdkbuildproject.py | 5 |
12 files changed, 48 insertions, 4 deletions
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 |