lib: Add copyright statements to files without one

Where there isn't a copyright statement, add one to make it explicit.
Also add license identifiers as MIT if there isn't one.

(From OE-Core rev: bb731d1f3d2a1d50ec0aed864dbca54cf795b040)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-08-10 20:40:57 +01:00
parent ff525695f2
commit ce08cf4825
178 changed files with 413 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# Implements system state sampling. Called by buildstats.bbclass. # Implements system state sampling. Called by buildstats.bbclass.

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# Based on standard python library functions but avoid # Based on standard python library functions but avoid

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# This class should provide easy access to the different aspects of the # This class should provide easy access to the different aspects of the

View File

@@ -1,3 +1,9 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
import collections import collections
import re import re
import itertools import itertools

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
"""Code for parsing OpenEmbedded license strings""" """Code for parsing OpenEmbedded license strings"""

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
"""OpenEmbedded variable typing support """OpenEmbedded variable typing support

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,3 +1,9 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
import bb import bb
import json import json
import subprocess import subprocess

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# This file contains common functions for overlayfs and its QA check # This file contains common functions for overlayfs and its QA check

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
import os import os

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod

View File

@@ -1,3 +1,9 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# Handle mismatches between `uname -m`-style output and Rust's arch names # Handle mismatches between `uname -m`-style output and Rust's arch names
def arch_to_rust_arch(arch): def arch_to_rust_arch(arch):
if arch == "ppc64le": if arch == "ppc64le":

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
import bb.siggen import bb.siggen

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
import logging import logging

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
import argparse import argparse

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# Enable other layers to have modules in the same named directory # Enable other layers to have modules in the same named directory

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
# #
# Modified for use in OE by Richard Purdie, 2018 # Modified for use in OE by Richard Purdie, 2018

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,3 +1,8 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.data import skipIfQemu from oeqa.core.decorator.data import skipIfQemu

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,3 +1,8 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage from oeqa.runtime.decorator.package import OEHasPackage

View File

@@ -1,3 +1,8 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.depends import OETestDepends

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,3 +1,8 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.data import skipIfQemu from oeqa.core.decorator.data import skipIfQemu

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,3 +1,8 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.depends import OETestDepends
from oeqa.runtime.decorator.package import OEHasPackage from oeqa.runtime.decorator.package import OEHasPackage

View File

@@ -1,3 +1,8 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.data import skipIfQemu from oeqa.core.decorator.data import skipIfQemu

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View File

@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

Some files were not shown because too many files have changed in this diff Show More