1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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.
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
+6
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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"""
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+6
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
+2
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
+2
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
+6
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":
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
+2
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
+2
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
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
@@ -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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+5
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
+5
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+5
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+5
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
+5
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
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2
View File
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -1,4 +1,6 @@
# #
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -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