diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 18:22:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-18 11:28:58 +0100 |
commit | 913df0de3515a9b3dc28b0de1a6c352aba510916 (patch) | |
tree | aa8e2e5f6fc0ad165f576f6a37654359f38a7948 /scripts/lib/checklayer/cases/common.py | |
parent | f3457dfbc3fa121466d0ac1954e7fd14f63a5502 (diff) | |
download | poky-913df0de3515a9b3dc28b0de1a6c352aba510916.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: 3248a9e3c5a197321b1c4417509b9309cc3bae97)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/cases/common.py')
-rw-r--r-- | scripts/lib/checklayer/cases/common.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |