From patchwork Wed Aug 10 19:45:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 11247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FF9BC00140 for ; Wed, 10 Aug 2022 19:45:16 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web09.2827.1660160714063065342 for ; Wed, 10 Aug 2022 12:45:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=cK6Mynoq; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.49, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f49.google.com with SMTP id l22so18911265wrz.7 for ; Wed, 10 Aug 2022 12:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc; bh=k89AaF86jSB4TFqBzTmnd1PUUFA4U5WGIDKdUbt9LX4=; b=cK6Mynoqb7KQxhR1eowLPoxbrtEVI1XtTvlleMo7ZqYpAQ3DqBWg7Z9IDa5Zsc4Wan T3N4MH6pO3Qz2vmxBbjN/qehAFkwWoC5NfY/AtoEZ2zdLbm+RqHGNBdHoVghqD41phMf Ns49IhfkaPVvia3+rddBVAVCtK0ryP+ZOsCS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc; bh=k89AaF86jSB4TFqBzTmnd1PUUFA4U5WGIDKdUbt9LX4=; b=45dEC2SlsA/O4uJTwMRx/vyibF/RcIKPw+v2nVjIAPrjX7FdI5OmFV5OBPDoufYQT/ 6U2w16WcwFmL8RDlOcKLzVLkYJu0UZov0Ax9S8w0gJQam+BNFvzrgBjWfl80OzlC36XU dYuqByG33lkQyWhrQSdyd299Cqp8RaEfBwEq9YwwCW/57+yJ8T7Xzeld9WJKwCGlJCh6 yMil12U+l8DG6qpTIyj/5abM2vDpU8q83y8Fl7v8nmqvnJczJJvbGhYRrD4GH3LoKM1G vsjQ6s1Pt9cQxpXuDwN5gnOMo4P2UBc0DUBHSqqrs14VRUOLXTGOEkoGa9KcKjI3+o3n 3I/Q== X-Gm-Message-State: ACgBeo10pW/ql0pAg1DMd+yybgQd4/rMLa/v7jHH55vUS5LtHZfcq90l EWQcmkQFDsh1gALQdKPNiZL++5pzE1e4fw== X-Google-Smtp-Source: AA6agR7c8yChVp6jktTN96NeNvJa1SSNnDqumIPGHTVxXJ2CQqDfhJttpruWuz69oxQH8Sva3ga9uw== X-Received: by 2002:a5d:64a1:0:b0:222:3b0d:c9a3 with SMTP id m1-20020a5d64a1000000b002223b0dc9a3mr13395225wrp.437.1660160712042; Wed, 10 Aug 2022 12:45:12 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:bdb5:cbd6:cc51:991]) by smtp.gmail.com with ESMTPSA id l21-20020a1ced15000000b0039747cf8354sm3240823wmh.39.2022.08.10.12.45.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 12:45:11 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/5] buildhistory: Only use image-artifact-names as an image class Date: Wed, 10 Aug 2022 20:45:06 +0100 Message-Id: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 10 Aug 2022 19:45:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/169202 Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 4ba9ec8f25d..35db2b11927 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -7,7 +7,7 @@ # Copyright (C) 2007-2011 Koen Kooi # -inherit image-artifact-names +IMAGE_CLASSES += "image-artifact-names" BUILDHISTORY_FEATURES ?= "image package sdk" BUILDHISTORY_DIR ?= "${TOPDIR}/buildhistory" From patchwork Wed Aug 10 19:45:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 11251 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3963BC25B07 for ; Wed, 10 Aug 2022 19:45:26 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web12.2862.1660160716800948435 for ; Wed, 10 Aug 2022 12:45:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=dEEszoBf; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f45.google.com with SMTP id p10so18879543wru.8 for ; Wed, 10 Aug 2022 12:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc; bh=ebsFYwCl0jx/2Woz+JYHu9ZdpXrbKrUTkMyyKDCzh9Q=; b=dEEszoBfdb5t41i+JiyNfZX67mOVNT6KFEsG2HFs/n4rJmHrwrD2i94EiLwZ61FRbw vslj2rw57Wqb87p23leNirFp1auXb83z8i+aajT7TV6XiEpOai2KQ8reRu+2Yu6niq3+ suLsyEkV+GW3Bi3dlNTFkbiP7FtVrLsV+Tojk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=ebsFYwCl0jx/2Woz+JYHu9ZdpXrbKrUTkMyyKDCzh9Q=; b=15R8RaCjTiWeZ/Aln7kRaXgzWGcvtFV4tbyJQnNV8xJ4ETBplYwFKhsRcAjjMkwhNY oEmNJC54PUrYLhOT4OdS/wvAR5Byhjia3ymOLmJE0VrrCCQDBOQSJi5Btw6RkO+sbJYU J/svCdpMgHExm6C/xFaUKpoB6O2U/cbmsmiy+Po+9Ac7FYVEPKUMMyzWc/DESNWxWQ79 R5nocBslUn4Nck+XCajHlBGLiYOPUys88ftCgMPIHvhQxbb0c0BAgG01l1oUTh4dqjQ4 8IipQHPaielbY1dE7nhkElfjJtq/YZW/+01OqyMfP7FOS/+Vxbyw92IqK3+U/AGEuazE Rhrg== X-Gm-Message-State: ACgBeo1Mw3axB1w21rNb3igUjcd5n5zTAMb+2ixbv2G98w04N1qMPJ2W Fqw1mFlwABT9/wQCDyuDDWQxa0338kdyYA== X-Google-Smtp-Source: AA6agR4KZRrLv//TYKKxWuO1Grkm4+rKDSOlVc/FJcfCPHhnvZWT2ZDpKfMC37ywkHLwHMblh+iHsA== X-Received: by 2002:adf:f851:0:b0:220:732b:2df2 with SMTP id d17-20020adff851000000b00220732b2df2mr19006828wrq.716.1660160713469; Wed, 10 Aug 2022 12:45:13 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:bdb5:cbd6:cc51:991]) by smtp.gmail.com with ESMTPSA id l21-20020a1ced15000000b0039747cf8354sm3240823wmh.39.2022.08.10.12.45.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 12:45:12 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/5] classes: Add copyright statements to files without one Date: Wed, 10 Aug 2022 20:45:07 +0100 Message-Id: <20220810194510.484900-2-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> References: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 10 Aug 2022 19:45:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/169204 Where there isn't a copyright statement, add one to make it explicit. Also drop editor config lines where they were present. Signed-off-by: Richard Purdie --- meta/classes-global/base.bbclass | 4 ++++ meta/classes-global/buildstats.bbclass | 4 ++++ meta/classes-global/debian.bbclass | 4 ++++ meta/classes-global/devshell.bbclass | 4 ++++ meta/classes-global/license.bbclass | 4 ++++ meta/classes-global/package.bbclass | 4 ++++ meta/classes-global/package_ipk.bbclass | 4 ++++ meta/classes-global/package_pkgdata.bbclass | 4 ++++ meta/classes-global/package_rpm.bbclass | 4 ++++ meta/classes-global/package_tar.bbclass | 4 ++++ meta/classes-global/packagedata.bbclass | 4 ++++ meta/classes-global/remove-libtool.bbclass | 4 ++++ meta/classes-global/sanity.bbclass | 4 ++++ meta/classes-global/sstate.bbclass | 4 ++++ meta/classes-global/staging.bbclass | 4 ++++ meta/classes-global/uninative.bbclass | 4 ++++ meta/classes-global/utility-tasks.bbclass | 4 ++++ meta/classes-global/utils.bbclass | 3 +++ meta/classes-recipe/allarch.bbclass | 4 ++++ meta/classes-recipe/autotools-brokensep.bbclass | 4 ++++ meta/classes-recipe/autotools.bbclass | 4 ++++ meta/classes-recipe/baremetal-image.bbclass | 4 ++++ meta/classes-recipe/bash-completion.bbclass | 4 ++++ meta/classes-recipe/bin_package.bbclass | 4 ++-- meta/classes-recipe/binconfig-disabled.bbclass | 4 ++++ meta/classes-recipe/binconfig.bbclass | 4 ++++ meta/classes-recipe/cargo.bbclass | 4 ++++ meta/classes-recipe/cargo_common.bbclass | 4 ++++ meta/classes-recipe/cmake.bbclass | 4 ++++ meta/classes-recipe/cml1.bbclass | 4 ++++ meta/classes-recipe/compress_doc.bbclass | 4 ++++ meta/classes-recipe/cpan-base.bbclass | 4 ++++ meta/classes-recipe/cpan.bbclass | 4 ++++ meta/classes-recipe/cpan_build.bbclass | 4 ++++ meta/classes-recipe/deploy.bbclass | 4 ++++ meta/classes-recipe/dos2unix.bbclass | 4 ++++ meta/classes-recipe/fontcache.bbclass | 4 ++++ meta/classes-recipe/gconf.bbclass | 4 ++++ meta/classes-recipe/gettext.bbclass | 4 ++++ meta/classes-recipe/image-artifact-names.bbclass | 4 ++++ meta/classes-recipe/populate_sdk.bbclass | 4 ++++ meta/classes-recipe/populate_sdk_base.bbclass | 4 ++++ meta/classes-recipe/populate_sdk_ext.bbclass | 4 ++++ meta/classes-recipe/ptest-gnome.bbclass | 4 ++++ meta/classes-recipe/ptest-perl.bbclass | 4 ++++ meta/classes-recipe/ptest.bbclass | 4 ++++ meta/classes-recipe/pypi.bbclass | 4 ++++ meta/classes-recipe/python3-dir.bbclass | 4 ++++ meta/classes-recipe/python3native.bbclass | 4 ++++ meta/classes-recipe/python3targetconfig.bbclass | 4 ++++ meta/classes-recipe/python_flit_core.bbclass | 4 ++++ meta/classes-recipe/python_hatchling.bbclass | 4 ++++ meta/classes-recipe/python_pep517.bbclass | 4 ++++ meta/classes-recipe/python_poetry_core.bbclass | 4 ++++ meta/classes-recipe/python_pyo3.bbclass | 4 ++++ meta/classes-recipe/python_setuptools3_rust.bbclass | 4 ++++ meta/classes-recipe/python_setuptools_build_meta.bbclass | 4 ++++ meta/classes-recipe/qemu.bbclass | 4 ++++ meta/classes-recipe/qemuboot.bbclass | 4 ++++ meta/classes-recipe/rootfs-postcommands.bbclass | 3 +++ meta/classes-recipe/rootfs_ipk.bbclass | 4 ++++ meta/classes-recipe/rootfs_rpm.bbclass | 4 ++++ meta/classes-recipe/rootfsdebugfiles.bbclass | 4 ++++ meta/classes-recipe/rust-bin.bbclass | 4 ++++ meta/classes-recipe/rust-common.bbclass | 4 ++++ meta/classes-recipe/rust-target-config.bbclass | 4 ++++ meta/classes-recipe/rust.bbclass | 4 ++++ meta/classes-recipe/siteinfo.bbclass | 4 ++++ meta/classes-recipe/texinfo.bbclass | 4 ++++ meta/classes-recipe/toolchain-scripts-base.bbclass | 4 ++++ meta/classes-recipe/toolchain-scripts.bbclass | 4 ++++ meta/classes-recipe/uboot-sign.bbclass | 4 ++++ meta/classes-recipe/update-alternatives.bbclass | 4 ++++ meta/classes-recipe/update-rc.d.bbclass | 4 ++++ meta/classes-recipe/useradd.bbclass | 4 ++++ meta/classes-recipe/useradd_base.bbclass | 4 ++++ meta/classes-recipe/vala.bbclass | 4 ++++ meta/classes-recipe/waf.bbclass | 4 ++++ meta/classes-recipe/xmlcatalog.bbclass | 4 ++++ meta/classes/archiver.bbclass | 6 ++++-- meta/classes/buildstats-summary.bbclass | 4 ++++ meta/classes/ccache.bbclass | 4 ++++ meta/classes/ccmake.bbclass | 4 ++++ meta/classes/chrpath.bbclass | 4 ++++ meta/classes/copyleft_compliance.bbclass | 4 ++++ meta/classes/copyleft_filter.bbclass | 6 ++++-- meta/classes/create-spdx.bbclass | 2 ++ meta/classes/cross-canadian.bbclass | 2 ++ meta/classes/cross.bbclass | 4 ++++ meta/classes/crosssdk.bbclass | 4 ++++ meta/classes/cve-check.bbclass | 4 ++++ meta/classes/devicetree.bbclass | 4 ++++ meta/classes/devtool-source.bbclass | 4 ++++ meta/classes/devupstream.bbclass | 4 ++++ meta/classes/distro_features_check.bbclass | 4 ++++ meta/classes/distrooverrides.bbclass | 4 ++++ meta/classes/extrausers.bbclass | 4 ++++ meta/classes/fs-uuid.bbclass | 4 ++++ meta/classes/gi-docgen.bbclass | 4 ++++ meta/classes/gio-module-cache.bbclass | 4 ++++ meta/classes/glide.bbclass | 4 ++++ meta/classes/gnomebase.bbclass | 4 ++++ meta/classes/go-mod.bbclass | 4 ++++ meta/classes/go-ptest.bbclass | 4 ++++ meta/classes/go.bbclass | 4 ++++ meta/classes/goarch.bbclass | 4 ++++ meta/classes/gobject-introspection-data.bbclass | 4 ++++ meta/classes/gobject-introspection.bbclass | 4 ++++ meta/classes/grub-efi.bbclass | 4 ++++ meta/classes/gsettings.bbclass | 4 ++++ meta/classes/gtk-doc.bbclass | 4 ++++ meta/classes/gtk-icon-cache.bbclass | 4 ++++ meta/classes/gtk-immodules-cache.bbclass | 4 ++++ meta/classes/icecc.bbclass | 4 ++++ meta/classes/image-combined-dbg.bbclass | 4 ++++ meta/classes/image-container.bbclass | 4 ++++ meta/classes/image-postinst-intercepts.bbclass | 4 ++++ meta/classes/image.bbclass | 3 +++ meta/classes/image_types.bbclass | 4 ++++ meta/classes/image_types_wic.bbclass | 4 ++++ meta/classes/insane.bbclass | 4 ++++ meta/classes/kernel-arch.bbclass | 4 ++++ meta/classes/kernel-artifact-names.bbclass | 4 ++++ meta/classes/kernel-devicetree.bbclass | 4 ++++ meta/classes/kernel-fitimage.bbclass | 4 ++++ meta/classes/kernel-grub.bbclass | 4 ++++ meta/classes/kernel-module-split.bbclass | 4 ++++ meta/classes/kernel-uboot.bbclass | 4 ++++ meta/classes/kernel-uimage.bbclass | 4 ++++ meta/classes/kernel-yocto.bbclass | 4 ++++ meta/classes/kernel.bbclass | 4 ++++ meta/classes/kernelsrc.bbclass | 4 ++++ meta/classes/lib_package.bbclass | 3 +++ meta/classes/libc-package.bbclass | 4 ++++ meta/classes/license_image.bbclass | 4 ++++ meta/classes/linux-dummy.bbclass | 3 +++ meta/classes/linux-kernel-base.bbclass | 4 ++++ meta/classes/linuxloader.bbclass | 4 ++++ meta/classes/live-vm-common.bbclass | 4 ++++ meta/classes/logging.bbclass | 4 ++++ meta/classes/manpages.bbclass | 4 ++++ meta/classes/mcextend.bbclass | 4 ++++ meta/classes/meson-routines.bbclass | 4 ++++ meta/classes/meson.bbclass | 4 ++++ meta/classes/metadata_scm.bbclass | 3 +++ meta/classes/migrate_localcount.bbclass | 4 ++++ meta/classes/mime-xdg.bbclass | 3 +++ meta/classes/mime.bbclass | 4 ++++ meta/classes/mirrors.bbclass | 4 ++++ meta/classes/module-base.bbclass | 4 ++++ meta/classes/module.bbclass | 4 ++++ meta/classes/multilib.bbclass | 4 ++++ meta/classes/multilib_global.bbclass | 4 ++++ meta/classes/multilib_header.bbclass | 4 ++++ meta/classes/multilib_script.bbclass | 4 ++++ meta/classes/native.bbclass | 4 ++++ meta/classes/nativesdk.bbclass | 4 ++++ meta/classes/nopackages.bbclass | 4 ++++ meta/classes/oelint.bbclass | 4 ++++ meta/classes/overlayfs-etc.bbclass | 4 ++++ meta/classes/overlayfs.bbclass | 4 ++++ meta/classes/own-mirrors.bbclass | 4 ++++ meta/classes/packagegroup.bbclass | 4 ++++ meta/classes/perl-version.bbclass | 4 ++++ meta/classes/perlnative.bbclass | 4 ++++ meta/classes/pixbufcache.bbclass | 4 ++++ meta/classes/pkgconfig.bbclass | 4 ++++ meta/classes/prexport.bbclass | 4 ++++ meta/classes/primport.bbclass | 4 ++++ meta/classes/recipe_sanity.bbclass | 4 ++++ meta/classes/relative_symlinks.bbclass | 4 ++++ meta/classes/relocatable.bbclass | 4 ++++ meta/classes/rm_work.bbclass | 4 ++++ meta/classes/scons.bbclass | 4 ++++ meta/classes/setuptools3-base.bbclass | 4 ++++ meta/classes/setuptools3.bbclass | 4 ++++ meta/classes/setuptools3_legacy.bbclass | 4 ++++ meta/classes/sign_ipk.bbclass | 4 ++++ meta/classes/sign_package_feed.bbclass | 4 ++++ meta/classes/sign_rpm.bbclass | 4 ++++ meta/classes/siteconfig.bbclass | 4 ++++ meta/classes/systemd-boot-cfg.bbclass | 4 ++++ meta/classes/systemd.bbclass | 4 ++++ meta/classes/terminal.bbclass | 4 ++++ meta/classes/typecheck.bbclass | 4 ++++ meta/classes/upstream-version-is-even.bbclass | 4 ++++ meta/classes/useradd-staticids.bbclass | 4 ++++ meta/classes/yocto-check-layer.bbclass | 4 ++++ 188 files changed, 739 insertions(+), 6 deletions(-) diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index 571b6754f22..1aa0978f650 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + BB_DEFAULT_TASK ?= "build" CLASSOVERRIDE ?= "class-target" diff --git a/meta/classes-global/buildstats.bbclass b/meta/classes-global/buildstats.bbclass index 132ecaa98b4..0e4e340ad17 100644 --- a/meta/classes-global/buildstats.bbclass +++ b/meta/classes-global/buildstats.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + BUILDSTATS_BASE = "${TMPDIR}/buildstats/" ################################################################################ diff --git a/meta/classes-global/debian.bbclass b/meta/classes-global/debian.bbclass index 8367be9f37f..2fd1b987dc0 100644 --- a/meta/classes-global/debian.bbclass +++ b/meta/classes-global/debian.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Debian package renaming only occurs when a package is built # We therefore have to make sure we build all runtime packages # before building the current package to make the packages runtime diff --git a/meta/classes-global/devshell.bbclass b/meta/classes-global/devshell.bbclass index 247d04478c4..4545d988c16 100644 --- a/meta/classes-global/devshell.bbclass +++ b/meta/classes-global/devshell.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit terminal DEVSHELL = "${SHELL}" diff --git a/meta/classes-global/license.bbclass b/meta/classes-global/license.bbclass index 4ebfc4fb925..f08bacff120 100644 --- a/meta/classes-global/license.bbclass +++ b/meta/classes-global/license.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Populates LICENSE_DIRECTORY as set in distro config with the license files as set by # LIC_FILES_CHKSUM. # TODO: diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 97e97d2703b..a4b62638840 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Packaging process # diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass index 9fe3c52fae3..552361e8fdb 100644 --- a/meta/classes-global/package_ipk.bbclass +++ b/meta/classes-global/package_ipk.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit package IMAGE_PKGTYPE ?= "ipk" diff --git a/meta/classes-global/package_pkgdata.bbclass b/meta/classes-global/package_pkgdata.bbclass index a1ea8fc0415..e495eaf6bd3 100644 --- a/meta/classes-global/package_pkgdata.bbclass +++ b/meta/classes-global/package_pkgdata.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + WORKDIR_PKGDATA = "${WORKDIR}/pkgdata-sysroot" def package_populate_pkgdata_dir(pkgdatadir, d): diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass index e9ff1f7e65c..a24ffb719a2 100644 --- a/meta/classes-global/package_rpm.bbclass +++ b/meta/classes-global/package_rpm.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit package IMAGE_PKGTYPE ?= "rpm" diff --git a/meta/classes-global/package_tar.bbclass b/meta/classes-global/package_tar.bbclass index d6c1b306fcf..0c5c3e58e80 100644 --- a/meta/classes-global/package_tar.bbclass +++ b/meta/classes-global/package_tar.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit package IMAGE_PKGTYPE ?= "tar" diff --git a/meta/classes-global/packagedata.bbclass b/meta/classes-global/packagedata.bbclass index c2760e2bf0c..89a015b8790 100644 --- a/meta/classes-global/packagedata.bbclass +++ b/meta/classes-global/packagedata.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + python read_subpackage_metadata () { import oe.packagedata diff --git a/meta/classes-global/remove-libtool.bbclass b/meta/classes-global/remove-libtool.bbclass index 3fd0cd58f94..ef79151aa91 100644 --- a/meta/classes-global/remove-libtool.bbclass +++ b/meta/classes-global/remove-libtool.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class removes libtool .la files after do_install REMOVE_LIBTOOL_LA ?= "1" diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index b1fac107d51..f1ebdf5684a 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Sanity check the users setup for common misconfigurations # diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 0aa901fe89d..5009ce825c8 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + SSTATE_VERSION = "10" SSTATE_ZSTD_CLEVEL ??= "8" diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass index bf8ca58b0b9..55df9d1c915 100644 --- a/meta/classes-global/staging.bbclass +++ b/meta/classes-global/staging.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # These directories will be staged in the sysroot SYSROOT_DIRS = " \ ${includedir} \ diff --git a/meta/classes-global/uninative.bbclass b/meta/classes-global/uninative.bbclass index 6a9e862bcd7..76999eb6530 100644 --- a/meta/classes-global/uninative.bbclass +++ b/meta/classes-global/uninative.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + UNINATIVE_LOADER ?= "${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux/lib/${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', '', d)}${@bb.utils.contains('BUILD_ARCH', 'i686', 'ld-linux.so.2', '', d)}${@bb.utils.contains('BUILD_ARCH', 'aarch64', 'ld-linux-aarch64.so.1', '', d)}${@bb.utils.contains('BUILD_ARCH', 'ppc64le', 'ld64.so.2', '', d)}" UNINATIVE_STAGING_DIR ?= "${STAGING_DIR}" diff --git a/meta/classes-global/utility-tasks.bbclass b/meta/classes-global/utility-tasks.bbclass index 0466325c131..1275a45861f 100644 --- a/meta/classes-global/utility-tasks.bbclass +++ b/meta/classes-global/utility-tasks.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + addtask listtasks do_listtasks[nostamp] = "1" python do_listtasks() { diff --git a/meta/classes-global/utils.bbclass b/meta/classes-global/utils.bbclass index e6f7f95d801..27f6f8d3248 100644 --- a/meta/classes-global/utils.bbclass +++ b/meta/classes-global/utils.bbclass @@ -1,3 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# oe_soinstall() { # Purpose: Install shared library file and diff --git a/meta/classes-recipe/allarch.bbclass b/meta/classes-recipe/allarch.bbclass index a766a654a9b..630cd070f6f 100644 --- a/meta/classes-recipe/allarch.bbclass +++ b/meta/classes-recipe/allarch.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class is used for architecture independent recipes/data files (usually scripts) # diff --git a/meta/classes-recipe/autotools-brokensep.bbclass b/meta/classes-recipe/autotools-brokensep.bbclass index 71cf97a391d..ac9a8d07c90 100644 --- a/meta/classes-recipe/autotools-brokensep.bbclass +++ b/meta/classes-recipe/autotools-brokensep.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Autotools class for recipes where separate build dir doesn't work # Ideally we should fix software so it does work. Standard autotools supports # this. diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index 4ab24609904..c77ba71a3a0 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def get_autotools_dep(d): if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): return '' diff --git a/meta/classes-recipe/baremetal-image.bbclass b/meta/classes-recipe/baremetal-image.bbclass index cb9e2503500..10ca390c48a 100644 --- a/meta/classes-recipe/baremetal-image.bbclass +++ b/meta/classes-recipe/baremetal-image.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Baremetal image class # # This class is meant to be inherited by recipes for baremetal/RTOS applications diff --git a/meta/classes-recipe/bash-completion.bbclass b/meta/classes-recipe/bash-completion.bbclass index 803b2cae4d5..cefd7dd18d8 100644 --- a/meta/classes-recipe/bash-completion.bbclass +++ b/meta/classes-recipe/bash-completion.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + DEPENDS:append:class-target = " bash-completion" PACKAGES += "${PN}-bash-completion" diff --git a/meta/classes-recipe/bin_package.bbclass b/meta/classes-recipe/bin_package.bbclass index f0407e13293..9d1b6101d1f 100644 --- a/meta/classes-recipe/bin_package.bbclass +++ b/meta/classes-recipe/bin_package.bbclass @@ -1,7 +1,7 @@ # -# ex:ts=4:sw=4:sts=4:et -# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- +# Copyright OpenEmbedded Contributors # + # Common variable and task for the binary package recipe. # Basic principle: # * The files have been unpacked to ${S} by base.bbclass diff --git a/meta/classes-recipe/binconfig-disabled.bbclass b/meta/classes-recipe/binconfig-disabled.bbclass index e8ac41b2d40..c8f76b790ba 100644 --- a/meta/classes-recipe/binconfig-disabled.bbclass +++ b/meta/classes-recipe/binconfig-disabled.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Class to disable binconfig files instead of installing them # diff --git a/meta/classes-recipe/binconfig.bbclass b/meta/classes-recipe/binconfig.bbclass index 6e0c88269a9..f50ed36d503 100644 --- a/meta/classes-recipe/binconfig.bbclass +++ b/meta/classes-recipe/binconfig.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + FILES:${PN}-dev += "${bindir}/*-config" # The namespaces can clash here hence the two step replace diff --git a/meta/classes-recipe/cargo.bbclass b/meta/classes-recipe/cargo.bbclass index 4bfcfe5fc65..d36c3d5071f 100644 --- a/meta/classes-recipe/cargo.bbclass +++ b/meta/classes-recipe/cargo.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + ## ## Purpose: ## This class is used by any recipes that are built using diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index 4a419cdd0a3..51b1ebb77fd 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + ## ## Purpose: ## This class is to support building with cargo. It diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass index d9bcddbdbb1..cd7031b82dd 100644 --- a/meta/classes-recipe/cmake.bbclass +++ b/meta/classes-recipe/cmake.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Path to the CMake file to process. OECMAKE_SOURCEPATH ??= "${S}" diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass index d319d66ab22..8c21dff4d27 100644 --- a/meta/classes-recipe/cml1.bbclass +++ b/meta/classes-recipe/cml1.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # returns all the elements from the src uri that are .cfg files def find_cfgs(d): sources=src_patches(d, True) diff --git a/meta/classes-recipe/compress_doc.bbclass b/meta/classes-recipe/compress_doc.bbclass index 379b6c169e5..2298b6ed0c7 100644 --- a/meta/classes-recipe/compress_doc.bbclass +++ b/meta/classes-recipe/compress_doc.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Compress man pages in ${mandir} and info pages in ${infodir} # # 1. The doc will be compressed to gz format by default. diff --git a/meta/classes-recipe/cpan-base.bbclass b/meta/classes-recipe/cpan-base.bbclass index 93d11e1bee4..2c53eed3c4e 100644 --- a/meta/classes-recipe/cpan-base.bbclass +++ b/meta/classes-recipe/cpan-base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # cpan-base providers various perl related information needed for building # cpan modules diff --git a/meta/classes-recipe/cpan.bbclass b/meta/classes-recipe/cpan.bbclass index 18f1b9d575e..7ab33423c92 100644 --- a/meta/classes-recipe/cpan.bbclass +++ b/meta/classes-recipe/cpan.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This is for perl modules that use the old Makefile.PL build system # diff --git a/meta/classes-recipe/cpan_build.bbclass b/meta/classes-recipe/cpan_build.bbclass index f3fb4666ef3..0ad7d0b3c91 100644 --- a/meta/classes-recipe/cpan_build.bbclass +++ b/meta/classes-recipe/cpan_build.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This is for perl modules that use the new Build.PL build system # diff --git a/meta/classes-recipe/deploy.bbclass b/meta/classes-recipe/deploy.bbclass index 7fbffe996be..7c28e6934cf 100644 --- a/meta/classes-recipe/deploy.bbclass +++ b/meta/classes-recipe/deploy.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + DEPLOYDIR = "${WORKDIR}/deploy-${PN}" SSTATETASKS += "do_deploy" do_deploy[sstate-inputdirs] = "${DEPLOYDIR}" diff --git a/meta/classes-recipe/dos2unix.bbclass b/meta/classes-recipe/dos2unix.bbclass index 3fc17e21963..b02db9b23a7 100644 --- a/meta/classes-recipe/dos2unix.bbclass +++ b/meta/classes-recipe/dos2unix.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for use to convert all CRLF line terminators to LF # provided that some projects are being developed/maintained # on Windows so they have different line terminators(CRLF) vs diff --git a/meta/classes-recipe/fontcache.bbclass b/meta/classes-recipe/fontcache.bbclass index 442bfc7392f..2ca51c53379 100644 --- a/meta/classes-recipe/fontcache.bbclass +++ b/meta/classes-recipe/fontcache.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class will generate the proper postinst/postrm scriptlets for font # packages. diff --git a/meta/classes-recipe/gconf.bbclass b/meta/classes-recipe/gconf.bbclass index 9d3668edd3f..d4d94583abd 100644 --- a/meta/classes-recipe/gconf.bbclass +++ b/meta/classes-recipe/gconf.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + DEPENDS += "gconf" PACKAGE_WRITE_DEPS += "gconf-native" diff --git a/meta/classes-recipe/gettext.bbclass b/meta/classes-recipe/gettext.bbclass index f11cb044565..4aecbb44130 100644 --- a/meta/classes-recipe/gettext.bbclass +++ b/meta/classes-recipe/gettext.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def gettext_dependencies(d): if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): return "" diff --git a/meta/classes-recipe/image-artifact-names.bbclass b/meta/classes-recipe/image-artifact-names.bbclass index f5769e520f5..425683a7e13 100644 --- a/meta/classes-recipe/image-artifact-names.bbclass +++ b/meta/classes-recipe/image-artifact-names.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + ################################################################## # Specific image creation and rootfs population info. ################################################################## diff --git a/meta/classes-recipe/populate_sdk.bbclass b/meta/classes-recipe/populate_sdk.bbclass index f64a911b72c..3e3a290ef22 100644 --- a/meta/classes-recipe/populate_sdk.bbclass +++ b/meta/classes-recipe/populate_sdk.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # The majority of populate_sdk is located in populate_sdk_base # This chunk simply facilitates compatibility with SDK only recipes. diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass index 175c7dafb20..df8ef8ef127 100644 --- a/meta/classes-recipe/populate_sdk_base.bbclass +++ b/meta/classes-recipe/populate_sdk_base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PACKAGES = "" inherit image-postinst-intercepts image-artifact-names diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index d58b2ba5d0d..a28588a384e 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Extensible SDK inherit populate_sdk_base diff --git a/meta/classes-recipe/ptest-gnome.bbclass b/meta/classes-recipe/ptest-gnome.bbclass index 18bd3dbff98..d68df978d7f 100644 --- a/meta/classes-recipe/ptest-gnome.bbclass +++ b/meta/classes-recipe/ptest-gnome.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit ptest EXTRA_OECONF:append = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}" diff --git a/meta/classes-recipe/ptest-perl.bbclass b/meta/classes-recipe/ptest-perl.bbclass index 5dd72c9dad8..fba13934c91 100644 --- a/meta/classes-recipe/ptest-perl.bbclass +++ b/meta/classes-recipe/ptest-perl.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit ptest FILESEXTRAPATHS:prepend := "${COREBASE}/meta/files:" diff --git a/meta/classes-recipe/ptest.bbclass b/meta/classes-recipe/ptest.bbclass index c162f5d9342..bdb50ff39a0 100644 --- a/meta/classes-recipe/ptest.bbclass +++ b/meta/classes-recipe/ptest.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + SUMMARY:${PN}-ptest ?= "${SUMMARY} - Package test files" DESCRIPTION:${PN}-ptest ?= "${DESCRIPTION} \ This package contains a test directory ${PTEST_PATH} for package test purposes." diff --git a/meta/classes-recipe/pypi.bbclass b/meta/classes-recipe/pypi.bbclass index 5fa7b8a6ae2..b59f0d33ace 100644 --- a/meta/classes-recipe/pypi.bbclass +++ b/meta/classes-recipe/pypi.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def pypi_package(d): bpn = d.getVar('BPN') if bpn.startswith('python-'): diff --git a/meta/classes-recipe/python3-dir.bbclass b/meta/classes-recipe/python3-dir.bbclass index ff03e584d4c..f98380d331d 100644 --- a/meta/classes-recipe/python3-dir.bbclass +++ b/meta/classes-recipe/python3-dir.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PYTHON_BASEVERSION = "3.10" PYTHON_ABI = "" PYTHON_DIR = "python${PYTHON_BASEVERSION}" diff --git a/meta/classes-recipe/python3native.bbclass b/meta/classes-recipe/python3native.bbclass index 3783c0c47eb..ec7402d9043 100644 --- a/meta/classes-recipe/python3native.bbclass +++ b/meta/classes-recipe/python3native.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python3-dir PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3" diff --git a/meta/classes-recipe/python3targetconfig.bbclass b/meta/classes-recipe/python3targetconfig.bbclass index 2476858caeb..ad3629180d3 100644 --- a/meta/classes-recipe/python3targetconfig.bbclass +++ b/meta/classes-recipe/python3targetconfig.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python3native EXTRA_PYTHON_DEPENDS ?= "" diff --git a/meta/classes-recipe/python_flit_core.bbclass b/meta/classes-recipe/python_flit_core.bbclass index 7109307de5b..0f5301084f8 100644 --- a/meta/classes-recipe/python_flit_core.bbclass +++ b/meta/classes-recipe/python_flit_core.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python_pep517 python3native python3-dir setuptools3-base DEPENDS += "python3 python3-flit-core-native" diff --git a/meta/classes-recipe/python_hatchling.bbclass b/meta/classes-recipe/python_hatchling.bbclass index 984eb6bb5db..502ec877c1c 100644 --- a/meta/classes-recipe/python_hatchling.bbclass +++ b/meta/classes-recipe/python_hatchling.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python_pep517 python3native python3-dir setuptools3-base DEPENDS += "python3-hatchling-native" diff --git a/meta/classes-recipe/python_pep517.bbclass b/meta/classes-recipe/python_pep517.bbclass index 7cdb9c8f9df..c001b7d1572 100644 --- a/meta/classes-recipe/python_pep517.bbclass +++ b/meta/classes-recipe/python_pep517.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Common infrastructure for Python packages that use PEP-517 compliant packaging. # https://www.python.org/dev/peps/pep-0517/ # diff --git a/meta/classes-recipe/python_poetry_core.bbclass b/meta/classes-recipe/python_poetry_core.bbclass index 0aaf66b1944..5de90a7be34 100644 --- a/meta/classes-recipe/python_poetry_core.bbclass +++ b/meta/classes-recipe/python_poetry_core.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python_pep517 python3native setuptools3-base DEPENDS += "python3-poetry-core-native" diff --git a/meta/classes-recipe/python_pyo3.bbclass b/meta/classes-recipe/python_pyo3.bbclass index b41e3ba0752..3b938667b53 100644 --- a/meta/classes-recipe/python_pyo3.bbclass +++ b/meta/classes-recipe/python_pyo3.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class helps make sure that Python extensions built with PyO3 # and setuptools_rust properly set up the environment for cross compilation diff --git a/meta/classes-recipe/python_setuptools3_rust.bbclass b/meta/classes-recipe/python_setuptools3_rust.bbclass index f12e5d0cbd2..0a4eaddc114 100644 --- a/meta/classes-recipe/python_setuptools3_rust.bbclass +++ b/meta/classes-recipe/python_setuptools3_rust.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python_pyo3 setuptools3 DEPENDS += "python3-setuptools-rust-native" diff --git a/meta/classes-recipe/python_setuptools_build_meta.bbclass b/meta/classes-recipe/python_setuptools_build_meta.bbclass index 974054fe5ac..346b13337e2 100644 --- a/meta/classes-recipe/python_setuptools_build_meta.bbclass +++ b/meta/classes-recipe/python_setuptools_build_meta.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit setuptools3-base python_pep517 DEPENDS += "python3-setuptools-native python3-wheel-native" diff --git a/meta/classes-recipe/qemu.bbclass b/meta/classes-recipe/qemu.bbclass index 7493ac34d4b..924457a4977 100644 --- a/meta/classes-recipe/qemu.bbclass +++ b/meta/classes-recipe/qemu.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class contains functions for recipes that need QEMU or test for its # existence. diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass index ad8489902a3..54cfcd25f28 100644 --- a/meta/classes-recipe/qemuboot.bbclass +++ b/meta/classes-recipe/qemuboot.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Help runqemu boot target board, "QB" means Qemu Boot, the following # vars can be set in conf files, such as to make it can be # boot by runqemu: diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass b/meta/classes-recipe/rootfs-postcommands.bbclass index 3dadba60475..49338eba228 100644 --- a/meta/classes-recipe/rootfs-postcommands.bbclass +++ b/meta/classes-recipe/rootfs-postcommands.bbclass @@ -1,3 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# # Zap the root password if debug-tweaks and empty-root-password features are not enabled ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'empty-root-password' ], "", "zap_empty_root_password; ",d)}' diff --git a/meta/classes-recipe/rootfs_ipk.bbclass b/meta/classes-recipe/rootfs_ipk.bbclass index 245c256a6fb..48732e97841 100644 --- a/meta/classes-recipe/rootfs_ipk.bbclass +++ b/meta/classes-recipe/rootfs_ipk.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Creates a root filesystem out of IPKs # diff --git a/meta/classes-recipe/rootfs_rpm.bbclass b/meta/classes-recipe/rootfs_rpm.bbclass index bec4d63ed6c..629e1d41a97 100644 --- a/meta/classes-recipe/rootfs_rpm.bbclass +++ b/meta/classes-recipe/rootfs_rpm.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Creates a root filesystem out of rpm packages # diff --git a/meta/classes-recipe/rootfsdebugfiles.bbclass b/meta/classes-recipe/rootfsdebugfiles.bbclass index 85c7ec74343..98cea38de04 100644 --- a/meta/classes-recipe/rootfsdebugfiles.bbclass +++ b/meta/classes-recipe/rootfsdebugfiles.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class installs additional files found on the build host # directly into the rootfs. # diff --git a/meta/classes-recipe/rust-bin.bbclass b/meta/classes-recipe/rust-bin.bbclass index 7a70a7b6ba3..369c574ed0d 100644 --- a/meta/classes-recipe/rust-bin.bbclass +++ b/meta/classes-recipe/rust-bin.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit rust RDEPENDS:${PN}:append:class-target = " ${RUSTLIB_DEP}" diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-recipe/rust-common.bbclass index 4c1a63df0dc..344e6586154 100644 --- a/meta/classes-recipe/rust-common.bbclass +++ b/meta/classes-recipe/rust-common.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python3native inherit rust-target-config diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 0f0797603e1..a435523e4b2 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Right now this is focused on arm-specific tune features. # We get away with this for now as one can only use x86-64 as the build host # (not arm). diff --git a/meta/classes-recipe/rust.bbclass b/meta/classes-recipe/rust.bbclass index 2639cecfd43..b91de85db22 100644 --- a/meta/classes-recipe/rust.bbclass +++ b/meta/classes-recipe/rust.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit rust-common RUSTC = "rustc" diff --git a/meta/classes-recipe/siteinfo.bbclass b/meta/classes-recipe/siteinfo.bbclass index 3555d5a6631..2f20ad781ff 100644 --- a/meta/classes-recipe/siteinfo.bbclass +++ b/meta/classes-recipe/siteinfo.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class exists to provide information about the targets that # may be needed by other classes and/or recipes. If you add a new # target this will probably need to be updated. diff --git a/meta/classes-recipe/texinfo.bbclass b/meta/classes-recipe/texinfo.bbclass index 68c9d4fb707..d7afbc7d6aa 100644 --- a/meta/classes-recipe/texinfo.bbclass +++ b/meta/classes-recipe/texinfo.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class is inherited by recipes whose upstream packages invoke the # texinfo utilities at build-time. Native and cross recipes are made to use the # dummy scripts provided by texinfo-dummy-native, for improved performance. diff --git a/meta/classes-recipe/toolchain-scripts-base.bbclass b/meta/classes-recipe/toolchain-scripts-base.bbclass index 2489b9dbeb8..e0719e584bc 100644 --- a/meta/classes-recipe/toolchain-scripts-base.bbclass +++ b/meta/classes-recipe/toolchain-scripts-base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + #This function create a version information file toolchain_create_sdk_version () { local versionfile=$1 diff --git a/meta/classes-recipe/toolchain-scripts.bbclass b/meta/classes-recipe/toolchain-scripts.bbclass index 16f1e17607c..eec77805306 100644 --- a/meta/classes-recipe/toolchain-scripts.bbclass +++ b/meta/classes-recipe/toolchain-scripts.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit toolchain-scripts-base siteinfo kernel-arch # We want to be able to change the value of MULTIMACH_TARGET_SYS, because it diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index eecdec91607..970f20407b7 100644 --- a/meta/classes-recipe/uboot-sign.bbclass +++ b/meta/classes-recipe/uboot-sign.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This file is part of U-Boot verified boot support and is intended to be # inherited from u-boot recipe and from kernel-fitimage.bbclass. # diff --git a/meta/classes-recipe/update-alternatives.bbclass b/meta/classes-recipe/update-alternatives.bbclass index fc1ffd828cf..09465898682 100644 --- a/meta/classes-recipe/update-alternatives.bbclass +++ b/meta/classes-recipe/update-alternatives.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class is used to help the alternatives system which is useful when # multiple sources provide same command. You can use update-alternatives # command directly in your recipe, but in most cases this class simplifies diff --git a/meta/classes-recipe/update-rc.d.bbclass b/meta/classes-recipe/update-rc.d.bbclass index 0a3a6086629..b92ff5a4fae 100644 --- a/meta/classes-recipe/update-rc.d.bbclass +++ b/meta/classes-recipe/update-rc.d.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + UPDATERCPN ?= "${PN}" DEPENDS:append:class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d initscripts', '', d)}" diff --git a/meta/classes-recipe/useradd.bbclass b/meta/classes-recipe/useradd.bbclass index 20771a0ce59..2aff3eda423 100644 --- a/meta/classes-recipe/useradd.bbclass +++ b/meta/classes-recipe/useradd.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit useradd_base # base-passwd-cross provides the default passwd and group files in the diff --git a/meta/classes-recipe/useradd_base.bbclass b/meta/classes-recipe/useradd_base.bbclass index 7f5b9b72194..ee8cc6c8435 100644 --- a/meta/classes-recipe/useradd_base.bbclass +++ b/meta/classes-recipe/useradd_base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This bbclass provides basic functionality for user/group settings. # This bbclass is intended to be inherited by useradd.bbclass and # extrausers.bbclass. diff --git a/meta/classes-recipe/vala.bbclass b/meta/classes-recipe/vala.bbclass index bfcceff7cf8..65e15013e1e 100644 --- a/meta/classes-recipe/vala.bbclass +++ b/meta/classes-recipe/vala.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Everyone needs vala-native and targets need vala, too, # because that is where target builds look for .vapi files. # diff --git a/meta/classes-recipe/waf.bbclass b/meta/classes-recipe/waf.bbclass index 464564afa1d..ef24c61dd87 100644 --- a/meta/classes-recipe/waf.bbclass +++ b/meta/classes-recipe/waf.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # avoids build breaks when using no-static-libs.inc DISABLE_STATIC = "" diff --git a/meta/classes-recipe/xmlcatalog.bbclass b/meta/classes-recipe/xmlcatalog.bbclass index be155b7bc28..14a1094d0f2 100644 --- a/meta/classes-recipe/xmlcatalog.bbclass +++ b/meta/classes-recipe/xmlcatalog.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + DEPENDS = "libxml2-native" # A whitespace-separated list of XML catalogs to be registered, for example diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index dca4271a69a..2262fdd652d 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass @@ -1,5 +1,7 @@ -# ex:ts=4:sw=4:sts=4:et -# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- +# +# Copyright OpenEmbedded Contributors +# + # # This bbclass is used for creating archive for: # 1) original (or unpacked) source: ARCHIVER_MODE[src] = "original" diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/buildstats-summary.bbclass index f9b241b6c5b..716189fd305 100644 --- a/meta/classes/buildstats-summary.bbclass +++ b/meta/classes/buildstats-summary.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Summarize sstate usage at the end of the build python buildstats_summary () { import collections diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 4532894c574..dee6248017a 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Usage: # - Enable ccache diff --git a/meta/classes/ccmake.bbclass b/meta/classes/ccmake.bbclass index df5134a108a..75f68cc8e39 100644 --- a/meta/classes/ccmake.bbclass +++ b/meta/classes/ccmake.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit terminal python do_ccmake() { diff --git a/meta/classes/chrpath.bbclass b/meta/classes/chrpath.bbclass index 26b984c4dbb..930c53e76f6 100644 --- a/meta/classes/chrpath.bbclass +++ b/meta/classes/chrpath.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + CHRPATH_BIN ?= "chrpath" PREPROCESS_RELOCATE_DIRS ?= "" diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass index eabf12ce7a0..5bf16a91069 100644 --- a/meta/classes/copyleft_compliance.bbclass +++ b/meta/classes/copyleft_compliance.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Deploy sources for recipes for compliance with copyleft-style licenses # Defaults to using symlinks, as it's a quick operation, and one can easily # follow the links when making use of the files (e.g. tar with the -h arg). diff --git a/meta/classes/copyleft_filter.bbclass b/meta/classes/copyleft_filter.bbclass index c36bce431a2..0e93a3df42e 100644 --- a/meta/classes/copyleft_filter.bbclass +++ b/meta/classes/copyleft_filter.bbclass @@ -1,10 +1,12 @@ +# +# Copyright OpenEmbedded Contributors +# + # Filter the license, the copyleft_should_include returns True for the # COPYLEFT_LICENSE_INCLUDE recipe, and False for the # COPYLEFT_LICENSE_EXCLUDE. # # By default, includes all GPL and LGPL, and excludes CLOSED and Proprietary. -# -# vi:sts=4:sw=4:et COPYLEFT_LICENSE_INCLUDE ?= 'GPL* LGPL* AGPL*' COPYLEFT_LICENSE_INCLUDE[type] = 'list' diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass index 10deba638fe..383ca10bab3 100644 --- a/meta/classes/create-spdx.bbclass +++ b/meta/classes/create-spdx.bbclass @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index a0e9d238369..23c864f6846 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # NOTE - When using this class the user is responsible for ensuring that # TRANSLATED_TARGET_ARCH is added into PN. This ensures that if the TARGET_ARCH # is changed, another nativesdk xxx-canadian-cross can be installed diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 9d951076a78..5ed21302ce7 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit relocatable # Cross packages are built indirectly via dependency, diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index 04aecb694e9..3c5a1a3717a 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit cross CLASSOVERRIDE = "class-crosssdk" diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index da7f93371c0..53790e89d14 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class is used to check recipes against public CVEs. # # In order to use this class just inherit the class in the diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass index 2a62ae7bc8e..954582bcd35 100644 --- a/meta/classes/devicetree.bbclass +++ b/meta/classes/devicetree.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This bbclass implements device tree compliation for user provided device tree # sources. The compilation of the device tree sources is the same as the kernel # device tree compilation process, this includes being able to include sources diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass index 41900e651f0..7a4568a0e4f 100644 --- a/meta/classes/devtool-source.bbclass +++ b/meta/classes/devtool-source.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Development tool - source extraction helper class # # NOTE: this class is intended for use by devtool and should not be diff --git a/meta/classes/devupstream.bbclass b/meta/classes/devupstream.bbclass index ba6dc4136c1..ad1061b4d12 100644 --- a/meta/classes/devupstream.bbclass +++ b/meta/classes/devupstream.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for use in BBCLASSEXTEND to make it easier to have a single recipe that # can build both stable tarballs and snapshots from upstream source # repositories. diff --git a/meta/classes/distro_features_check.bbclass b/meta/classes/distro_features_check.bbclass index 8124a8ca271..db26c60fab0 100644 --- a/meta/classes/distro_features_check.bbclass +++ b/meta/classes/distro_features_check.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Temporarily provide fallback to the old name of the class python __anonymous() { diff --git a/meta/classes/distrooverrides.bbclass b/meta/classes/distrooverrides.bbclass index bf3a2b2090e..d5f3a06af48 100644 --- a/meta/classes/distrooverrides.bbclass +++ b/meta/classes/distrooverrides.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Turns certain DISTRO_FEATURES into overrides with the same # name plus a df- prefix. Ensures that these special # distro features remain set also for native and nativesdk diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass index a8ef660b30f..e4059872d87 100644 --- a/meta/classes/extrausers.bbclass +++ b/meta/classes/extrausers.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This bbclass is used for image level user/group configuration. # Inherit this class if you want to make EXTRA_USERS_PARAMS effective. diff --git a/meta/classes/fs-uuid.bbclass b/meta/classes/fs-uuid.bbclass index 9b53dfba7ab..93a3e420d54 100644 --- a/meta/classes/fs-uuid.bbclass +++ b/meta/classes/fs-uuid.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Extract UUID from ${ROOTFS}, which must have been built # by the time that this function gets called. Only works # on ext file systems and depends on tune2fs. diff --git a/meta/classes/gi-docgen.bbclass b/meta/classes/gi-docgen.bbclass index 15581ca1270..3a3966c8016 100644 --- a/meta/classes/gi-docgen.bbclass +++ b/meta/classes/gi-docgen.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # gi-docgen is a new gnome documentation generator, which # seems to be a successor to gtk-doc: # https://gitlab.gnome.org/GNOME/gi-docgen diff --git a/meta/classes/gio-module-cache.bbclass b/meta/classes/gio-module-cache.bbclass index 021eeb1cf8c..788ca99c1c8 100644 --- a/meta/classes/gio-module-cache.bbclass +++ b/meta/classes/gio-module-cache.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PACKAGE_WRITE_DEPS += "qemu-native" inherit qemu diff --git a/meta/classes/glide.bbclass b/meta/classes/glide.bbclass index 2db4ac68466..ee073b9fbd5 100644 --- a/meta/classes/glide.bbclass +++ b/meta/classes/glide.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Handle Glide Vendor Package Management use # # Copyright 2018 (C) O.S. Systems Software LTDA. diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass index 9a5bd9a232d..d424091bc0e 100644 --- a/meta/classes/gnomebase.bbclass +++ b/meta/classes/gnomebase.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def gnome_verdir(v): return ".".join(v.split(".")[:-1]) diff --git a/meta/classes/go-mod.bbclass b/meta/classes/go-mod.bbclass index 674d2434e0b..a428471e3aa 100644 --- a/meta/classes/go-mod.bbclass +++ b/meta/classes/go-mod.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Handle Go Modules support # # When using Go Modules, the the current working directory MUST be at or below diff --git a/meta/classes/go-ptest.bbclass b/meta/classes/go-ptest.bbclass index b282ff73744..2493b305a59 100644 --- a/meta/classes/go-ptest.bbclass +++ b/meta/classes/go-ptest.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit go ptest do_compile_ptest_base() { diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index cd2daed70bf..d86c5859b8d 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit goarch inherit linuxloader diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index 92fec16b829..0bfc1c1e0dc 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}" BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}" BUILD_GOTUPLE = "${BUILD_GOOS}_${BUILD_GOARCH}" diff --git a/meta/classes/gobject-introspection-data.bbclass b/meta/classes/gobject-introspection-data.bbclass index d90cdb48399..8ec2cfe4e60 100644 --- a/meta/classes/gobject-introspection-data.bbclass +++ b/meta/classes/gobject-introspection-data.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This variable is set to True if gobject-introspection-data is in # DISTRO_FEATURES and qemu-usermode is in MACHINE_FEATURES, and False otherwise. # diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass index 7bf9feb0d60..91b728214a4 100644 --- a/meta/classes/gobject-introspection.bbclass +++ b/meta/classes/gobject-introspection.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Inherit this class in recipes to enable building their introspection files # python3native is inherited to prevent introspection tools being run with diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 8fc6999e52a..79049440bf9 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit grub-efi-cfg require conf/image-uefi.conf diff --git a/meta/classes/gsettings.bbclass b/meta/classes/gsettings.bbclass index 3fa5bd40b35..d811a0e0340 100644 --- a/meta/classes/gsettings.bbclass +++ b/meta/classes/gsettings.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # A bbclass to handle installed GSettings (glib) schemas, updated the compiled # form on package install and remove. # diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index 07b46ac8299..a32901305c0 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Helper class to pull in the right gtk-doc dependencies and configure # gtk-doc to enable or disable documentation building (which requries the # use of usermode qemu). diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 6808339b900..399d107ce7e 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + FILES:${PN} += "${datadir}/icons/hicolor" GTKIC_VERSION ??= '3' diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass index 2107517540b..97e9162fa75 100644 --- a/meta/classes/gtk-immodules-cache.bbclass +++ b/meta/classes/gtk-immodules-cache.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class will update the inputmethod module cache for virtual keyboards # # Usage: Set GTKIMMODULES_PACKAGES to the packages that needs to update the inputmethod modules diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 9b912a3083a..cf08db8cf3b 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # IceCream distributed compiling support # # Stages directories with symlinks from gcc/g++ to icecc, for both diff --git a/meta/classes/image-combined-dbg.bbclass b/meta/classes/image-combined-dbg.bbclass index e5dc61f8573..0e8e8183ac1 100644 --- a/meta/classes/image-combined-dbg.bbclass +++ b/meta/classes/image-combined-dbg.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + IMAGE_PREPROCESS_COMMAND:append = " combine_dbg_image; " combine_dbg_image () { diff --git a/meta/classes/image-container.bbclass b/meta/classes/image-container.bbclass index 3d1993576a0..10036151c0e 100644 --- a/meta/classes/image-container.bbclass +++ b/meta/classes/image-container.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + ROOTFS_BOOTSTRAP_INSTALL = "" IMAGE_TYPES_MASKED += "container" IMAGE_TYPEDEP:container = "tar.bz2" diff --git a/meta/classes/image-postinst-intercepts.bbclass b/meta/classes/image-postinst-intercepts.bbclass index ed30bbd98d9..af81910bc7f 100644 --- a/meta/classes/image-postinst-intercepts.bbclass +++ b/meta/classes/image-postinst-intercepts.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Gather existing and candidate postinst intercepts from BBPATH POSTINST_INTERCEPTS_DIR ?= "${COREBASE}/scripts/postinst-intercepts" POSTINST_INTERCEPTS_PATHS ?= "${@':'.join('%s/postinst-intercepts' % p for p in '${BBPATH}'.split(':'))}:${POSTINST_INTERCEPTS_DIR}" diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index fe32cdefd52..f485967ae28 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -1,3 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# IMAGE_CLASSES ??= "" diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 0ffea91195f..c6c44db7c7b 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # The default aligment of the size of the rootfs is set to 1KiB. In case # you're using the SD card emulation of a QEMU system simulator you may # set this value to 2048 (2MiB alignment). diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass index 8497916d482..e388fa67972 100644 --- a/meta/classes/image_types_wic.bbclass +++ b/meta/classes/image_types_wic.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # The WICVARS variable is used to define list of bitbake variables used in wic code # variables from this list is written to .env file WICVARS ?= "\ diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index c8b434bb54b..f6a82cc44fc 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # BB Class inspired by ebuild.sh # # This class will test files after installation for certain diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 348a3adf225..f25ad44a3d0 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # set the ARCH environment variable for kernel compilation (including # modules). return value must match one of the architecture directories diff --git a/meta/classes/kernel-artifact-names.bbclass b/meta/classes/kernel-artifact-names.bbclass index e77107c893f..ce58e2af635 100644 --- a/meta/classes/kernel-artifact-names.bbclass +++ b/meta/classes/kernel-artifact-names.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + ################################################################## # Specific kernel creation info # for recipes/bbclasses which need to reuse some of the kernel diff --git a/meta/classes/kernel-devicetree.bbclass b/meta/classes/kernel-devicetree.bbclass index b4338da1b13..28330151ecc 100644 --- a/meta/classes/kernel-devicetree.bbclass +++ b/meta/classes/kernel-devicetree.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Support for device tree generation python () { if not bb.data.inherits_class('nopackages', d): diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 753164551ca..a0d2e444b2b 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit kernel-uboot kernel-artifact-names uboot-sign def get_fit_replacement_type(d): diff --git a/meta/classes/kernel-grub.bbclass b/meta/classes/kernel-grub.bbclass index 44b2015468a..8475e0f9da3 100644 --- a/meta/classes/kernel-grub.bbclass +++ b/meta/classes/kernel-grub.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # While installing a rpm to update kernel on a deployed target, it will update # the boot area and the boot menu with the kernel as the priority but allow diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index a29c294810e..df18f5d0f00 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + pkg_postinst:modules () { if [ -z "$D" ]; then depmod -a ${KERNEL_VERSION} diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 1bc98e042d8..9eb934919b8 100644 --- a/meta/classes/kernel-uboot.bbclass +++ b/meta/classes/kernel-uboot.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # fitImage kernel compression algorithm FIT_KERNEL_COMP_ALG ?= "gzip" FIT_KERNEL_COMP_ALG_EXTENSION ?= ".gz" diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass index 2e661ea9165..8cc1dc50cc9 100644 --- a/meta/classes/kernel-uimage.bbclass +++ b/meta/classes/kernel-uimage.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit kernel-uboot python __anonymous () { diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index ce1446f7aa3..9f327933a1c 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # remove tasks that modify the source tree in case externalsrc is inherited SRCTREECOVEREDTASKS += "do_validate_branches do_kernel_configcheck do_kernel_checkout do_fetch do_unpack do_patch" PATCH_GIT_USER_EMAIL ?= "kernel-yocto@oe" diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index f41ac8e29b6..683d8c4d67f 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit linux-kernel-base kernel-module-split COMPATIBLE_HOST = ".*-linux" diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass index a951ba3325e..f40e3c88199 100644 --- a/meta/classes/kernelsrc.bbclass +++ b/meta/classes/kernelsrc.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + S = "${STAGING_KERNEL_DIR}" deltask do_fetch deltask do_unpack diff --git a/meta/classes/lib_package.bbclass b/meta/classes/lib_package.bbclass index 8849f590425..07f3f258d23 100644 --- a/meta/classes/lib_package.bbclass +++ b/meta/classes/lib_package.bbclass @@ -1,4 +1,7 @@ # +# Copyright OpenEmbedded Contributors +# +# # ${PN}-bin is defined in bitbake.conf # # We need to allow the other packages to be greedy with what they diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 13ef8cdc0df..580c02948e1 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class knows how to package up [e]glibc. Its shared since prebuild binary toolchains # may need packaging and its pointless to duplicate this code. diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass index 3213ea758e0..0cda839c94f 100644 --- a/meta/classes/license_image.bbclass +++ b/meta/classes/license_image.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + ROOTFS_LICENSE_DIR = "${IMAGE_ROOTFS}/usr/share/common-licenses" # This requires LICENSE_CREATE_PACKAGE=1 to work too diff --git a/meta/classes/linux-dummy.bbclass b/meta/classes/linux-dummy.bbclass index 9a06a509dd7..90b932c5906 100644 --- a/meta/classes/linux-dummy.bbclass +++ b/meta/classes/linux-dummy.bbclass @@ -1,3 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# python __anonymous () { if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy': diff --git a/meta/classes/linux-kernel-base.bbclass b/meta/classes/linux-kernel-base.bbclass index ba59222c24c..36f9caac690 100644 --- a/meta/classes/linux-kernel-base.bbclass +++ b/meta/classes/linux-kernel-base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # parse kernel ABI version out of def get_kernelversion_headers(p): import re diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass index 4447c8847c9..6bd8a62da90 100644 --- a/meta/classes/linuxloader.bbclass +++ b/meta/classes/linuxloader.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def get_musl_loader_arch(d): import re ldso_arch = "NotSupported" diff --git a/meta/classes/live-vm-common.bbclass b/meta/classes/live-vm-common.bbclass index 74e7074a539..99b92b6155a 100644 --- a/meta/classes/live-vm-common.bbclass +++ b/meta/classes/live-vm-common.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Some of the vars for vm and live image are conflicted, this function # is used for fixing the problem. def set_live_vm_vars(d, suffix): diff --git a/meta/classes/logging.bbclass b/meta/classes/logging.bbclass index a0c94e98c73..0d59ae2631c 100644 --- a/meta/classes/logging.bbclass +++ b/meta/classes/logging.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # The following logging mechanisms are to be used in bash functions of recipes. # They are intended to map one to one in intention and output format with the # python recipe logging functions of a similar naming convention: bb.plain(), diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass index 5e09c77fe6f..57b9be06500 100644 --- a/meta/classes/manpages.bbclass +++ b/meta/classes/manpages.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Inherit this class to enable or disable building and installation of manpages # depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building # tends to pull in the entire XML stack and other tools, so it's not enabled diff --git a/meta/classes/mcextend.bbclass b/meta/classes/mcextend.bbclass index 0f8f9622986..33833c3b9e4 100644 --- a/meta/classes/mcextend.bbclass +++ b/meta/classes/mcextend.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + python mcextend_virtclass_handler () { cls = e.data.getVar("BBEXTENDCURR") variant = e.data.getVar("BBEXTENDVARIANT") diff --git a/meta/classes/meson-routines.bbclass b/meta/classes/meson-routines.bbclass index be3aeedebab..6827bdb21d1 100644 --- a/meta/classes/meson-routines.bbclass +++ b/meta/classes/meson-routines.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit siteinfo def meson_array(var, d): diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index 546cd0476f3..17c6abbd609 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python3native meson-routines qemu DEPENDS:append = " meson-native ninja-native" diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass index f646b3159a4..f17cdcccf1a 100644 --- a/meta/classes/metadata_scm.bbclass +++ b/meta/classes/metadata_scm.bbclass @@ -1,3 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# METADATA_BRANCH := "${@oe.buildcfg.detect_branch(d)}" METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}" diff --git a/meta/classes/migrate_localcount.bbclass b/meta/classes/migrate_localcount.bbclass index 810a541316d..cb0d1c698b5 100644 --- a/meta/classes/migrate_localcount.bbclass +++ b/meta/classes/migrate_localcount.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PRSERV_DUMPDIR ??= "${LOG_DIR}/db" LOCALCOUNT_DUMPFILE ??= "${PRSERV_DUMPDIR}/prserv-localcount-exports.inc" diff --git a/meta/classes/mime-xdg.bbclass b/meta/classes/mime-xdg.bbclass index 271f48dd729..9e596c25fef 100644 --- a/meta/classes/mime-xdg.bbclass +++ b/meta/classes/mime-xdg.bbclass @@ -1,4 +1,7 @@ # +# Copyright OpenEmbedded Contributors +# +# # This class creates mime <-> application associations based on entry # 'MimeType' in *.desktop files # diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass index 8d176a884e7..e036bb23a1a 100644 --- a/meta/classes/mime.bbclass +++ b/meta/classes/mime.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class is used by recipes installing mime types # diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass index ffdccff5fb4..e56f90a7e8c 100644 --- a/meta/classes/mirrors.bbclass +++ b/meta/classes/mirrors.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + MIRRORS += "\ ${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \ ${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \ diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass index 27bd69ff33b..3f3d60947e2 100644 --- a/meta/classes/module-base.bbclass +++ b/meta/classes/module-base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit kernel-arch # We do the dependency this way because the output is not preserved diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index a09ec3ed1e1..bcc46ab1d82 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit module-base kernel-module-split pkgconfig EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}" diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 5859ca8d21e..2931aed8346 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + python multilib_virtclass_handler () { cls = e.data.getVar("BBEXTENDCURR") variant = e.data.getVar("BBEXTENDVARIANT") diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index e06307d057a..7d9f48e9d9f 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def preferred_ml_updates(d): # If any of PREFERRED_PROVIDER, PREFERRED_RPROVIDER, REQUIRED_VERSION # or PREFERRED_VERSION are set, we need to mirror these variables in diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass index efbc24f59b0..403a24667bf 100644 --- a/meta/classes/multilib_header.bbclass +++ b/meta/classes/multilib_header.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit siteinfo # If applicable on the architecture, this routine will rename the header and diff --git a/meta/classes/multilib_script.bbclass b/meta/classes/multilib_script.bbclass index 41597341cd1..0cf6d502bb4 100644 --- a/meta/classes/multilib_script.bbclass +++ b/meta/classes/multilib_script.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Recipe needs to set MULTILIB_SCRIPTS in the form :, e.g. # MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/file1 ${PN}:${base_bindir}/file2" diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 5a273cdebba..1d9c3a72665 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # We want native packages to be relocatable inherit relocatable diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index e46739e325b..78f94c79ca7 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # SDK packages are built either explicitly by the user, # or indirectly via dependency. No need to be in 'world'. EXCLUDE_FROM_WORLD = "1" diff --git a/meta/classes/nopackages.bbclass b/meta/classes/nopackages.bbclass index 7a4f632d716..22017524cdb 100644 --- a/meta/classes/nopackages.bbclass +++ b/meta/classes/nopackages.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + deltask do_package deltask do_package_write_rpm deltask do_package_write_ipk diff --git a/meta/classes/oelint.bbclass b/meta/classes/oelint.bbclass index 2589d34059f..a4ee7d6e335 100644 --- a/meta/classes/oelint.bbclass +++ b/meta/classes/oelint.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + addtask lint before do_build do_lint[nostamp] = "1" python do_lint() { diff --git a/meta/classes/overlayfs-etc.bbclass b/meta/classes/overlayfs-etc.bbclass index 91afee695c5..5c1e8f9bebe 100644 --- a/meta/classes/overlayfs-etc.bbclass +++ b/meta/classes/overlayfs-etc.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for setting up /etc in overlayfs # # In order to have /etc directory in overlayfs a special handling at early boot stage is required diff --git a/meta/classes/overlayfs.bbclass b/meta/classes/overlayfs.bbclass index f7069edd416..ccc88bb4ac8 100644 --- a/meta/classes/overlayfs.bbclass +++ b/meta/classes/overlayfs.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for generation of overlayfs mount units # # It's often desired in Embedded System design to have a read-only rootfs. diff --git a/meta/classes/own-mirrors.bbclass b/meta/classes/own-mirrors.bbclass index ef972740ce2..699eb3628b9 100644 --- a/meta/classes/own-mirrors.bbclass +++ b/meta/classes/own-mirrors.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PREMIRRORS:prepend = " \ cvs://.*/.* ${SOURCE_MIRROR_URL} \ svn://.*/.* ${SOURCE_MIRROR_URL} \ diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 557b1b6382b..54917942a4a 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for packagegroup (package group) recipes # By default, only the packagegroup package itself is in PACKAGES. diff --git a/meta/classes/perl-version.bbclass b/meta/classes/perl-version.bbclass index 84b67b81806..c314b4b575b 100644 --- a/meta/classes/perl-version.bbclass +++ b/meta/classes/perl-version.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PERL_OWN_DIR = "" # Determine the staged version of perl from the perl configuration file diff --git a/meta/classes/perlnative.bbclass b/meta/classes/perlnative.bbclass index cc8de8b3815..4d6ddd83cb7 100644 --- a/meta/classes/perlnative.bbclass +++ b/meta/classes/perlnative.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + EXTRANATIVEPATH += "perl-native" DEPENDS += "perl-native" OECMAKE_PERLNATIVE_DIR = "${STAGING_BINDIR_NATIVE}/perl-native" diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index 886bf195b32..b451f5a7dd4 100644 --- a/meta/classes/pixbufcache.bbclass +++ b/meta/classes/pixbufcache.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class will generate the proper postinst/postrm scriptlets for pixbuf # packages. diff --git a/meta/classes/pkgconfig.bbclass b/meta/classes/pkgconfig.bbclass index fa94527ce93..db57ce44726 100644 --- a/meta/classes/pkgconfig.bbclass +++ b/meta/classes/pkgconfig.bbclass @@ -1,2 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# + DEPENDS:prepend = "pkgconfig-native " diff --git a/meta/classes/prexport.bbclass b/meta/classes/prexport.bbclass index 6dcf99e29fd..ddd0ce68db1 100644 --- a/meta/classes/prexport.bbclass +++ b/meta/classes/prexport.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + PRSERV_DUMPOPT_VERSION = "${PRAUTOINX}" PRSERV_DUMPOPT_PKGARCH = "" PRSERV_DUMPOPT_CHECKSUM = "" diff --git a/meta/classes/primport.bbclass b/meta/classes/primport.bbclass index 8ed45f03f00..4d577bf8300 100644 --- a/meta/classes/primport.bbclass +++ b/meta/classes/primport.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + python primport_handler () { import bb.event if not e.data: diff --git a/meta/classes/recipe_sanity.bbclass b/meta/classes/recipe_sanity.bbclass index 7fa4a849ead..c09a551a4ff 100644 --- a/meta/classes/recipe_sanity.bbclass +++ b/meta/classes/recipe_sanity.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + def __note(msg, d): bb.note("%s: recipe_sanity: %s" % (d.getVar("P"), msg)) diff --git a/meta/classes/relative_symlinks.bbclass b/meta/classes/relative_symlinks.bbclass index 3157737347a..15674db495f 100644 --- a/meta/classes/relative_symlinks.bbclass +++ b/meta/classes/relative_symlinks.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + do_install[postfuncs] += "install_relative_symlinks" python install_relative_symlinks () { diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass index af04be5ccad..7b691fe6549 100644 --- a/meta/classes/relocatable.bbclass +++ b/meta/classes/relocatable.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit chrpath SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess relocatable_native_pcfiles" diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 5f12d5aaeb4..445d80c82ab 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # Removes source after build # diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index 80f8382107d..ead5ec4ce1a 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit python3native DEPENDS += "python3-scons-native" diff --git a/meta/classes/setuptools3-base.bbclass b/meta/classes/setuptools3-base.bbclass index 15abe1dd634..5d90ec1b198 100644 --- a/meta/classes/setuptools3-base.bbclass +++ b/meta/classes/setuptools3-base.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" RDEPENDS:${PN}:append:class-target = " ${PYTHON_PN}-core" diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass index 66c94660d8e..c08178fcf5a 100644 --- a/meta/classes/setuptools3.bbclass +++ b/meta/classes/setuptools3.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + inherit setuptools3-base python_pep517 DEPENDS += "python3-setuptools-native python3-wheel-native" diff --git a/meta/classes/setuptools3_legacy.bbclass b/meta/classes/setuptools3_legacy.bbclass index 5a99daadb55..0d9345d8476 100644 --- a/meta/classes/setuptools3_legacy.bbclass +++ b/meta/classes/setuptools3_legacy.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class is for packages which use the deprecated setuptools behaviour, # specifically custom install tasks which don't work correctly with bdist_wheel. # This behaviour is deprecated in setuptools[1] and won't work in the future, so diff --git a/meta/classes/sign_ipk.bbclass b/meta/classes/sign_ipk.bbclass index e5057b77991..940d29f4519 100644 --- a/meta/classes/sign_ipk.bbclass +++ b/meta/classes/sign_ipk.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for generating signed IPK packages. # # Configuration variables used by this class: diff --git a/meta/classes/sign_package_feed.bbclass b/meta/classes/sign_package_feed.bbclass index f1504c2225b..d29985d5324 100644 --- a/meta/classes/sign_package_feed.bbclass +++ b/meta/classes/sign_package_feed.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for signing package feeds # # Related configuration variables that will be used after this class is diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass index 73a55a512d6..159d525261e 100644 --- a/meta/classes/sign_rpm.bbclass +++ b/meta/classes/sign_rpm.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Class for generating signed RPM packages. # # Configuration variables used by this class: diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index 0cfa5a68342..96491cf8287 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + python siteconfig_do_siteconfig () { shared_state = sstate_state_fromvars(d) if shared_state['task'] != 'populate_sysroot': diff --git a/meta/classes/systemd-boot-cfg.bbclass b/meta/classes/systemd-boot-cfg.bbclass index b3e0e6ad410..64fe81d6d00 100644 --- a/meta/classes/systemd-boot-cfg.bbclass +++ b/meta/classes/systemd-boot-cfg.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + SYSTEMD_BOOT_CFG ?= "${S}/loader.conf" SYSTEMD_BOOT_ENTRIES ?= "" SYSTEMD_BOOT_TIMEOUT ?= "10" diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index 09ec52792d5..c24ed906644 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # The list of packages that should have systemd packaging scripts added. For # each entry, optionally have a SYSTEMD_SERVICE:[package] that lists the service # files in this package. If this variable isn't set, [package].service is used. diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass index a564ee74947..5ca9104641b 100644 --- a/meta/classes/terminal.bbclass +++ b/meta/classes/terminal.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + OE_TERMINAL ?= 'auto' OE_TERMINAL[type] = 'choice' OE_TERMINAL[choices] = 'auto none \ diff --git a/meta/classes/typecheck.bbclass b/meta/classes/typecheck.bbclass index 72da9322328..86fcf28942d 100644 --- a/meta/classes/typecheck.bbclass +++ b/meta/classes/typecheck.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # Check types of bitbake configuration variables # # See oe.types for details. diff --git a/meta/classes/upstream-version-is-even.bbclass b/meta/classes/upstream-version-is-even.bbclass index 256c752423c..b89a13414dd 100644 --- a/meta/classes/upstream-version-is-even.bbclass +++ b/meta/classes/upstream-version-is-even.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # This class ensures that the upstream version check only # accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.) # This scheme is used by Gnome and a number of other projects diff --git a/meta/classes/useradd-staticids.bbclass b/meta/classes/useradd-staticids.bbclass index 3acf59cd461..c994b5979eb 100644 --- a/meta/classes/useradd-staticids.bbclass +++ b/meta/classes/useradd-staticids.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # In order to support a deterministic set of 'dynamic' users/groups, # we need a function to reformat the params based on a static file def update_useradd_static_config(d): diff --git a/meta/classes/yocto-check-layer.bbclass b/meta/classes/yocto-check-layer.bbclass index 329d3f8edb0..2d21676ec21 100644 --- a/meta/classes/yocto-check-layer.bbclass +++ b/meta/classes/yocto-check-layer.bbclass @@ -1,3 +1,7 @@ +# +# Copyright OpenEmbedded Contributors +# + # # This class is used by yocto-check-layer script for additional per-recipe tests # The first test ensures that the layer has no recipes skipping 'installed-vs-shipped' QA checks From patchwork Wed Aug 10 19:45:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 11248 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 251B5C00140 for ; Wed, 10 Aug 2022 19:45:26 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web09.2828.1660160716304288796 for ; Wed, 10 Aug 2022 12:45:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=VKonVLb3; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f45.google.com with SMTP id z12so18895360wrs.9 for ; Wed, 10 Aug 2022 12:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc; bh=gVcHOTMPq82IVnJ2xUPnTLjsfQVNlAGaB9LysPUKyBY=; b=VKonVLb35feylw4Ck8HzWO+6K04BTK8MDAzwukPmFaOmopOV6Kp6ti1aqJ97IzgqOv 8FLS2pMEBN+yquF8jkhQDhqh8TaqWqy1cqPU2lM19hTprHJxJ5wr+NW+6C5yKWaoU8y1 RCM0mAKr6wdVPmZyuJ8uMj2g3LWeqaqqFQyzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=gVcHOTMPq82IVnJ2xUPnTLjsfQVNlAGaB9LysPUKyBY=; b=hNNZxZlyjfdEyFzEgD/Opz1bNUNOGWlkSrstbyYUscWj/OB84ht8Uphuj+F88KoaVy EozqKjyUHM0dPsJTWGnZzUmV/76QOeEBv47hzRWAsgGt9ZrJ+gEv77Dqd8ea92rh8H3N rEeVGC7SxaevnzTnEk64PzJldRTzPnL/8UFSGJ1m7ZflFDYp+P5iaUISikxb83vmVyYb sR6KJrW9FD7eEFTfxuGmJ7LU80YE2GyWF77+dlA4IiPhjLKg/FT256qwDDgnksU+29M4 TTrsorwUZKPulhZqz+MtPL36txZy7xbhq4D0yIWBdrD7orFT/3LFfwnrbyFk2Kzw+4SS wp+g== X-Gm-Message-State: ACgBeo0XFsQEaRgJpo1J0a32bphEOx0vNKmzT1FWXTxj6X0QoUA7A/fj wgX+PMr7wvsRaWzKoxLJNcaV4cXBHmyiPw== X-Google-Smtp-Source: AA6agR7ZlSCurUwj1aSuxziBFetjGw5WpKcF7wYOXMxmgrUq+LK+TxXNVGdTOFIQdBF5iZpuk199pg== X-Received: by 2002:a5d:48c8:0:b0:21e:5134:c78c with SMTP id p8-20020a5d48c8000000b0021e5134c78cmr17832532wrs.233.1660160714385; Wed, 10 Aug 2022 12:45:14 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:bdb5:cbd6:cc51:991]) by smtp.gmail.com with ESMTPSA id l21-20020a1ced15000000b0039747cf8354sm3240823wmh.39.2022.08.10.12.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 12:45:13 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/5] scripts: Add copyright statements to files without one Date: Wed, 10 Aug 2022 20:45:08 +0100 Message-Id: <20220810194510.484900-3-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> References: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 10 Aug 2022 19:45:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/169203 Where there isn't a copyright statement, add one to make it explicit. Also drop editor config lines where they were present and add license identifiers as MIT if there isn't one. Signed-off-by: Richard Purdie --- scripts/autobuilder-worker-prereq-tests | 2 ++ scripts/bitbake-prserv-tool | 2 ++ scripts/bitbake-whatchanged | 4 +--- scripts/combo-layer-hook-default.sh | 2 ++ scripts/contrib/ddimage | 2 ++ scripts/contrib/dialog-power-control | 2 ++ scripts/contrib/documentation-audit.sh | 2 ++ scripts/contrib/patchreview.py | 2 ++ scripts/contrib/test_build_time_worker.sh | 2 ++ scripts/contrib/verify-homepage.py | 2 ++ scripts/cp-noerror | 2 ++ scripts/gen-lockedsig-cache | 3 +++ scripts/git | 4 ++++ scripts/oe-debuginfod | 2 ++ scripts/oe-gnome-terminal-phonehome | 2 ++ scripts/oe-pkgdata-browser | 5 +++++ scripts/oe-pylint | 2 ++ scripts/oe-setup-layers | 6 +++++- scripts/oe-time-dd-test.sh | 4 ++++ scripts/oe-trim-schemas | 2 ++ scripts/oepydevshell-internal.py | 2 ++ scripts/pythondeps | 2 ++ scripts/sstate-diff-machines.sh | 2 ++ scripts/sstate-sysroot-cruft.sh | 2 ++ scripts/sysroot-relativelinks.py | 2 ++ scripts/task-time | 2 ++ scripts/verify-bashisms | 2 ++ 27 files changed, 64 insertions(+), 4 deletions(-) diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests index 572227dccd1..54fd3c10041 100755 --- a/scripts/autobuilder-worker-prereq-tests +++ b/scripts/autobuilder-worker-prereq-tests @@ -1,5 +1,7 @@ #!/bin/bash # +# Copyright OpenEmbedded Contributors +# # Script which can be run on new autobuilder workers to check all needed configuration is present. # Designed to be run in a repo where bitbake/oe-core are already present. # diff --git a/scripts/bitbake-prserv-tool b/scripts/bitbake-prserv-tool index e55d98c72e1..bed97bd8ac3 100755 --- a/scripts/bitbake-prserv-tool +++ b/scripts/bitbake-prserv-tool @@ -1,5 +1,7 @@ #!/usr/bin/env bash # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged index 6f4b268119b..cdb730dbdb9 100755 --- a/scripts/bitbake-whatchanged +++ b/scripts/bitbake-whatchanged @@ -1,7 +1,5 @@ #!/usr/bin/env python3 -# ex:ts=4:sw=4:sts=4:et -# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- - +# # Copyright (c) 2013 Wind River Systems, Inc. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/scripts/combo-layer-hook-default.sh b/scripts/combo-layer-hook-default.sh index 11547a98269..fb9651b31fd 100755 --- a/scripts/combo-layer-hook-default.sh +++ b/scripts/combo-layer-hook-default.sh @@ -1,5 +1,7 @@ #!/bin/sh # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Hook to add source component/revision info to commit message diff --git a/scripts/contrib/ddimage b/scripts/contrib/ddimage index 7f2ad112a62..70eee8ebea2 100755 --- a/scripts/contrib/ddimage +++ b/scripts/contrib/ddimage @@ -1,5 +1,7 @@ #!/bin/sh # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/contrib/dialog-power-control b/scripts/contrib/dialog-power-control index ad6070c3693..82c84baa1d4 100755 --- a/scripts/contrib/dialog-power-control +++ b/scripts/contrib/dialog-power-control @@ -1,5 +1,7 @@ #!/bin/sh # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Simple script to show a manual power prompt for when you want to use diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index 36f7f3287c8..7197a2fcea7 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh @@ -1,5 +1,7 @@ #!/bin/bash # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Perform an audit of which packages provide documentation and which diff --git a/scripts/contrib/patchreview.py b/scripts/contrib/patchreview.py index 85d2169ad13..b22cc07f0a5 100755 --- a/scripts/contrib/patchreview.py +++ b/scripts/contrib/patchreview.py @@ -1,5 +1,7 @@ #! /usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/contrib/test_build_time_worker.sh b/scripts/contrib/test_build_time_worker.sh index 478e8b0d03b..a2879d23367 100755 --- a/scripts/contrib/test_build_time_worker.sh +++ b/scripts/contrib/test_build_time_worker.sh @@ -1,5 +1,7 @@ #!/bin/bash # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # This is an example script to be used in conjunction with test_build_time.sh diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py index 7bffa78e238..a90b5010bc5 100755 --- a/scripts/contrib/verify-homepage.py +++ b/scripts/contrib/verify-homepage.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # This script can be used to verify HOMEPAGE values for all recipes in diff --git a/scripts/cp-noerror b/scripts/cp-noerror index ab617c5d35a..13a098eee0b 100755 --- a/scripts/cp-noerror +++ b/scripts/cp-noerror @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation, diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index cc674f9c1b0..023015ec41c 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache @@ -1,5 +1,8 @@ #!/usr/bin/env python3 # +# +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/git b/scripts/git index 644055e5401..689adbf9dda 100755 --- a/scripts/git +++ b/scripts/git @@ -1,5 +1,9 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# # Wrapper around 'git' that doesn't think we are root import os diff --git a/scripts/oe-debuginfod b/scripts/oe-debuginfod index 9e5482d8698..b5253102253 100755 --- a/scripts/oe-debuginfod +++ b/scripts/oe-debuginfod @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/scripts/oe-gnome-terminal-phonehome b/scripts/oe-gnome-terminal-phonehome index b6b9a3867b2..1352a9872bf 100755 --- a/scripts/oe-gnome-terminal-phonehome +++ b/scripts/oe-gnome-terminal-phonehome @@ -1,5 +1,7 @@ #!/bin/sh # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Gnome terminal won't tell us which PID a given command is run as diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser index a3a381923b7..c152c82b25a 100755 --- a/scripts/oe-pkgdata-browser +++ b/scripts/oe-pkgdata-browser @@ -1,4 +1,9 @@ #! /usr/bin/env python3 +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# import os, sys, enum, ast diff --git a/scripts/oe-pylint b/scripts/oe-pylint index 7cc1ccb010e..5ad72838e97 100755 --- a/scripts/oe-pylint +++ b/scripts/oe-pylint @@ -1,5 +1,7 @@ #!/bin/bash # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Run the pylint3 against our common python module spaces and print a report of potential issues diff --git a/scripts/oe-setup-layers b/scripts/oe-setup-layers index 39cc16a30da..08ec97048fb 100755 --- a/scripts/oe-setup-layers +++ b/scripts/oe-setup-layers @@ -1,11 +1,15 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + # This file was copied from poky(or oe-core)/scripts/oe-setup-layers by running # # bitbake-layers create-layers-setup destdir # # It is recommended that you do not modify this file directly, but rather re-run the above command to get the freshest upstream copy. -# import argparse import json diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh index 386de83dcef..81748b8c9e4 100755 --- a/scripts/oe-time-dd-test.sh +++ b/scripts/oe-time-dd-test.sh @@ -1,5 +1,9 @@ #!/bin/bash # +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# # oe-time-dd-test records how much time it takes to # write number of kilobytes to the filesystem. # It also records the number of processes that are in diff --git a/scripts/oe-trim-schemas b/scripts/oe-trim-schemas index bf77c8cf643..e3b26e273e2 100755 --- a/scripts/oe-trim-schemas +++ b/scripts/oe-trim-schemas @@ -1,5 +1,7 @@ #! /usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/oepydevshell-internal.py b/scripts/oepydevshell-internal.py index e3c35bbe2cd..3bf7df1114f 100755 --- a/scripts/oepydevshell-internal.py +++ b/scripts/oepydevshell-internal.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/pythondeps b/scripts/pythondeps index be21dd84ebc..48277ec28ad 100755 --- a/scripts/pythondeps +++ b/scripts/pythondeps @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Determine dependencies of python scripts or available python modules in a search path. diff --git a/scripts/sstate-diff-machines.sh b/scripts/sstate-diff-machines.sh index 8b64e11be1c..5ed413b2ee7 100755 --- a/scripts/sstate-diff-machines.sh +++ b/scripts/sstate-diff-machines.sh @@ -1,5 +1,7 @@ #!/bin/bash # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Used to compare sstate checksums between MACHINES. diff --git a/scripts/sstate-sysroot-cruft.sh b/scripts/sstate-sysroot-cruft.sh index 9c948e932de..b2002badfbe 100755 --- a/scripts/sstate-sysroot-cruft.sh +++ b/scripts/sstate-sysroot-cruft.sh @@ -1,5 +1,7 @@ #!/bin/sh # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Used to find files installed in sysroot which are not tracked by sstate manifest diff --git a/scripts/sysroot-relativelinks.py b/scripts/sysroot-relativelinks.py index 56e36f3ad54..ccb3c867f01 100755 --- a/scripts/sysroot-relativelinks.py +++ b/scripts/sysroot-relativelinks.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/task-time b/scripts/task-time index bcd1e258175..8f71b29b774 100755 --- a/scripts/task-time +++ b/scripts/task-time @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index ec2374f183e..fc3677c6ed0 100755 --- a/scripts/verify-bashisms +++ b/scripts/verify-bashisms @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # From patchwork Wed Aug 10 19:45:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 11249 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26778C3F6B0 for ; Wed, 10 Aug 2022 19:45:26 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web09.2828.1660160716304288796 for ; Wed, 10 Aug 2022 12:45:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=CoUDMDZU; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f45.google.com with SMTP id z12so18895497wrs.9 for ; Wed, 10 Aug 2022 12:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc; bh=77LH8hO/Y/9rOoRiHeXD3gijQ6Srz8yVw/MhJ9U01hU=; b=CoUDMDZUgpG1c5aB+LqiXu4GxQe4AR4UhQ53zXWEER1GfOL4NYi9ZjZvfphJfcAl10 5ivMqeJmLfGpwQHfWdehicPFn1tBIAz0rKNg2sbb/thB7xsttMgyVw3a5B4PfThclLWy 0Cjhox9X36hp70IJidyDPMYjKETsQPBcSZ5lI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=77LH8hO/Y/9rOoRiHeXD3gijQ6Srz8yVw/MhJ9U01hU=; b=wyQckz5EQj5sUhHStJ3nVDXS5VCQEZDbTrLPG24bqHL+/rgLeqFz2LBeFJaFiopzlJ GfLZ1rsdsYSrC9A/i+OmWj8LCyPxMSrPfWzvx9ih9UAbIacBPQXg7ykVWrUIMxLQoNcu l2KyfySTfj5H6Soxabt1gED5+DeVmTWbFnVbzMkaTn7u/1tMz+AwK4L46W47SXoRnWNb PvhU+YVAgtTyiiaK74voV/dbi6sv0G6dwTxbjz4Q19k425vxXd+5/v9NEcoa1pphSgow a71MrQn+ygBPOIxezSD4mgrVn+zCdaLo+ORyk2VWryglm106aDBiELgmUZ7w8LWR7re7 jz3A== X-Gm-Message-State: ACgBeo0zJ92mvGg9+fv5cAGGgRTElcvtgpbtHYPfj7FgBxzSIi+A6pJY xqwxTU6MwNlDTl7EXZ5n3kGUoIK0/rlRdA== X-Google-Smtp-Source: AA6agR7TYrjVWr5YojMpJd4t2Of65Eg/78oZ81qtXqNfnSPtbJCEvpvWQeRk8BMBorH59Dkfw4Lfew== X-Received: by 2002:a05:6000:15c6:b0:222:ca5b:3868 with SMTP id y6-20020a05600015c600b00222ca5b3868mr9764798wry.152.1660160715943; Wed, 10 Aug 2022 12:45:15 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:bdb5:cbd6:cc51:991]) by smtp.gmail.com with ESMTPSA id l21-20020a1ced15000000b0039747cf8354sm3240823wmh.39.2022.08.10.12.45.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 12:45:14 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/5] classes: Add SPDX license identifiers Date: Wed, 10 Aug 2022 20:45:09 +0100 Message-Id: <20220810194510.484900-4-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> References: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 10 Aug 2022 19:45:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/169205 As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. Signed-off-by: Richard Purdie --- meta/classes-global/base.bbclass | 2 ++ meta/classes-global/buildstats.bbclass | 2 ++ meta/classes-global/debian.bbclass | 2 ++ meta/classes-global/devshell.bbclass | 2 ++ meta/classes-global/license.bbclass | 2 ++ meta/classes-global/package.bbclass | 2 ++ meta/classes-global/package_deb.bbclass | 2 ++ meta/classes-global/package_ipk.bbclass | 2 ++ meta/classes-global/package_pkgdata.bbclass | 2 ++ meta/classes-global/package_rpm.bbclass | 2 ++ meta/classes-global/package_tar.bbclass | 2 ++ meta/classes-global/packagedata.bbclass | 2 ++ meta/classes-global/patch.bbclass | 2 ++ meta/classes-global/remove-libtool.bbclass | 2 ++ meta/classes-global/sanity.bbclass | 2 ++ meta/classes-global/sstate.bbclass | 2 ++ meta/classes-global/staging.bbclass | 2 ++ meta/classes-global/uninative.bbclass | 2 ++ meta/classes-global/utility-tasks.bbclass | 2 ++ meta/classes-global/utils.bbclass | 2 ++ meta/classes-recipe/allarch.bbclass | 2 ++ meta/classes-recipe/autotools-brokensep.bbclass | 2 ++ meta/classes-recipe/autotools.bbclass | 2 ++ meta/classes-recipe/baremetal-image.bbclass | 2 ++ meta/classes-recipe/bash-completion.bbclass | 2 ++ meta/classes-recipe/bin_package.bbclass | 2 ++ meta/classes-recipe/binconfig-disabled.bbclass | 2 ++ meta/classes-recipe/binconfig.bbclass | 2 ++ meta/classes-recipe/cargo.bbclass | 2 ++ meta/classes-recipe/cargo_common.bbclass | 2 ++ meta/classes-recipe/cmake.bbclass | 2 ++ meta/classes-recipe/cml1.bbclass | 2 ++ meta/classes-recipe/compress_doc.bbclass | 2 ++ meta/classes-recipe/cpan-base.bbclass | 2 ++ meta/classes-recipe/cpan.bbclass | 2 ++ meta/classes-recipe/cpan_build.bbclass | 2 ++ meta/classes-recipe/deploy.bbclass | 2 ++ meta/classes-recipe/dos2unix.bbclass | 2 ++ meta/classes-recipe/externalsrc.bbclass | 3 ++- meta/classes-recipe/fontcache.bbclass | 2 ++ meta/classes-recipe/gconf.bbclass | 2 ++ meta/classes-recipe/gettext.bbclass | 2 ++ meta/classes-recipe/image-artifact-names.bbclass | 2 ++ meta/classes-recipe/populate_sdk.bbclass | 2 ++ meta/classes-recipe/populate_sdk_base.bbclass | 2 ++ meta/classes-recipe/populate_sdk_ext.bbclass | 2 ++ meta/classes-recipe/ptest-gnome.bbclass | 2 ++ meta/classes-recipe/ptest-perl.bbclass | 2 ++ meta/classes-recipe/ptest.bbclass | 2 ++ meta/classes-recipe/pypi.bbclass | 2 ++ meta/classes-recipe/python3-dir.bbclass | 2 ++ meta/classes-recipe/python3native.bbclass | 2 ++ meta/classes-recipe/python3targetconfig.bbclass | 2 ++ meta/classes-recipe/python_flit_core.bbclass | 2 ++ meta/classes-recipe/python_hatchling.bbclass | 2 ++ meta/classes-recipe/python_pep517.bbclass | 2 ++ meta/classes-recipe/python_poetry_core.bbclass | 2 ++ meta/classes-recipe/python_pyo3.bbclass | 2 ++ meta/classes-recipe/python_setuptools3_rust.bbclass | 2 ++ meta/classes-recipe/python_setuptools_build_meta.bbclass | 2 ++ meta/classes-recipe/qemu.bbclass | 2 ++ meta/classes-recipe/qemuboot.bbclass | 2 ++ meta/classes-recipe/rootfs-postcommands.bbclass | 2 ++ meta/classes-recipe/rootfs_deb.bbclass | 2 ++ meta/classes-recipe/rootfs_ipk.bbclass | 2 ++ meta/classes-recipe/rootfs_rpm.bbclass | 2 ++ meta/classes-recipe/rootfsdebugfiles.bbclass | 2 ++ meta/classes-recipe/rust-bin.bbclass | 2 ++ meta/classes-recipe/rust-common.bbclass | 2 ++ meta/classes-recipe/rust-target-config.bbclass | 2 ++ meta/classes-recipe/rust.bbclass | 2 ++ meta/classes-recipe/siteinfo.bbclass | 2 ++ meta/classes-recipe/testimage.bbclass | 2 +- meta/classes-recipe/testsdk.bbclass | 2 +- meta/classes-recipe/texinfo.bbclass | 2 ++ meta/classes-recipe/toolchain-scripts-base.bbclass | 2 ++ meta/classes-recipe/toolchain-scripts.bbclass | 2 ++ meta/classes-recipe/uboot-config.bbclass | 3 +++ meta/classes-recipe/uboot-extlinux-config.bbclass | 2 +- meta/classes-recipe/uboot-sign.bbclass | 2 ++ meta/classes-recipe/update-alternatives.bbclass | 2 ++ meta/classes-recipe/update-rc.d.bbclass | 2 ++ meta/classes-recipe/useradd.bbclass | 2 ++ meta/classes-recipe/useradd_base.bbclass | 2 ++ meta/classes-recipe/vala.bbclass | 2 ++ meta/classes-recipe/waf.bbclass | 2 ++ meta/classes-recipe/xmlcatalog.bbclass | 2 ++ meta/classes/archiver.bbclass | 2 ++ meta/classes/buildhistory.bbclass | 2 ++ meta/classes/buildstats-summary.bbclass | 2 ++ meta/classes/ccache.bbclass | 2 ++ meta/classes/ccmake.bbclass | 2 ++ meta/classes/chrpath.bbclass | 2 ++ meta/classes/copyleft_compliance.bbclass | 2 ++ meta/classes/copyleft_filter.bbclass | 2 ++ meta/classes/core-image.bbclass | 2 ++ meta/classes/cross-canadian.bbclass | 2 ++ meta/classes/cross.bbclass | 2 ++ meta/classes/crosssdk.bbclass | 2 ++ meta/classes/cve-check.bbclass | 2 ++ meta/classes/devicetree.bbclass | 2 ++ meta/classes/devtool-source.bbclass | 2 ++ meta/classes/devupstream.bbclass | 2 ++ meta/classes/distro_features_check.bbclass | 2 ++ meta/classes/distrooverrides.bbclass | 2 ++ meta/classes/extrausers.bbclass | 2 ++ meta/classes/features_check.bbclass | 3 +++ meta/classes/fs-uuid.bbclass | 2 ++ meta/classes/gi-docgen.bbclass | 2 ++ meta/classes/gio-module-cache.bbclass | 2 ++ meta/classes/glide.bbclass | 2 ++ meta/classes/gnomebase.bbclass | 2 ++ meta/classes/go-mod.bbclass | 2 ++ meta/classes/go-ptest.bbclass | 2 ++ meta/classes/go.bbclass | 2 ++ meta/classes/goarch.bbclass | 2 ++ meta/classes/gobject-introspection-data.bbclass | 2 ++ meta/classes/gobject-introspection.bbclass | 2 ++ meta/classes/grub-efi-cfg.bbclass | 3 +-- meta/classes/grub-efi.bbclass | 2 ++ meta/classes/gsettings.bbclass | 2 ++ meta/classes/gtk-doc.bbclass | 2 ++ meta/classes/gtk-icon-cache.bbclass | 2 ++ meta/classes/gtk-immodules-cache.bbclass | 2 ++ meta/classes/icecc.bbclass | 2 ++ meta/classes/image-buildinfo.bbclass | 2 +- meta/classes/image-combined-dbg.bbclass | 2 ++ meta/classes/image-container.bbclass | 2 ++ meta/classes/image-live.bbclass | 5 +++-- meta/classes/image-postinst-intercepts.bbclass | 2 ++ meta/classes/image.bbclass | 2 ++ meta/classes/image_types.bbclass | 2 ++ meta/classes/image_types_wic.bbclass | 2 ++ meta/classes/insane.bbclass | 2 ++ meta/classes/kernel-arch.bbclass | 2 ++ meta/classes/kernel-artifact-names.bbclass | 2 ++ meta/classes/kernel-devicetree.bbclass | 2 ++ meta/classes/kernel-fitimage.bbclass | 2 ++ meta/classes/kernel-grub.bbclass | 2 ++ meta/classes/kernel-module-split.bbclass | 2 ++ meta/classes/kernel-uboot.bbclass | 2 ++ meta/classes/kernel-uimage.bbclass | 2 ++ meta/classes/kernel-yocto.bbclass | 2 ++ meta/classes/kernel.bbclass | 2 ++ meta/classes/kernelsrc.bbclass | 2 ++ meta/classes/lib_package.bbclass | 2 ++ meta/classes/libc-package.bbclass | 2 ++ meta/classes/license_image.bbclass | 2 ++ meta/classes/linux-dummy.bbclass | 2 ++ meta/classes/linux-kernel-base.bbclass | 2 ++ meta/classes/linuxloader.bbclass | 2 ++ meta/classes/live-vm-common.bbclass | 2 ++ meta/classes/logging.bbclass | 2 ++ meta/classes/manpages.bbclass | 2 ++ meta/classes/mcextend.bbclass | 2 ++ meta/classes/meson-routines.bbclass | 2 ++ meta/classes/meson.bbclass | 2 ++ meta/classes/metadata_scm.bbclass | 2 ++ meta/classes/migrate_localcount.bbclass | 2 ++ meta/classes/mime-xdg.bbclass | 1 + meta/classes/mime.bbclass | 2 ++ meta/classes/mirrors.bbclass | 2 ++ meta/classes/module-base.bbclass | 2 ++ meta/classes/module.bbclass | 2 ++ meta/classes/multilib.bbclass | 2 ++ meta/classes/multilib_global.bbclass | 2 ++ meta/classes/multilib_header.bbclass | 2 ++ meta/classes/multilib_script.bbclass | 2 ++ meta/classes/native.bbclass | 2 ++ meta/classes/nativesdk.bbclass | 2 ++ meta/classes/nopackages.bbclass | 2 ++ meta/classes/oelint.bbclass | 2 ++ meta/classes/overlayfs-etc.bbclass | 2 ++ meta/classes/overlayfs.bbclass | 2 ++ meta/classes/own-mirrors.bbclass | 2 ++ meta/classes/packagegroup.bbclass | 2 ++ meta/classes/perl-version.bbclass | 2 ++ meta/classes/perlnative.bbclass | 2 ++ meta/classes/pixbufcache.bbclass | 2 ++ meta/classes/pkgconfig.bbclass | 2 ++ meta/classes/prexport.bbclass | 2 ++ meta/classes/primport.bbclass | 2 ++ meta/classes/recipe_sanity.bbclass | 2 ++ meta/classes/relative_symlinks.bbclass | 2 ++ meta/classes/relocatable.bbclass | 2 ++ meta/classes/report-error.bbclass | 3 ++- meta/classes/rm_work.bbclass | 2 ++ meta/classes/rm_work_and_downloads.bbclass | 3 +-- meta/classes/scons.bbclass | 2 ++ meta/classes/setuptools3-base.bbclass | 2 ++ meta/classes/setuptools3.bbclass | 2 ++ meta/classes/setuptools3_legacy.bbclass | 2 ++ meta/classes/sign_ipk.bbclass | 2 ++ meta/classes/sign_package_feed.bbclass | 2 ++ meta/classes/sign_rpm.bbclass | 2 ++ meta/classes/siteconfig.bbclass | 2 ++ meta/classes/syslinux.bbclass | 4 ++-- meta/classes/systemd-boot-cfg.bbclass | 2 ++ meta/classes/systemd-boot.bbclass | 2 +- meta/classes/systemd.bbclass | 2 ++ meta/classes/terminal.bbclass | 2 ++ meta/classes/testexport.bbclass | 3 +-- meta/classes/toaster.bbclass | 2 +- meta/classes/typecheck.bbclass | 2 ++ meta/classes/upstream-version-is-even.bbclass | 2 ++ meta/classes/useradd-staticids.bbclass | 2 ++ meta/classes/yocto-check-layer.bbclass | 2 ++ 207 files changed, 407 insertions(+), 18 deletions(-) diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index 1aa0978f650..8203f545192 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# BB_DEFAULT_TASK ?= "build" CLASSOVERRIDE ?= "class-target" diff --git a/meta/classes-global/buildstats.bbclass b/meta/classes-global/buildstats.bbclass index 0e4e340ad17..f49a67aa4f0 100644 --- a/meta/classes-global/buildstats.bbclass +++ b/meta/classes-global/buildstats.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# BUILDSTATS_BASE = "${TMPDIR}/buildstats/" diff --git a/meta/classes-global/debian.bbclass b/meta/classes-global/debian.bbclass index 2fd1b987dc0..7135d74837c 100644 --- a/meta/classes-global/debian.bbclass +++ b/meta/classes-global/debian.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Debian package renaming only occurs when a package is built # We therefore have to make sure we build all runtime packages diff --git a/meta/classes-global/devshell.bbclass b/meta/classes-global/devshell.bbclass index 4545d988c16..03af56b7a22 100644 --- a/meta/classes-global/devshell.bbclass +++ b/meta/classes-global/devshell.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit terminal diff --git a/meta/classes-global/license.bbclass b/meta/classes-global/license.bbclass index f08bacff120..560acb8b6f1 100644 --- a/meta/classes-global/license.bbclass +++ b/meta/classes-global/license.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Populates LICENSE_DIRECTORY as set in distro config with the license files as set by # LIC_FILES_CHKSUM. diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index a4b62638840..418400da8c9 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Packaging process diff --git a/meta/classes-global/package_deb.bbclass b/meta/classes-global/package_deb.bbclass index a9b8ba01184..ec7e10dbc99 100644 --- a/meta/classes-global/package_deb.bbclass +++ b/meta/classes-global/package_deb.bbclass @@ -1,6 +1,8 @@ # # Copyright 2006-2008 OpenedHand Ltd. # +# SPDX-License-Identifier: MIT +# inherit package diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass index 552361e8fdb..c43592af7e3 100644 --- a/meta/classes-global/package_ipk.bbclass +++ b/meta/classes-global/package_ipk.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit package diff --git a/meta/classes-global/package_pkgdata.bbclass b/meta/classes-global/package_pkgdata.bbclass index e495eaf6bd3..f653bd92408 100644 --- a/meta/classes-global/package_pkgdata.bbclass +++ b/meta/classes-global/package_pkgdata.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# WORKDIR_PKGDATA = "${WORKDIR}/pkgdata-sysroot" diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass index a24ffb719a2..63c1b077a30 100644 --- a/meta/classes-global/package_rpm.bbclass +++ b/meta/classes-global/package_rpm.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit package diff --git a/meta/classes-global/package_tar.bbclass b/meta/classes-global/package_tar.bbclass index 0c5c3e58e80..de995f97473 100644 --- a/meta/classes-global/package_tar.bbclass +++ b/meta/classes-global/package_tar.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit package diff --git a/meta/classes-global/packagedata.bbclass b/meta/classes-global/packagedata.bbclass index 89a015b8790..9f72c01d774 100644 --- a/meta/classes-global/packagedata.bbclass +++ b/meta/classes-global/packagedata.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# python read_subpackage_metadata () { import oe.packagedata diff --git a/meta/classes-global/patch.bbclass b/meta/classes-global/patch.bbclass index 8de70254919..e3157c7b188 100644 --- a/meta/classes-global/patch.bbclass +++ b/meta/classes-global/patch.bbclass @@ -1,4 +1,6 @@ # Copyright (C) 2006 OpenedHand LTD +# +# SPDX-License-Identifier: MIT # Point to an empty file so any user's custom settings don't break things QUILTRCFILE ?= "${STAGING_ETCDIR_NATIVE}/quiltrc" diff --git a/meta/classes-global/remove-libtool.bbclass b/meta/classes-global/remove-libtool.bbclass index ef79151aa91..8e987388c80 100644 --- a/meta/classes-global/remove-libtool.bbclass +++ b/meta/classes-global/remove-libtool.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class removes libtool .la files after do_install diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index f1ebdf5684a..4104694478e 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Sanity check the users setup for common misconfigurations diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 5009ce825c8..cd77c58dbf8 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# SSTATE_VERSION = "10" diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass index 55df9d1c915..5a1f43de780 100644 --- a/meta/classes-global/staging.bbclass +++ b/meta/classes-global/staging.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # These directories will be staged in the sysroot SYSROOT_DIRS = " \ diff --git a/meta/classes-global/uninative.bbclass b/meta/classes-global/uninative.bbclass index 76999eb6530..4b7fb364498 100644 --- a/meta/classes-global/uninative.bbclass +++ b/meta/classes-global/uninative.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# UNINATIVE_LOADER ?= "${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux/lib/${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', '', d)}${@bb.utils.contains('BUILD_ARCH', 'i686', 'ld-linux.so.2', '', d)}${@bb.utils.contains('BUILD_ARCH', 'aarch64', 'ld-linux-aarch64.so.1', '', d)}${@bb.utils.contains('BUILD_ARCH', 'ppc64le', 'ld64.so.2', '', d)}" UNINATIVE_STAGING_DIR ?= "${STAGING_DIR}" diff --git a/meta/classes-global/utility-tasks.bbclass b/meta/classes-global/utility-tasks.bbclass index 1275a45861f..ae2da330b86 100644 --- a/meta/classes-global/utility-tasks.bbclass +++ b/meta/classes-global/utility-tasks.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# addtask listtasks do_listtasks[nostamp] = "1" diff --git a/meta/classes-global/utils.bbclass b/meta/classes-global/utils.bbclass index 27f6f8d3248..8d797ff126c 100644 --- a/meta/classes-global/utils.bbclass +++ b/meta/classes-global/utils.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# oe_soinstall() { # Purpose: Install shared library file and diff --git a/meta/classes-recipe/allarch.bbclass b/meta/classes-recipe/allarch.bbclass index 630cd070f6f..9138f40ed84 100644 --- a/meta/classes-recipe/allarch.bbclass +++ b/meta/classes-recipe/allarch.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class is used for architecture independent recipes/data files (usually scripts) diff --git a/meta/classes-recipe/autotools-brokensep.bbclass b/meta/classes-recipe/autotools-brokensep.bbclass index ac9a8d07c90..a0fb4b7b503 100644 --- a/meta/classes-recipe/autotools-brokensep.bbclass +++ b/meta/classes-recipe/autotools-brokensep.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Autotools class for recipes where separate build dir doesn't work # Ideally we should fix software so it does work. Standard autotools supports diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index c77ba71a3a0..a4c1c4be41d 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def get_autotools_dep(d): if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): diff --git a/meta/classes-recipe/baremetal-image.bbclass b/meta/classes-recipe/baremetal-image.bbclass index 10ca390c48a..3a979f2ed12 100644 --- a/meta/classes-recipe/baremetal-image.bbclass +++ b/meta/classes-recipe/baremetal-image.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Baremetal image class # diff --git a/meta/classes-recipe/bash-completion.bbclass b/meta/classes-recipe/bash-completion.bbclass index cefd7dd18d8..b656e76c09a 100644 --- a/meta/classes-recipe/bash-completion.bbclass +++ b/meta/classes-recipe/bash-completion.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# DEPENDS:append:class-target = " bash-completion" diff --git a/meta/classes-recipe/bin_package.bbclass b/meta/classes-recipe/bin_package.bbclass index 9d1b6101d1f..3a1befc29c5 100644 --- a/meta/classes-recipe/bin_package.bbclass +++ b/meta/classes-recipe/bin_package.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Common variable and task for the binary package recipe. # Basic principle: diff --git a/meta/classes-recipe/binconfig-disabled.bbclass b/meta/classes-recipe/binconfig-disabled.bbclass index c8f76b790ba..cbe2078e0f3 100644 --- a/meta/classes-recipe/binconfig-disabled.bbclass +++ b/meta/classes-recipe/binconfig-disabled.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Class to disable binconfig files instead of installing them diff --git a/meta/classes-recipe/binconfig.bbclass b/meta/classes-recipe/binconfig.bbclass index f50ed36d503..427dba7f1f7 100644 --- a/meta/classes-recipe/binconfig.bbclass +++ b/meta/classes-recipe/binconfig.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# FILES:${PN}-dev += "${bindir}/*-config" diff --git a/meta/classes-recipe/cargo.bbclass b/meta/classes-recipe/cargo.bbclass index d36c3d5071f..d1e83518b58 100644 --- a/meta/classes-recipe/cargo.bbclass +++ b/meta/classes-recipe/cargo.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# ## ## Purpose: diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index 51b1ebb77fd..eec7710a4c8 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# ## ## Purpose: diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass index cd7031b82dd..554b948c32a 100644 --- a/meta/classes-recipe/cmake.bbclass +++ b/meta/classes-recipe/cmake.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Path to the CMake file to process. OECMAKE_SOURCEPATH ??= "${S}" diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass index 8c21dff4d27..b79091383de 100644 --- a/meta/classes-recipe/cml1.bbclass +++ b/meta/classes-recipe/cml1.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # returns all the elements from the src uri that are .cfg files def find_cfgs(d): diff --git a/meta/classes-recipe/compress_doc.bbclass b/meta/classes-recipe/compress_doc.bbclass index 2298b6ed0c7..d603caf858b 100644 --- a/meta/classes-recipe/compress_doc.bbclass +++ b/meta/classes-recipe/compress_doc.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Compress man pages in ${mandir} and info pages in ${infodir} # diff --git a/meta/classes-recipe/cpan-base.bbclass b/meta/classes-recipe/cpan-base.bbclass index 2c53eed3c4e..1db0a4ded62 100644 --- a/meta/classes-recipe/cpan-base.bbclass +++ b/meta/classes-recipe/cpan-base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # cpan-base providers various perl related information needed for building diff --git a/meta/classes-recipe/cpan.bbclass b/meta/classes-recipe/cpan.bbclass index 7ab33423c92..bb76a5b3261 100644 --- a/meta/classes-recipe/cpan.bbclass +++ b/meta/classes-recipe/cpan.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This is for perl modules that use the old Makefile.PL build system diff --git a/meta/classes-recipe/cpan_build.bbclass b/meta/classes-recipe/cpan_build.bbclass index 0ad7d0b3c91..026859b6c78 100644 --- a/meta/classes-recipe/cpan_build.bbclass +++ b/meta/classes-recipe/cpan_build.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This is for perl modules that use the new Build.PL build system diff --git a/meta/classes-recipe/deploy.bbclass b/meta/classes-recipe/deploy.bbclass index 7c28e6934cf..f56fe98d6da 100644 --- a/meta/classes-recipe/deploy.bbclass +++ b/meta/classes-recipe/deploy.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# DEPLOYDIR = "${WORKDIR}/deploy-${PN}" SSTATETASKS += "do_deploy" diff --git a/meta/classes-recipe/dos2unix.bbclass b/meta/classes-recipe/dos2unix.bbclass index b02db9b23a7..18e89b1cf2a 100644 --- a/meta/classes-recipe/dos2unix.bbclass +++ b/meta/classes-recipe/dos2unix.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for use to convert all CRLF line terminators to LF # provided that some projects are being developed/maintained diff --git a/meta/classes-recipe/externalsrc.bbclass b/meta/classes-recipe/externalsrc.bbclass index 90792a737b1..51dbe9ea5a2 100644 --- a/meta/classes-recipe/externalsrc.bbclass +++ b/meta/classes-recipe/externalsrc.bbclass @@ -2,7 +2,8 @@ # Author: Richard Purdie # Some code and influence taken from srctree.bbclass: # Copyright (C) 2009 Chris Larson -# Released under the MIT license (see COPYING.MIT for the terms) +# +# SPDX-License-Identifier: MIT # # externalsrc.bbclass enables use of an existing source tree, usually external to # the build system to build a piece of software rather than the usual fetch/unpack/patch diff --git a/meta/classes-recipe/fontcache.bbclass b/meta/classes-recipe/fontcache.bbclass index 2ca51c53379..0d496b72ddc 100644 --- a/meta/classes-recipe/fontcache.bbclass +++ b/meta/classes-recipe/fontcache.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class will generate the proper postinst/postrm scriptlets for font diff --git a/meta/classes-recipe/gconf.bbclass b/meta/classes-recipe/gconf.bbclass index d4d94583abd..b81851bc78e 100644 --- a/meta/classes-recipe/gconf.bbclass +++ b/meta/classes-recipe/gconf.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# DEPENDS += "gconf" PACKAGE_WRITE_DEPS += "gconf-native" diff --git a/meta/classes-recipe/gettext.bbclass b/meta/classes-recipe/gettext.bbclass index 4aecbb44130..c313885d52e 100644 --- a/meta/classes-recipe/gettext.bbclass +++ b/meta/classes-recipe/gettext.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def gettext_dependencies(d): if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): diff --git a/meta/classes-recipe/image-artifact-names.bbclass b/meta/classes-recipe/image-artifact-names.bbclass index 425683a7e13..5c4e746b903 100644 --- a/meta/classes-recipe/image-artifact-names.bbclass +++ b/meta/classes-recipe/image-artifact-names.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# ################################################################## # Specific image creation and rootfs population info. diff --git a/meta/classes-recipe/populate_sdk.bbclass b/meta/classes-recipe/populate_sdk.bbclass index 3e3a290ef22..caeef5d2b2a 100644 --- a/meta/classes-recipe/populate_sdk.bbclass +++ b/meta/classes-recipe/populate_sdk.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # The majority of populate_sdk is located in populate_sdk_base # This chunk simply facilitates compatibility with SDK only recipes. diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass index df8ef8ef127..0be108ad98e 100644 --- a/meta/classes-recipe/populate_sdk_base.bbclass +++ b/meta/classes-recipe/populate_sdk_base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PACKAGES = "" diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index a28588a384e..56e24c4eedc 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Extensible SDK diff --git a/meta/classes-recipe/ptest-gnome.bbclass b/meta/classes-recipe/ptest-gnome.bbclass index d68df978d7f..d4ad22d85d5 100644 --- a/meta/classes-recipe/ptest-gnome.bbclass +++ b/meta/classes-recipe/ptest-gnome.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit ptest diff --git a/meta/classes-recipe/ptest-perl.bbclass b/meta/classes-recipe/ptest-perl.bbclass index fba13934c91..c283fdd1fc4 100644 --- a/meta/classes-recipe/ptest-perl.bbclass +++ b/meta/classes-recipe/ptest-perl.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit ptest diff --git a/meta/classes-recipe/ptest.bbclass b/meta/classes-recipe/ptest.bbclass index bdb50ff39a0..0383206a6dd 100644 --- a/meta/classes-recipe/ptest.bbclass +++ b/meta/classes-recipe/ptest.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# SUMMARY:${PN}-ptest ?= "${SUMMARY} - Package test files" DESCRIPTION:${PN}-ptest ?= "${DESCRIPTION} \ diff --git a/meta/classes-recipe/pypi.bbclass b/meta/classes-recipe/pypi.bbclass index b59f0d33ace..aab04c638fa 100644 --- a/meta/classes-recipe/pypi.bbclass +++ b/meta/classes-recipe/pypi.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def pypi_package(d): bpn = d.getVar('BPN') diff --git a/meta/classes-recipe/python3-dir.bbclass b/meta/classes-recipe/python3-dir.bbclass index f98380d331d..912c67253c6 100644 --- a/meta/classes-recipe/python3-dir.bbclass +++ b/meta/classes-recipe/python3-dir.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PYTHON_BASEVERSION = "3.10" PYTHON_ABI = "" diff --git a/meta/classes-recipe/python3native.bbclass b/meta/classes-recipe/python3native.bbclass index ec7402d9043..654a002fdb9 100644 --- a/meta/classes-recipe/python3native.bbclass +++ b/meta/classes-recipe/python3native.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python3-dir diff --git a/meta/classes-recipe/python3targetconfig.bbclass b/meta/classes-recipe/python3targetconfig.bbclass index ad3629180d3..3f89e5e09e2 100644 --- a/meta/classes-recipe/python3targetconfig.bbclass +++ b/meta/classes-recipe/python3targetconfig.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python3native diff --git a/meta/classes-recipe/python_flit_core.bbclass b/meta/classes-recipe/python_flit_core.bbclass index 0f5301084f8..a0b1feb70ad 100644 --- a/meta/classes-recipe/python_flit_core.bbclass +++ b/meta/classes-recipe/python_flit_core.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python_pep517 python3native python3-dir setuptools3-base diff --git a/meta/classes-recipe/python_hatchling.bbclass b/meta/classes-recipe/python_hatchling.bbclass index 502ec877c1c..b9e6582eb50 100644 --- a/meta/classes-recipe/python_hatchling.bbclass +++ b/meta/classes-recipe/python_hatchling.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python_pep517 python3native python3-dir setuptools3-base diff --git a/meta/classes-recipe/python_pep517.bbclass b/meta/classes-recipe/python_pep517.bbclass index c001b7d1572..202dde0bc31 100644 --- a/meta/classes-recipe/python_pep517.bbclass +++ b/meta/classes-recipe/python_pep517.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Common infrastructure for Python packages that use PEP-517 compliant packaging. # https://www.python.org/dev/peps/pep-0517/ diff --git a/meta/classes-recipe/python_poetry_core.bbclass b/meta/classes-recipe/python_poetry_core.bbclass index 5de90a7be34..c7dc5d0382e 100644 --- a/meta/classes-recipe/python_poetry_core.bbclass +++ b/meta/classes-recipe/python_poetry_core.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python_pep517 python3native setuptools3-base diff --git a/meta/classes-recipe/python_pyo3.bbclass b/meta/classes-recipe/python_pyo3.bbclass index 3b938667b53..9a32eac6fd3 100644 --- a/meta/classes-recipe/python_pyo3.bbclass +++ b/meta/classes-recipe/python_pyo3.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class helps make sure that Python extensions built with PyO3 diff --git a/meta/classes-recipe/python_setuptools3_rust.bbclass b/meta/classes-recipe/python_setuptools3_rust.bbclass index 0a4eaddc114..d6ce2edb963 100644 --- a/meta/classes-recipe/python_setuptools3_rust.bbclass +++ b/meta/classes-recipe/python_setuptools3_rust.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python_pyo3 setuptools3 diff --git a/meta/classes-recipe/python_setuptools_build_meta.bbclass b/meta/classes-recipe/python_setuptools_build_meta.bbclass index 346b13337e2..4c84d1e8d0b 100644 --- a/meta/classes-recipe/python_setuptools_build_meta.bbclass +++ b/meta/classes-recipe/python_setuptools_build_meta.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit setuptools3-base python_pep517 diff --git a/meta/classes-recipe/qemu.bbclass b/meta/classes-recipe/qemu.bbclass index 924457a4977..874b15127cb 100644 --- a/meta/classes-recipe/qemu.bbclass +++ b/meta/classes-recipe/qemu.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class contains functions for recipes that need QEMU or test for its diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass index 54cfcd25f28..018c000ca20 100644 --- a/meta/classes-recipe/qemuboot.bbclass +++ b/meta/classes-recipe/qemuboot.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Help runqemu boot target board, "QB" means Qemu Boot, the following # vars can be set in conf files, such as to make it can be diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass b/meta/classes-recipe/rootfs-postcommands.bbclass index 49338eba228..bf1e992bb27 100644 --- a/meta/classes-recipe/rootfs-postcommands.bbclass +++ b/meta/classes-recipe/rootfs-postcommands.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Zap the root password if debug-tweaks and empty-root-password features are not enabled ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'empty-root-password' ], "", "zap_empty_root_password; ",d)}' diff --git a/meta/classes-recipe/rootfs_deb.bbclass b/meta/classes-recipe/rootfs_deb.bbclass index 0469ba7059a..c5c6426abb8 100644 --- a/meta/classes-recipe/rootfs_deb.bbclass +++ b/meta/classes-recipe/rootfs_deb.bbclass @@ -1,6 +1,8 @@ # # Copyright 2006-2007 Openedhand Ltd. # +# SPDX-License-Identifier: MIT +# ROOTFS_PKGMANAGE = "dpkg apt" diff --git a/meta/classes-recipe/rootfs_ipk.bbclass b/meta/classes-recipe/rootfs_ipk.bbclass index 48732e97841..a48ad07dfc8 100644 --- a/meta/classes-recipe/rootfs_ipk.bbclass +++ b/meta/classes-recipe/rootfs_ipk.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Creates a root filesystem out of IPKs diff --git a/meta/classes-recipe/rootfs_rpm.bbclass b/meta/classes-recipe/rootfs_rpm.bbclass index 629e1d41a97..6eccd5a9599 100644 --- a/meta/classes-recipe/rootfs_rpm.bbclass +++ b/meta/classes-recipe/rootfs_rpm.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Creates a root filesystem out of rpm packages diff --git a/meta/classes-recipe/rootfsdebugfiles.bbclass b/meta/classes-recipe/rootfsdebugfiles.bbclass index 98cea38de04..cbcf876479e 100644 --- a/meta/classes-recipe/rootfsdebugfiles.bbclass +++ b/meta/classes-recipe/rootfsdebugfiles.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class installs additional files found on the build host # directly into the rootfs. diff --git a/meta/classes-recipe/rust-bin.bbclass b/meta/classes-recipe/rust-bin.bbclass index 369c574ed0d..b8e7ef8191a 100644 --- a/meta/classes-recipe/rust-bin.bbclass +++ b/meta/classes-recipe/rust-bin.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit rust diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-recipe/rust-common.bbclass index 344e6586154..93bf6c8be64 100644 --- a/meta/classes-recipe/rust-common.bbclass +++ b/meta/classes-recipe/rust-common.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python3native inherit rust-target-config diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index a435523e4b2..35d83e0cd26 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Right now this is focused on arm-specific tune features. # We get away with this for now as one can only use x86-64 as the build host diff --git a/meta/classes-recipe/rust.bbclass b/meta/classes-recipe/rust.bbclass index b91de85db22..dae25cac2a5 100644 --- a/meta/classes-recipe/rust.bbclass +++ b/meta/classes-recipe/rust.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit rust-common diff --git a/meta/classes-recipe/siteinfo.bbclass b/meta/classes-recipe/siteinfo.bbclass index 2f20ad781ff..d31c9b2571a 100644 --- a/meta/classes-recipe/siteinfo.bbclass +++ b/meta/classes-recipe/siteinfo.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class exists to provide information about the targets that # may be needed by other classes and/or recipes. If you add a new diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index 7898223bce6..8d2fab21dff 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass @@ -1,6 +1,6 @@ # Copyright (C) 2013 Intel Corporation # -# Released under the MIT license (see COPYING.MIT) +# SPDX-License-Identifier: MIT inherit metadata_scm inherit image-artifact-names diff --git a/meta/classes-recipe/testsdk.bbclass b/meta/classes-recipe/testsdk.bbclass index 8b2e74f6069..fd82e6ef41d 100644 --- a/meta/classes-recipe/testsdk.bbclass +++ b/meta/classes-recipe/testsdk.bbclass @@ -1,6 +1,6 @@ # Copyright (C) 2013 - 2016 Intel Corporation # -# Released under the MIT license (see COPYING.MIT) +# SPDX-License-Identifier: MIT # testsdk.bbclass enables testing for SDK and Extensible SDK # diff --git a/meta/classes-recipe/texinfo.bbclass b/meta/classes-recipe/texinfo.bbclass index d7afbc7d6aa..380247faf57 100644 --- a/meta/classes-recipe/texinfo.bbclass +++ b/meta/classes-recipe/texinfo.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class is inherited by recipes whose upstream packages invoke the # texinfo utilities at build-time. Native and cross recipes are made to use the diff --git a/meta/classes-recipe/toolchain-scripts-base.bbclass b/meta/classes-recipe/toolchain-scripts-base.bbclass index e0719e584bc..d24a986e022 100644 --- a/meta/classes-recipe/toolchain-scripts-base.bbclass +++ b/meta/classes-recipe/toolchain-scripts-base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# #This function create a version information file toolchain_create_sdk_version () { diff --git a/meta/classes-recipe/toolchain-scripts.bbclass b/meta/classes-recipe/toolchain-scripts.bbclass index eec77805306..3cc823fe63d 100644 --- a/meta/classes-recipe/toolchain-scripts.bbclass +++ b/meta/classes-recipe/toolchain-scripts.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit toolchain-scripts-base siteinfo kernel-arch diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass index e8da8c7452a..9889d026fad 100644 --- a/meta/classes-recipe/uboot-config.bbclass +++ b/meta/classes-recipe/uboot-config.bbclass @@ -10,6 +10,9 @@ # UBOOT_MACHINE = "config" # # Copyright 2013, 2014 (C) O.S. Systems Software LTDA. +# +# SPDX-License-Identifier: MIT + def removesuffix(s, suffix): if suffix and s.endswith(suffix): diff --git a/meta/classes-recipe/uboot-extlinux-config.bbclass b/meta/classes-recipe/uboot-extlinux-config.bbclass index dcebe7ff313..86a7d30ca0c 100644 --- a/meta/classes-recipe/uboot-extlinux-config.bbclass +++ b/meta/classes-recipe/uboot-extlinux-config.bbclass @@ -54,7 +54,7 @@ # APPEND root=/dev/mmcblk2p2 rootwait rw console=${console} # # Copyright (C) 2016, O.S. Systems Software LTDA. All Rights Reserved -# Released under the MIT license (see packages/COPYING) +# SPDX-License-Identifier: MIT # # The kernel has an internal default console, which you can override with # a console=...some_tty... diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index 970f20407b7..debbf23ec60 100644 --- a/meta/classes-recipe/uboot-sign.bbclass +++ b/meta/classes-recipe/uboot-sign.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This file is part of U-Boot verified boot support and is intended to be # inherited from u-boot recipe and from kernel-fitimage.bbclass. diff --git a/meta/classes-recipe/update-alternatives.bbclass b/meta/classes-recipe/update-alternatives.bbclass index 09465898682..970d9bcd450 100644 --- a/meta/classes-recipe/update-alternatives.bbclass +++ b/meta/classes-recipe/update-alternatives.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class is used to help the alternatives system which is useful when # multiple sources provide same command. You can use update-alternatives diff --git a/meta/classes-recipe/update-rc.d.bbclass b/meta/classes-recipe/update-rc.d.bbclass index b92ff5a4fae..cb2aaba57c7 100644 --- a/meta/classes-recipe/update-rc.d.bbclass +++ b/meta/classes-recipe/update-rc.d.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# UPDATERCPN ?= "${PN}" diff --git a/meta/classes-recipe/useradd.bbclass b/meta/classes-recipe/useradd.bbclass index 2aff3eda423..4d3bd9a5f56 100644 --- a/meta/classes-recipe/useradd.bbclass +++ b/meta/classes-recipe/useradd.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit useradd_base diff --git a/meta/classes-recipe/useradd_base.bbclass b/meta/classes-recipe/useradd_base.bbclass index ee8cc6c8435..863cb7b76c5 100644 --- a/meta/classes-recipe/useradd_base.bbclass +++ b/meta/classes-recipe/useradd_base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This bbclass provides basic functionality for user/group settings. # This bbclass is intended to be inherited by useradd.bbclass and diff --git a/meta/classes-recipe/vala.bbclass b/meta/classes-recipe/vala.bbclass index 65e15013e1e..460ddb36f04 100644 --- a/meta/classes-recipe/vala.bbclass +++ b/meta/classes-recipe/vala.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Everyone needs vala-native and targets need vala, too, # because that is where target builds look for .vapi files. diff --git a/meta/classes-recipe/waf.bbclass b/meta/classes-recipe/waf.bbclass index ef24c61dd87..5fa0cc49871 100644 --- a/meta/classes-recipe/waf.bbclass +++ b/meta/classes-recipe/waf.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # avoids build breaks when using no-static-libs.inc DISABLE_STATIC = "" diff --git a/meta/classes-recipe/xmlcatalog.bbclass b/meta/classes-recipe/xmlcatalog.bbclass index 14a1094d0f2..5826d0a8b51 100644 --- a/meta/classes-recipe/xmlcatalog.bbclass +++ b/meta/classes-recipe/xmlcatalog.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# DEPENDS = "libxml2-native" diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 2262fdd652d..0710c1ec5e6 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This bbclass is used for creating archive for: diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 35db2b11927..395f594278c 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -6,6 +6,8 @@ # Copyright (C) 2011-2016 Intel Corporation # Copyright (C) 2007-2011 Koen Kooi # +# SPDX-License-Identifier: MIT +# IMAGE_CLASSES += "image-artifact-names" diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/buildstats-summary.bbclass index 716189fd305..12e8f178367 100644 --- a/meta/classes/buildstats-summary.bbclass +++ b/meta/classes/buildstats-summary.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Summarize sstate usage at the end of the build python buildstats_summary () { diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index dee6248017a..34becb69d10 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Usage: diff --git a/meta/classes/ccmake.bbclass b/meta/classes/ccmake.bbclass index 75f68cc8e39..c5b4bf62601 100644 --- a/meta/classes/ccmake.bbclass +++ b/meta/classes/ccmake.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit terminal diff --git a/meta/classes/chrpath.bbclass b/meta/classes/chrpath.bbclass index 930c53e76f6..1aecb4df662 100644 --- a/meta/classes/chrpath.bbclass +++ b/meta/classes/chrpath.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# CHRPATH_BIN ?= "chrpath" PREPROCESS_RELOCATE_DIRS ?= "" diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass index 5bf16a91069..9ff9956fe90 100644 --- a/meta/classes/copyleft_compliance.bbclass +++ b/meta/classes/copyleft_compliance.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Deploy sources for recipes for compliance with copyleft-style licenses # Defaults to using symlinks, as it's a quick operation, and one can easily diff --git a/meta/classes/copyleft_filter.bbclass b/meta/classes/copyleft_filter.bbclass index 0e93a3df42e..83cd90060d7 100644 --- a/meta/classes/copyleft_filter.bbclass +++ b/meta/classes/copyleft_filter.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Filter the license, the copyleft_should_include returns True for the # COPYLEFT_LICENSE_INCLUDE recipe, and False for the diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass index 6764035729f..4b5f2c99c4b 100644 --- a/meta/classes/core-image.bbclass +++ b/meta/classes/core-image.bbclass @@ -1,6 +1,8 @@ # Common code for generating core reference images # # Copyright (C) 2007-2011 Linux Foundation +# +# SPDX-License-Identifier: MIT # IMAGE_FEATURES control content of the core reference images # diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 23c864f6846..1670217d697 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # NOTE - When using this class the user is responsible for ensuring that # TRANSLATED_TARGET_ARCH is added into PN. This ensures that if the TARGET_ARCH # is changed, another nativesdk xxx-canadian-cross can be installed diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 5ed21302ce7..93de9a52744 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit relocatable diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index 3c5a1a3717a..824b1bcff47 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit cross diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 53790e89d14..d95465775d2 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class is used to check recipes against public CVEs. # diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass index 954582bcd35..ac1d284ccd9 100644 --- a/meta/classes/devicetree.bbclass +++ b/meta/classes/devicetree.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This bbclass implements device tree compliation for user provided device tree # sources. The compilation of the device tree sources is the same as the kernel diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass index 7a4568a0e4f..a02b1e9b0ec 100644 --- a/meta/classes/devtool-source.bbclass +++ b/meta/classes/devtool-source.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Development tool - source extraction helper class # diff --git a/meta/classes/devupstream.bbclass b/meta/classes/devupstream.bbclass index ad1061b4d12..1529cc8fca4 100644 --- a/meta/classes/devupstream.bbclass +++ b/meta/classes/devupstream.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for use in BBCLASSEXTEND to make it easier to have a single recipe that # can build both stable tarballs and snapshots from upstream source diff --git a/meta/classes/distro_features_check.bbclass b/meta/classes/distro_features_check.bbclass index db26c60fab0..1f2674fd6e9 100644 --- a/meta/classes/distro_features_check.bbclass +++ b/meta/classes/distro_features_check.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Temporarily provide fallback to the old name of the class diff --git a/meta/classes/distrooverrides.bbclass b/meta/classes/distrooverrides.bbclass index d5f3a06af48..8d9d7cda7dc 100644 --- a/meta/classes/distrooverrides.bbclass +++ b/meta/classes/distrooverrides.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Turns certain DISTRO_FEATURES into overrides with the same # name plus a df- prefix. Ensures that these special diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass index e4059872d87..94576b88729 100644 --- a/meta/classes/extrausers.bbclass +++ b/meta/classes/extrausers.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This bbclass is used for image level user/group configuration. # Inherit this class if you want to make EXTRA_USERS_PARAMS effective. diff --git a/meta/classes/features_check.bbclass b/meta/classes/features_check.bbclass index 3ef6b35baae..163a7bc3fcc 100644 --- a/meta/classes/features_check.bbclass +++ b/meta/classes/features_check.bbclass @@ -11,6 +11,9 @@ # # Copyright 2019 (C) Texas Instruments Inc. # Copyright 2013 (C) O.S. Systems Software LTDA. +# +# SPDX-License-Identifier: MIT + python () { if d.getVar('PARSE_ALL_RECIPES', False): diff --git a/meta/classes/fs-uuid.bbclass b/meta/classes/fs-uuid.bbclass index 93a3e420d54..a9e7eb8c67c 100644 --- a/meta/classes/fs-uuid.bbclass +++ b/meta/classes/fs-uuid.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Extract UUID from ${ROOTFS}, which must have been built # by the time that this function gets called. Only works diff --git a/meta/classes/gi-docgen.bbclass b/meta/classes/gi-docgen.bbclass index 3a3966c8016..8b7eaacea3f 100644 --- a/meta/classes/gi-docgen.bbclass +++ b/meta/classes/gi-docgen.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # gi-docgen is a new gnome documentation generator, which # seems to be a successor to gtk-doc: diff --git a/meta/classes/gio-module-cache.bbclass b/meta/classes/gio-module-cache.bbclass index 788ca99c1c8..d12e03c4a08 100644 --- a/meta/classes/gio-module-cache.bbclass +++ b/meta/classes/gio-module-cache.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PACKAGE_WRITE_DEPS += "qemu-native" inherit qemu diff --git a/meta/classes/glide.bbclass b/meta/classes/glide.bbclass index ee073b9fbd5..21b48fa4e0d 100644 --- a/meta/classes/glide.bbclass +++ b/meta/classes/glide.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Handle Glide Vendor Package Management use # diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass index d424091bc0e..805daafa40c 100644 --- a/meta/classes/gnomebase.bbclass +++ b/meta/classes/gnomebase.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def gnome_verdir(v): return ".".join(v.split(".")[:-1]) diff --git a/meta/classes/go-mod.bbclass b/meta/classes/go-mod.bbclass index a428471e3aa..927746a338b 100644 --- a/meta/classes/go-mod.bbclass +++ b/meta/classes/go-mod.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Handle Go Modules support # diff --git a/meta/classes/go-ptest.bbclass b/meta/classes/go-ptest.bbclass index 2493b305a59..54fcbb535d1 100644 --- a/meta/classes/go-ptest.bbclass +++ b/meta/classes/go-ptest.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit go ptest diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index d86c5859b8d..6b9748406d8 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit goarch inherit linuxloader diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index 0bfc1c1e0dc..61ead30a637 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}" BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}" diff --git a/meta/classes/gobject-introspection-data.bbclass b/meta/classes/gobject-introspection-data.bbclass index 8ec2cfe4e60..7f522a1ed32 100644 --- a/meta/classes/gobject-introspection-data.bbclass +++ b/meta/classes/gobject-introspection-data.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This variable is set to True if gobject-introspection-data is in # DISTRO_FEATURES and qemu-usermode is in MACHINE_FEATURES, and False otherwise. diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass index 91b728214a4..0c7b7d200a9 100644 --- a/meta/classes/gobject-introspection.bbclass +++ b/meta/classes/gobject-introspection.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Inherit this class in recipes to enable building their introspection files diff --git a/meta/classes/grub-efi-cfg.bbclass b/meta/classes/grub-efi-cfg.bbclass index ea21b3de3d8..52e85a3bb0e 100644 --- a/meta/classes/grub-efi-cfg.bbclass +++ b/meta/classes/grub-efi-cfg.bbclass @@ -1,8 +1,7 @@ # grub-efi.bbclass # Copyright (c) 2011, Intel Corporation. -# All rights reserved. # -# Released under the MIT license (see packages/COPYING) +# SPDX-License-Identifier: MIT # Provide grub-efi specific functions for building bootable images. diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 79049440bf9..4afd12195fb 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit grub-efi-cfg require conf/image-uefi.conf diff --git a/meta/classes/gsettings.bbclass b/meta/classes/gsettings.bbclass index d811a0e0340..adb027ea0a0 100644 --- a/meta/classes/gsettings.bbclass +++ b/meta/classes/gsettings.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # A bbclass to handle installed GSettings (glib) schemas, updated the compiled # form on package install and remove. diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index a32901305c0..68fa2cc7451 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Helper class to pull in the right gtk-doc dependencies and configure # gtk-doc to enable or disable documentation building (which requries the diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 399d107ce7e..17c7eb7a33a 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# FILES:${PN} += "${datadir}/icons/hicolor" diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass index 97e9162fa75..8fbe1dd1fb4 100644 --- a/meta/classes/gtk-immodules-cache.bbclass +++ b/meta/classes/gtk-immodules-cache.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class will update the inputmethod module cache for virtual keyboards # diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index cf08db8cf3b..a11e781f00f 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # IceCream distributed compiling support # diff --git a/meta/classes/image-buildinfo.bbclass b/meta/classes/image-buildinfo.bbclass index ef790bb73b4..206cc9d57d6 100644 --- a/meta/classes/image-buildinfo.bbclass +++ b/meta/classes/image-buildinfo.bbclass @@ -4,7 +4,7 @@ # Copyright (C) 2014 Intel Corporation # Author: Alejandro Enedino Hernandez Samaniego # -# Licensed under the MIT license, see COPYING.MIT for details +# SPDX-License-Identifier: MIT # # Usage: add INHERIT += "image-buildinfo" to your conf file # diff --git a/meta/classes/image-combined-dbg.bbclass b/meta/classes/image-combined-dbg.bbclass index 0e8e8183ac1..dcf19685389 100644 --- a/meta/classes/image-combined-dbg.bbclass +++ b/meta/classes/image-combined-dbg.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# IMAGE_PREPROCESS_COMMAND:append = " combine_dbg_image; " diff --git a/meta/classes/image-container.bbclass b/meta/classes/image-container.bbclass index 10036151c0e..d24b0304535 100644 --- a/meta/classes/image-container.bbclass +++ b/meta/classes/image-container.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# ROOTFS_BOOTSTRAP_INSTALL = "" IMAGE_TYPES_MASKED += "container" diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index 2c948190cfe..1034acc49e4 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass @@ -1,5 +1,6 @@ -# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) +# Copyright (C) 2004, Advanced Micro Devices, Inc. +# +# SPDX-License-Identifier: MIT # Creates a bootable image using syslinux, your kernel and an optional # initrd diff --git a/meta/classes/image-postinst-intercepts.bbclass b/meta/classes/image-postinst-intercepts.bbclass index af81910bc7f..fc159263845 100644 --- a/meta/classes/image-postinst-intercepts.bbclass +++ b/meta/classes/image-postinst-intercepts.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Gather existing and candidate postinst intercepts from BBPATH POSTINST_INTERCEPTS_DIR ?= "${COREBASE}/scripts/postinst-intercepts" diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index f485967ae28..e387645503a 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# IMAGE_CLASSES ??= "" diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index c6c44db7c7b..a731e585b2b 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # The default aligment of the size of the rootfs is set to 1KiB. In case # you're using the SD card emulation of a QEMU system simulator you may diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass index e388fa67972..c339b9bdfb4 100644 --- a/meta/classes/image_types_wic.bbclass +++ b/meta/classes/image_types_wic.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # The WICVARS variable is used to define list of bitbake variables used in wic code # variables from this list is written to .env file diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index f6a82cc44fc..176a42fd0d8 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # BB Class inspired by ebuild.sh # diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index f25ad44a3d0..6f5d3bde6c3 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # set the ARCH environment variable for kernel compilation (including diff --git a/meta/classes/kernel-artifact-names.bbclass b/meta/classes/kernel-artifact-names.bbclass index ce58e2af635..311075c68dc 100644 --- a/meta/classes/kernel-artifact-names.bbclass +++ b/meta/classes/kernel-artifact-names.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# ################################################################## # Specific kernel creation info diff --git a/meta/classes/kernel-devicetree.bbclass b/meta/classes/kernel-devicetree.bbclass index 28330151ecc..b2117de8050 100644 --- a/meta/classes/kernel-devicetree.bbclass +++ b/meta/classes/kernel-devicetree.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Support for device tree generation python () { diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index a0d2e444b2b..838ce204cb0 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit kernel-uboot kernel-artifact-names uboot-sign diff --git a/meta/classes/kernel-grub.bbclass b/meta/classes/kernel-grub.bbclass index 8475e0f9da3..2325e635e1f 100644 --- a/meta/classes/kernel-grub.bbclass +++ b/meta/classes/kernel-grub.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # While installing a rpm to update kernel on a deployed target, it will update diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index df18f5d0f00..1b4c864a630 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# pkg_postinst:modules () { if [ -z "$D" ]; then diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 9eb934919b8..4aab02671e5 100644 --- a/meta/classes/kernel-uboot.bbclass +++ b/meta/classes/kernel-uboot.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # fitImage kernel compression algorithm FIT_KERNEL_COMP_ALG ?= "gzip" diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass index 8cc1dc50cc9..1a599e656c8 100644 --- a/meta/classes/kernel-uimage.bbclass +++ b/meta/classes/kernel-uimage.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit kernel-uboot diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 9f327933a1c..8eda0dcaf38 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # remove tasks that modify the source tree in case externalsrc is inherited SRCTREECOVEREDTASKS += "do_validate_branches do_kernel_configcheck do_kernel_checkout do_fetch do_unpack do_patch" diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 683d8c4d67f..b5ddd6dabc8 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit linux-kernel-base kernel-module-split diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass index f40e3c88199..a32882a5d27 100644 --- a/meta/classes/kernelsrc.bbclass +++ b/meta/classes/kernelsrc.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# S = "${STAGING_KERNEL_DIR}" deltask do_fetch diff --git a/meta/classes/lib_package.bbclass b/meta/classes/lib_package.bbclass index 07f3f258d23..6d110155e5a 100644 --- a/meta/classes/lib_package.bbclass +++ b/meta/classes/lib_package.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # ${PN}-bin is defined in bitbake.conf # diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 580c02948e1..de3d4223a8c 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class knows how to package up [e]glibc. Its shared since prebuild binary toolchains diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass index 0cda839c94f..b60d6e44f40 100644 --- a/meta/classes/license_image.bbclass +++ b/meta/classes/license_image.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# ROOTFS_LICENSE_DIR = "${IMAGE_ROOTFS}/usr/share/common-licenses" diff --git a/meta/classes/linux-dummy.bbclass b/meta/classes/linux-dummy.bbclass index 90b932c5906..9291533cf9f 100644 --- a/meta/classes/linux-dummy.bbclass +++ b/meta/classes/linux-dummy.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# python __anonymous () { if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy': diff --git a/meta/classes/linux-kernel-base.bbclass b/meta/classes/linux-kernel-base.bbclass index 36f9caac690..cb2212c9485 100644 --- a/meta/classes/linux-kernel-base.bbclass +++ b/meta/classes/linux-kernel-base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # parse kernel ABI version out of def get_kernelversion_headers(p): diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass index 6bd8a62da90..1dfb95e31dd 100644 --- a/meta/classes/linuxloader.bbclass +++ b/meta/classes/linuxloader.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def get_musl_loader_arch(d): import re diff --git a/meta/classes/live-vm-common.bbclass b/meta/classes/live-vm-common.bbclass index 99b92b6155a..b619f3a4be0 100644 --- a/meta/classes/live-vm-common.bbclass +++ b/meta/classes/live-vm-common.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Some of the vars for vm and live image are conflicted, this function # is used for fixing the problem. diff --git a/meta/classes/logging.bbclass b/meta/classes/logging.bbclass index 0d59ae2631c..ce03abfe425 100644 --- a/meta/classes/logging.bbclass +++ b/meta/classes/logging.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # The following logging mechanisms are to be used in bash functions of recipes. # They are intended to map one to one in intention and output format with the diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass index 57b9be06500..693fb536714 100644 --- a/meta/classes/manpages.bbclass +++ b/meta/classes/manpages.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Inherit this class to enable or disable building and installation of manpages # depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building diff --git a/meta/classes/mcextend.bbclass b/meta/classes/mcextend.bbclass index 33833c3b9e4..a489eeb3c77 100644 --- a/meta/classes/mcextend.bbclass +++ b/meta/classes/mcextend.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# python mcextend_virtclass_handler () { cls = e.data.getVar("BBEXTENDCURR") diff --git a/meta/classes/meson-routines.bbclass b/meta/classes/meson-routines.bbclass index 6827bdb21d1..6086fce9d9b 100644 --- a/meta/classes/meson-routines.bbclass +++ b/meta/classes/meson-routines.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit siteinfo diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index 17c6abbd609..765e81bc4f8 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python3native meson-routines qemu diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass index f17cdcccf1a..6842119b6b4 100644 --- a/meta/classes/metadata_scm.bbclass +++ b/meta/classes/metadata_scm.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# METADATA_BRANCH := "${@oe.buildcfg.detect_branch(d)}" METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}" diff --git a/meta/classes/migrate_localcount.bbclass b/meta/classes/migrate_localcount.bbclass index cb0d1c698b5..1d00c110e28 100644 --- a/meta/classes/migrate_localcount.bbclass +++ b/meta/classes/migrate_localcount.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PRSERV_DUMPDIR ??= "${LOG_DIR}/db" LOCALCOUNT_DUMPFILE ??= "${PRSERV_DUMPDIR}/prserv-localcount-exports.inc" diff --git a/meta/classes/mime-xdg.bbclass b/meta/classes/mime-xdg.bbclass index 9e596c25fef..cbdcb4c7e9d 100644 --- a/meta/classes/mime-xdg.bbclass +++ b/meta/classes/mime-xdg.bbclass @@ -1,6 +1,7 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT # # This class creates mime <-> application associations based on entry # 'MimeType' in *.desktop files diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass index e036bb23a1a..9b13f62bdab 100644 --- a/meta/classes/mime.bbclass +++ b/meta/classes/mime.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class is used by recipes installing mime types diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass index e56f90a7e8c..9643b31a231 100644 --- a/meta/classes/mirrors.bbclass +++ b/meta/classes/mirrors.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# MIRRORS += "\ ${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \ diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass index 3f3d60947e2..094b563b1a4 100644 --- a/meta/classes/module-base.bbclass +++ b/meta/classes/module-base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit kernel-arch diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index bcc46ab1d82..d52d5e30984 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit module-base kernel-module-split pkgconfig diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 2931aed8346..10a4ef9c37a 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# python multilib_virtclass_handler () { cls = e.data.getVar("BBEXTENDCURR") diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index 7d9f48e9d9f..dcd89b2f63b 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def preferred_ml_updates(d): # If any of PREFERRED_PROVIDER, PREFERRED_RPROVIDER, REQUIRED_VERSION diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass index 403a24667bf..33f7e027f06 100644 --- a/meta/classes/multilib_header.bbclass +++ b/meta/classes/multilib_header.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit siteinfo diff --git a/meta/classes/multilib_script.bbclass b/meta/classes/multilib_script.bbclass index 0cf6d502bb4..70115262542 100644 --- a/meta/classes/multilib_script.bbclass +++ b/meta/classes/multilib_script.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Recipe needs to set MULTILIB_SCRIPTS in the form :, e.g. diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 1d9c3a72665..61ad053def6 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # We want native packages to be relocatable inherit relocatable diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 78f94c79ca7..08288fdb733 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # SDK packages are built either explicitly by the user, # or indirectly via dependency. No need to be in 'world'. diff --git a/meta/classes/nopackages.bbclass b/meta/classes/nopackages.bbclass index 22017524cdb..9ea7273530a 100644 --- a/meta/classes/nopackages.bbclass +++ b/meta/classes/nopackages.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# deltask do_package deltask do_package_write_rpm diff --git a/meta/classes/oelint.bbclass b/meta/classes/oelint.bbclass index a4ee7d6e335..458a25ecc39 100644 --- a/meta/classes/oelint.bbclass +++ b/meta/classes/oelint.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# addtask lint before do_build do_lint[nostamp] = "1" diff --git a/meta/classes/overlayfs-etc.bbclass b/meta/classes/overlayfs-etc.bbclass index 5c1e8f9bebe..d0bc3ecfac6 100644 --- a/meta/classes/overlayfs-etc.bbclass +++ b/meta/classes/overlayfs-etc.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for setting up /etc in overlayfs # diff --git a/meta/classes/overlayfs.bbclass b/meta/classes/overlayfs.bbclass index ccc88bb4ac8..bdc6dd9d571 100644 --- a/meta/classes/overlayfs.bbclass +++ b/meta/classes/overlayfs.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for generation of overlayfs mount units # diff --git a/meta/classes/own-mirrors.bbclass b/meta/classes/own-mirrors.bbclass index 699eb3628b9..2f24ff18304 100644 --- a/meta/classes/own-mirrors.bbclass +++ b/meta/classes/own-mirrors.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PREMIRRORS:prepend = " \ cvs://.*/.* ${SOURCE_MIRROR_URL} \ diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 54917942a4a..6f17fc73b0f 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for packagegroup (package group) recipes diff --git a/meta/classes/perl-version.bbclass b/meta/classes/perl-version.bbclass index c314b4b575b..269ac9eb316 100644 --- a/meta/classes/perl-version.bbclass +++ b/meta/classes/perl-version.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PERL_OWN_DIR = "" diff --git a/meta/classes/perlnative.bbclass b/meta/classes/perlnative.bbclass index 4d6ddd83cb7..d56ec4ae72c 100644 --- a/meta/classes/perlnative.bbclass +++ b/meta/classes/perlnative.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# EXTRANATIVEPATH += "perl-native" DEPENDS += "perl-native" diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index b451f5a7dd4..107e38885ef 100644 --- a/meta/classes/pixbufcache.bbclass +++ b/meta/classes/pixbufcache.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class will generate the proper postinst/postrm scriptlets for pixbuf diff --git a/meta/classes/pkgconfig.bbclass b/meta/classes/pkgconfig.bbclass index db57ce44726..1e1f3824dd5 100644 --- a/meta/classes/pkgconfig.bbclass +++ b/meta/classes/pkgconfig.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# DEPENDS:prepend = "pkgconfig-native " diff --git a/meta/classes/prexport.bbclass b/meta/classes/prexport.bbclass index ddd0ce68db1..e5098e3308b 100644 --- a/meta/classes/prexport.bbclass +++ b/meta/classes/prexport.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# PRSERV_DUMPOPT_VERSION = "${PRAUTOINX}" PRSERV_DUMPOPT_PKGARCH = "" diff --git a/meta/classes/primport.bbclass b/meta/classes/primport.bbclass index 4d577bf8300..00924174c1e 100644 --- a/meta/classes/primport.bbclass +++ b/meta/classes/primport.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# python primport_handler () { import bb.event diff --git a/meta/classes/recipe_sanity.bbclass b/meta/classes/recipe_sanity.bbclass index c09a551a4ff..1c2e24c6a17 100644 --- a/meta/classes/recipe_sanity.bbclass +++ b/meta/classes/recipe_sanity.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# def __note(msg, d): bb.note("%s: recipe_sanity: %s" % (d.getVar("P"), msg)) diff --git a/meta/classes/relative_symlinks.bbclass b/meta/classes/relative_symlinks.bbclass index 15674db495f..9ee20e0d098 100644 --- a/meta/classes/relative_symlinks.bbclass +++ b/meta/classes/relative_symlinks.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# do_install[postfuncs] += "install_relative_symlinks" diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass index 7b691fe6549..d0a623fb0a9 100644 --- a/meta/classes/relocatable.bbclass +++ b/meta/classes/relocatable.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit chrpath diff --git a/meta/classes/report-error.bbclass b/meta/classes/report-error.bbclass index 6866d47370d..2f692fbbccb 100644 --- a/meta/classes/report-error.bbclass +++ b/meta/classes/report-error.bbclass @@ -4,7 +4,8 @@ # Copyright (C) 2013 Intel Corporation # Author: Andreea Brandusa Proca # -# Licensed under the MIT license, see COPYING.MIT for details +# SPDX-License-Identifier: MIT +# ERR_REPORT_DIR ?= "${LOG_DIR}/error-report" diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 445d80c82ab..c493efff2fc 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # Removes source after build diff --git a/meta/classes/rm_work_and_downloads.bbclass b/meta/classes/rm_work_and_downloads.bbclass index 15e6091b9d5..2695a3807fd 100644 --- a/meta/classes/rm_work_and_downloads.bbclass +++ b/meta/classes/rm_work_and_downloads.bbclass @@ -1,8 +1,7 @@ # Author: Patrick Ohly # Copyright: Copyright (C) 2015 Intel Corporation # -# This file is licensed under the MIT license, see COPYING.MIT in -# this source distribution for the terms. +# SPDX-License-Identifier: MIT # This class is used like rm_work: # INHERIT += "rm_work_and_downloads" diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index ead5ec4ce1a..5f0d4a910b1 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit python3native diff --git a/meta/classes/setuptools3-base.bbclass b/meta/classes/setuptools3-base.bbclass index 5d90ec1b198..21b688ced07 100644 --- a/meta/classes/setuptools3-base.bbclass +++ b/meta/classes/setuptools3-base.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass index c08178fcf5a..4c6e79ee9ab 100644 --- a/meta/classes/setuptools3.bbclass +++ b/meta/classes/setuptools3.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# inherit setuptools3-base python_pep517 diff --git a/meta/classes/setuptools3_legacy.bbclass b/meta/classes/setuptools3_legacy.bbclass index 0d9345d8476..21748f922ad 100644 --- a/meta/classes/setuptools3_legacy.bbclass +++ b/meta/classes/setuptools3_legacy.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class is for packages which use the deprecated setuptools behaviour, # specifically custom install tasks which don't work correctly with bdist_wheel. diff --git a/meta/classes/sign_ipk.bbclass b/meta/classes/sign_ipk.bbclass index 940d29f4519..51c24b38b26 100644 --- a/meta/classes/sign_ipk.bbclass +++ b/meta/classes/sign_ipk.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for generating signed IPK packages. # diff --git a/meta/classes/sign_package_feed.bbclass b/meta/classes/sign_package_feed.bbclass index d29985d5324..e9d664750c3 100644 --- a/meta/classes/sign_package_feed.bbclass +++ b/meta/classes/sign_package_feed.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for signing package feeds # diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass index 159d525261e..ee0c4808fa1 100644 --- a/meta/classes/sign_rpm.bbclass +++ b/meta/classes/sign_rpm.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Class for generating signed RPM packages. # diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index 96491cf8287..953cafd285e 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# python siteconfig_do_siteconfig () { shared_state = sstate_state_fromvars(d) diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass index 894f6b37186..be3b898b4dc 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinux.bbclass @@ -1,6 +1,6 @@ # syslinux.bbclass -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. +# SPDX-License-Identifier: MIT # Provide syslinux specific functions for building bootable images. diff --git a/meta/classes/systemd-boot-cfg.bbclass b/meta/classes/systemd-boot-cfg.bbclass index 64fe81d6d00..366dd237388 100644 --- a/meta/classes/systemd-boot-cfg.bbclass +++ b/meta/classes/systemd-boot-cfg.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# SYSTEMD_BOOT_CFG ?= "${S}/loader.conf" SYSTEMD_BOOT_ENTRIES ?= "" diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass index 57ec0acbc53..5aa32dd9971 100644 --- a/meta/classes/systemd-boot.bbclass +++ b/meta/classes/systemd-boot.bbclass @@ -1,6 +1,6 @@ # Copyright (C) 2016 Intel Corporation # -# Released under the MIT license (see COPYING.MIT) +# SPDX-License-Identifier: MIT # systemd-boot.bbclass - The "systemd-boot" is essentially the gummiboot merged into systemd. # The original standalone gummiboot project is dead without any more diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index c24ed906644..f6564c2b310 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # The list of packages that should have systemd packaging scripts added. For # each entry, optionally have a SYSTEMD_SERVICE:[package] that lists the service diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass index 5ca9104641b..2dfc7db2551 100644 --- a/meta/classes/terminal.bbclass +++ b/meta/classes/terminal.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# OE_TERMINAL ?= 'auto' OE_TERMINAL[type] = 'choice' diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass index 1b0fb44a4a8..26816a750f7 100644 --- a/meta/classes/testexport.bbclass +++ b/meta/classes/testexport.bbclass @@ -1,7 +1,6 @@ # Copyright (C) 2016 Intel Corporation # -# Released under the MIT license (see COPYING.MIT) -# +# SPDX-License-Identifier: MIT # # testexport.bbclass allows to execute runtime test outside OE environment. # Most of the tests are commands run on target image over ssh. diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass index f365c091420..03c4f3a930c 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass @@ -3,7 +3,7 @@ # # Copyright (C) 2013 Intel Corporation # -# Released under the MIT license (see COPYING.MIT) +# SPDX-License-Identifier: MIT # # This bbclass is designed to extract data used by OE-Core during the build process, # for recording in the Toaster system. diff --git a/meta/classes/typecheck.bbclass b/meta/classes/typecheck.bbclass index 86fcf28942d..160f7a024b9 100644 --- a/meta/classes/typecheck.bbclass +++ b/meta/classes/typecheck.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # Check types of bitbake configuration variables # diff --git a/meta/classes/upstream-version-is-even.bbclass b/meta/classes/upstream-version-is-even.bbclass index b89a13414dd..19587cb12ca 100644 --- a/meta/classes/upstream-version-is-even.bbclass +++ b/meta/classes/upstream-version-is-even.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # This class ensures that the upstream version check only # accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.) diff --git a/meta/classes/useradd-staticids.bbclass b/meta/classes/useradd-staticids.bbclass index c994b5979eb..abe484eb468 100644 --- a/meta/classes/useradd-staticids.bbclass +++ b/meta/classes/useradd-staticids.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # In order to support a deterministic set of 'dynamic' users/groups, # we need a function to reformat the params based on a static file diff --git a/meta/classes/yocto-check-layer.bbclass b/meta/classes/yocto-check-layer.bbclass index 2d21676ec21..404f5fd9f22 100644 --- a/meta/classes/yocto-check-layer.bbclass +++ b/meta/classes/yocto-check-layer.bbclass @@ -1,6 +1,8 @@ # # Copyright OpenEmbedded Contributors # +# SPDX-License-Identifier: MIT +# # # This class is used by yocto-check-layer script for additional per-recipe tests From patchwork Wed Aug 10 19:45:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 11250 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A055C48BEA for ; Wed, 10 Aug 2022 19:45:26 +0000 (UTC) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.web10.2794.1660160720333171349 for ; Wed, 10 Aug 2022 12:45:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=MNpC1sDW; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f45.google.com with SMTP id k17so1459083wmr.2 for ; Wed, 10 Aug 2022 12:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc; bh=V4OziLdN+lltE6nMAIvHEeCJulF7NciKLegnVZ9774A=; b=MNpC1sDWTnuyGvSX/xbR3dycD5MoSno715WZ3BgEN3EPCmkCn5FPFsWokSP2Uh2Hnx 8t+QnH19n2hQdRIgHR0XdkUcejq88mN6ZBjh9QP6lTtYz81mtj9zLNSWvnT0iCgqGH3Z lBePWaNqRsBOI4nHS3vD+MBYU2joFM211SBaE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=V4OziLdN+lltE6nMAIvHEeCJulF7NciKLegnVZ9774A=; b=FyvxuS/2DcP3I0a+GM0l3Jh1jXC7BYyjqTPAp6xyXAiKdnNz4AiSXNS+BRB9D2uVNs 8qzFsT2bqTRCLSz+hDoCClXk+AmT5y03lOn4bheeqKpIZ7pel1PAarzFsHSox+RuHL7H RL47qwDdwuHMO2QqVEd7Gpv559YXWDoJYXAMe0GBQbAMuuIBhhNRW1ayeaxAaMWwyF4Q G2F2xwv93idxkiFveaEhsCIc+6FLGiZCYQR6eo03ZPw3NGfjUTE9HBWYFeTDb+ZRB+Lv fUOFvigGRW/Hv17VOXqYtyDr37sjqQ5RFXrrE0UFrV0lntCKHl0tLbDvKAS8hZfpJI4+ kooA== X-Gm-Message-State: ACgBeo0xFseBDG/GSVjlDiH0I6hMMOyOGG/CKERvtTxxql3NQ8tgt4oO BlaG63V8z4ee+lM5cQT6d50AjyezcstHnw== X-Google-Smtp-Source: AA6agR6QzRBy0XRzBGzgaur5RcmZwu317AsT3YfZhL4wTVZS7Ej4iRTKk+m6H7cTwVPe374Kcsb6pw== X-Received: by 2002:a05:600c:3b15:b0:3a5:49e:81a6 with SMTP id m21-20020a05600c3b1500b003a5049e81a6mr3416186wms.49.1660160716944; Wed, 10 Aug 2022 12:45:16 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:bdb5:cbd6:cc51:991]) by smtp.gmail.com with ESMTPSA id l21-20020a1ced15000000b0039747cf8354sm3240823wmh.39.2022.08.10.12.45.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 12:45:16 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 5/5] lib: Add copyright statements to files without one Date: Wed, 10 Aug 2022 20:45:10 +0100 Message-Id: <20220810194510.484900-5-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> References: <20220810194510.484900-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 10 Aug 2022 19:45:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/169206 Where there isn't a copyright statement, add one to make it explicit. Also add license identifiers as MIT if there isn't one. Signed-off-by: Richard Purdie --- meta/lib/bblayers/buildconf.py | 2 ++ meta/lib/bblayers/create.py | 2 ++ meta/lib/bblayers/makesetup.py | 2 ++ meta/lib/buildstats.py | 2 ++ meta/lib/oe/__init__.py | 2 ++ meta/lib/oe/cachedpath.py | 2 ++ meta/lib/oe/classextend.py | 2 ++ meta/lib/oe/classutils.py | 2 ++ meta/lib/oe/copy_buildsystem.py | 2 ++ meta/lib/oe/cve_check.py | 6 ++++++ meta/lib/oe/data.py | 2 ++ meta/lib/oe/distro_check.py | 2 ++ meta/lib/oe/elf.py | 2 ++ meta/lib/oe/gpg_sign.py | 2 ++ meta/lib/oe/license.py | 2 ++ meta/lib/oe/lsb.py | 2 ++ meta/lib/oe/maketype.py | 2 ++ meta/lib/oe/manifest.py | 2 ++ meta/lib/oe/npm_registry.py | 6 ++++++ meta/lib/oe/overlayfs.py | 2 ++ meta/lib/oe/package.py | 2 ++ meta/lib/oe/package_manager/__init__.py | 2 ++ meta/lib/oe/package_manager/deb/__init__.py | 2 ++ meta/lib/oe/package_manager/deb/manifest.py | 2 ++ meta/lib/oe/package_manager/deb/rootfs.py | 2 ++ meta/lib/oe/package_manager/deb/sdk.py | 2 ++ meta/lib/oe/package_manager/ipk/__init__.py | 2 ++ meta/lib/oe/package_manager/ipk/manifest.py | 2 ++ meta/lib/oe/package_manager/ipk/rootfs.py | 2 ++ meta/lib/oe/package_manager/ipk/sdk.py | 2 ++ meta/lib/oe/package_manager/rpm/__init__.py | 2 ++ meta/lib/oe/package_manager/rpm/manifest.py | 2 ++ meta/lib/oe/package_manager/rpm/rootfs.py | 2 ++ meta/lib/oe/package_manager/rpm/sdk.py | 2 ++ meta/lib/oe/packagedata.py | 2 ++ meta/lib/oe/packagegroup.py | 2 ++ meta/lib/oe/patch.py | 2 ++ meta/lib/oe/path.py | 2 ++ meta/lib/oe/prservice.py | 2 ++ meta/lib/oe/qa.py | 2 ++ meta/lib/oe/reproducible.py | 2 ++ meta/lib/oe/rootfs.py | 2 ++ meta/lib/oe/rust.py | 6 ++++++ meta/lib/oe/sbom.py | 2 ++ meta/lib/oe/sdk.py | 2 ++ meta/lib/oe/spdx.py | 2 ++ meta/lib/oe/sstatesig.py | 2 ++ meta/lib/oe/terminal.py | 2 ++ meta/lib/oe/types.py | 2 ++ meta/lib/oe/useradd.py | 2 ++ meta/lib/oe/utils.py | 2 ++ meta/lib/oeqa/controllers/__init__.py | 2 ++ meta/lib/oeqa/controllers/testtargetloader.py | 2 ++ meta/lib/oeqa/core/utils/concurrencytest.py | 2 ++ meta/lib/oeqa/runtime/cases/_qemutiny.py | 2 ++ meta/lib/oeqa/runtime/cases/apt.py | 2 ++ meta/lib/oeqa/runtime/cases/boot.py | 2 ++ meta/lib/oeqa/runtime/cases/buildcpio.py | 2 ++ meta/lib/oeqa/runtime/cases/buildgalculator.py | 2 ++ meta/lib/oeqa/runtime/cases/buildlzip.py | 2 ++ meta/lib/oeqa/runtime/cases/connman.py | 2 ++ meta/lib/oeqa/runtime/cases/date.py | 2 ++ meta/lib/oeqa/runtime/cases/df.py | 2 ++ meta/lib/oeqa/runtime/cases/dnf.py | 2 ++ meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py | 5 +++++ meta/lib/oeqa/runtime/cases/gcc.py | 2 ++ meta/lib/oeqa/runtime/cases/gi.py | 2 ++ meta/lib/oeqa/runtime/cases/go.py | 2 ++ meta/lib/oeqa/runtime/cases/gstreamer.py | 2 ++ meta/lib/oeqa/runtime/cases/kernelmodule.py | 2 ++ meta/lib/oeqa/runtime/cases/ksample.py | 2 ++ meta/lib/oeqa/runtime/cases/ldd.py | 2 ++ meta/lib/oeqa/runtime/cases/logrotate.py | 2 ++ meta/lib/oeqa/runtime/cases/multilib.py | 2 ++ meta/lib/oeqa/runtime/cases/oe_syslog.py | 2 ++ meta/lib/oeqa/runtime/cases/opkg.py | 2 ++ meta/lib/oeqa/runtime/cases/pam.py | 2 ++ meta/lib/oeqa/runtime/cases/parselogs.py | 2 ++ meta/lib/oeqa/runtime/cases/perl.py | 2 ++ meta/lib/oeqa/runtime/cases/ping.py | 2 ++ meta/lib/oeqa/runtime/cases/ptest.py | 2 ++ meta/lib/oeqa/runtime/cases/python.py | 2 ++ meta/lib/oeqa/runtime/cases/rpm.py | 2 ++ meta/lib/oeqa/runtime/cases/rt.py | 2 ++ meta/lib/oeqa/runtime/cases/rtc.py | 5 +++++ meta/lib/oeqa/runtime/cases/runlevel.py | 5 +++++ meta/lib/oeqa/runtime/cases/rust.py | 2 ++ meta/lib/oeqa/runtime/cases/scons.py | 2 ++ meta/lib/oeqa/runtime/cases/scp.py | 2 ++ meta/lib/oeqa/runtime/cases/skeletoninit.py | 2 ++ meta/lib/oeqa/runtime/cases/ssh.py | 2 ++ meta/lib/oeqa/runtime/cases/stap.py | 2 ++ meta/lib/oeqa/runtime/cases/storage.py | 2 ++ meta/lib/oeqa/runtime/cases/suspend.py | 5 +++++ meta/lib/oeqa/runtime/cases/systemd.py | 2 ++ meta/lib/oeqa/runtime/cases/terminal.py | 5 +++++ meta/lib/oeqa/runtime/cases/usb_hid.py | 5 +++++ meta/lib/oeqa/runtime/cases/weston.py | 2 ++ meta/lib/oeqa/runtime/cases/x32lib.py | 2 ++ meta/lib/oeqa/runtime/cases/xorg.py | 2 ++ meta/lib/oeqa/sdk/buildtools-cases/build.py | 2 ++ meta/lib/oeqa/sdk/buildtools-cases/gcc.py | 2 ++ meta/lib/oeqa/sdk/buildtools-cases/https.py | 2 ++ meta/lib/oeqa/sdk/buildtools-cases/sanity.py | 2 ++ meta/lib/oeqa/sdk/buildtools-docs-cases/build.py | 2 ++ meta/lib/oeqa/sdk/cases/assimp.py | 2 ++ meta/lib/oeqa/sdk/cases/buildcpio.py | 2 ++ meta/lib/oeqa/sdk/cases/buildepoxy.py | 2 ++ meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 ++ meta/lib/oeqa/sdk/cases/buildlzip.py | 2 ++ meta/lib/oeqa/sdk/cases/gcc.py | 2 ++ meta/lib/oeqa/sdk/cases/perl.py | 2 ++ meta/lib/oeqa/sdk/cases/python.py | 2 ++ meta/lib/oeqa/sdk/cases/rust.py | 2 ++ meta/lib/oeqa/sdk/testmetaidesupport.py | 2 ++ meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py | 2 ++ meta/lib/oeqa/selftest/cases/archiver.py | 2 ++ meta/lib/oeqa/selftest/cases/bblayers.py | 2 ++ meta/lib/oeqa/selftest/cases/bblogging.py | 2 ++ meta/lib/oeqa/selftest/cases/bbtests.py | 2 ++ meta/lib/oeqa/selftest/cases/binutils.py | 4 ++++ meta/lib/oeqa/selftest/cases/buildhistory.py | 2 ++ meta/lib/oeqa/selftest/cases/buildoptions.py | 2 ++ meta/lib/oeqa/selftest/cases/containerimage.py | 2 ++ meta/lib/oeqa/selftest/cases/cve_check.py | 6 ++++++ meta/lib/oeqa/selftest/cases/devtool.py | 2 ++ meta/lib/oeqa/selftest/cases/distrodata.py | 2 ++ meta/lib/oeqa/selftest/cases/eSDK.py | 2 ++ meta/lib/oeqa/selftest/cases/fetch.py | 2 ++ meta/lib/oeqa/selftest/cases/fitimage.py | 2 ++ meta/lib/oeqa/selftest/cases/gcc.py | 4 ++++ meta/lib/oeqa/selftest/cases/gdbserver.py | 3 +++ meta/lib/oeqa/selftest/cases/glibc.py | 4 ++++ meta/lib/oeqa/selftest/cases/gotoolchain.py | 2 ++ meta/lib/oeqa/selftest/cases/image_typedep.py | 2 ++ meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 ++ meta/lib/oeqa/selftest/cases/incompatible_lic.py | 5 +++++ meta/lib/oeqa/selftest/cases/intercept.py | 6 ++++++ meta/lib/oeqa/selftest/cases/kerneldevelopment.py | 6 ++++++ meta/lib/oeqa/selftest/cases/layerappend.py | 2 ++ meta/lib/oeqa/selftest/cases/liboe.py | 2 ++ meta/lib/oeqa/selftest/cases/lic_checksum.py | 2 ++ meta/lib/oeqa/selftest/cases/manifest.py | 2 ++ meta/lib/oeqa/selftest/cases/meta_ide.py | 2 ++ meta/lib/oeqa/selftest/cases/multiconfig.py | 2 ++ meta/lib/oeqa/selftest/cases/newlib.py | 2 ++ meta/lib/oeqa/selftest/cases/oelib/buildhistory.py | 2 ++ meta/lib/oeqa/selftest/cases/oelib/elf.py | 2 ++ meta/lib/oeqa/selftest/cases/oelib/license.py | 2 ++ meta/lib/oeqa/selftest/cases/oelib/path.py | 2 ++ meta/lib/oeqa/selftest/cases/oelib/types.py | 2 ++ meta/lib/oeqa/selftest/cases/oelib/utils.py | 2 ++ meta/lib/oeqa/selftest/cases/oescripts.py | 2 ++ meta/lib/oeqa/selftest/cases/overlayfs.py | 2 ++ meta/lib/oeqa/selftest/cases/package.py | 2 ++ meta/lib/oeqa/selftest/cases/pkgdata.py | 2 ++ meta/lib/oeqa/selftest/cases/prservice.py | 2 ++ meta/lib/oeqa/selftest/cases/pseudo.py | 2 ++ meta/lib/oeqa/selftest/cases/recipetool.py | 2 ++ meta/lib/oeqa/selftest/cases/recipeutils.py | 2 ++ meta/lib/oeqa/selftest/cases/resulttooltests.py | 2 ++ meta/lib/oeqa/selftest/cases/runcmd.py | 2 ++ meta/lib/oeqa/selftest/cases/runtime_test.py | 2 ++ meta/lib/oeqa/selftest/cases/selftest.py | 2 ++ meta/lib/oeqa/selftest/cases/signing.py | 2 ++ meta/lib/oeqa/selftest/cases/sstate.py | 2 ++ meta/lib/oeqa/selftest/cases/sstatetests.py | 2 ++ meta/lib/oeqa/selftest/cases/sysroot.py | 2 ++ meta/lib/oeqa/selftest/cases/tinfoil.py | 2 ++ meta/lib/oeqa/selftest/cases/wrapper.py | 5 +++++ meta/lib/oeqa/utils/__init__.py | 2 ++ meta/lib/oeqa/utils/dump.py | 2 ++ meta/lib/oeqa/utils/ftools.py | 2 ++ meta/lib/oeqa/utils/httpserver.py | 2 ++ meta/lib/oeqa/utils/logparser.py | 2 ++ meta/lib/oeqa/utils/network.py | 2 ++ meta/lib/oeqa/utils/nfs.py | 4 ++++ meta/lib/oeqa/utils/package_manager.py | 2 ++ meta/lib/oeqa/utils/subprocesstweak.py | 2 ++ meta/lib/rootfspostcommands.py | 2 ++ 180 files changed, 417 insertions(+) diff --git a/meta/lib/bblayers/buildconf.py b/meta/lib/bblayers/buildconf.py index ece8836d5a3..e07fc534e1f 100644 --- a/meta/lib/bblayers/buildconf.py +++ b/meta/lib/bblayers/buildconf.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/bblayers/create.py b/meta/lib/bblayers/create.py index 7ddb777dc72..0aeb5d5f7b5 100644 --- a/meta/lib/bblayers/create.py +++ b/meta/lib/bblayers/create.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/bblayers/makesetup.py b/meta/lib/bblayers/makesetup.py index b7f62900f48..a6652e540a3 100644 --- a/meta/lib/bblayers/makesetup.py +++ b/meta/lib/bblayers/makesetup.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/buildstats.py b/meta/lib/buildstats.py index 99a8303d5e2..1ffe679801c 100644 --- a/meta/lib/buildstats.py +++ b/meta/lib/buildstats.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Implements system state sampling. Called by buildstats.bbclass. diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py index 4e7c09da04c..92f002d8726 100644 --- a/meta/lib/oe/__init__.py +++ b/meta/lib/oe/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/cachedpath.py b/meta/lib/oe/cachedpath.py index 254257a83f4..0138b791d4b 100644 --- a/meta/lib/oe/cachedpath.py +++ b/meta/lib/oe/cachedpath.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Based on standard python library functions but avoid diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py index e08d788b755..2013b29711b 100644 --- a/meta/lib/oe/classextend.py +++ b/meta/lib/oe/classextend.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/classutils.py b/meta/lib/oe/classutils.py index 08bb66b3652..ec3f6ad720f 100644 --- a/meta/lib/oe/classutils.py +++ b/meta/lib/oe/classutils.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py index 79642fd76ae..a0d829054e1 100644 --- a/meta/lib/oe/copy_buildsystem.py +++ b/meta/lib/oe/copy_buildsystem.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # This class should provide easy access to the different aspects of the diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py index aa064977277..f3c4701ae2b 100644 --- a/meta/lib/oe/cve_check.py +++ b/meta/lib/oe/cve_check.py @@ -1,3 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + import collections import re import itertools diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py index 602130a9046..37121cfad2b 100644 --- a/meta/lib/oe/data.py +++ b/meta/lib/oe/data.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 4b2a9bec01b..3494520f40d 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py index 46c884a7758..fb07995b3e4 100644 --- a/meta/lib/oe/elf.py +++ b/meta/lib/oe/elf.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py index aa9bb49f2c8..613dab85611 100644 --- a/meta/lib/oe/gpg_sign.py +++ b/meta/lib/oe/gpg_sign.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index 99cfa5f7339..d9c8d94da47 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # """Code for parsing OpenEmbedded license strings""" diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py index 43e46380d7b..3ec03e5042b 100644 --- a/meta/lib/oe/lsb.py +++ b/meta/lib/oe/lsb.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/maketype.py b/meta/lib/oe/maketype.py index d36082c5351..7a83bdf602c 100644 --- a/meta/lib/oe/maketype.py +++ b/meta/lib/oe/maketype.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # """OpenEmbedded variable typing support diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py index 1a058dcd734..61f18adc4ac 100644 --- a/meta/lib/oe/manifest.py +++ b/meta/lib/oe/manifest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/npm_registry.py b/meta/lib/oe/npm_registry.py index 96c0affb457..db581e280e2 100644 --- a/meta/lib/oe/npm_registry.py +++ b/meta/lib/oe/npm_registry.py @@ -1,3 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + import bb import json import subprocess diff --git a/meta/lib/oe/overlayfs.py b/meta/lib/oe/overlayfs.py index b5d5e88e804..8d7a047125a 100644 --- a/meta/lib/oe/overlayfs.py +++ b/meta/lib/oe/overlayfs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # This file contains common functions for overlayfs and its QA check diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 7d387ee81d5..4aa40d70eec 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/__init__.py b/meta/lib/oe/package_manager/__init__.py index d3b45705ec4..a6bf2fe219d 100644 --- a/meta/lib/oe/package_manager/__init__.py +++ b/meta/lib/oe/package_manager/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/deb/__init__.py b/meta/lib/oe/package_manager/deb/__init__.py index b96ea0bad46..c672454072a 100644 --- a/meta/lib/oe/package_manager/deb/__init__.py +++ b/meta/lib/oe/package_manager/deb/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/deb/manifest.py b/meta/lib/oe/package_manager/deb/manifest.py index d8eab24a06c..72983bae98f 100644 --- a/meta/lib/oe/package_manager/deb/manifest.py +++ b/meta/lib/oe/package_manager/deb/manifest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/deb/rootfs.py b/meta/lib/oe/package_manager/deb/rootfs.py index 8fbaca11d6c..1e25b64ed99 100644 --- a/meta/lib/oe/package_manager/deb/rootfs.py +++ b/meta/lib/oe/package_manager/deb/rootfs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/deb/sdk.py b/meta/lib/oe/package_manager/deb/sdk.py index f4b0b6510a4..653e42ab3c0 100644 --- a/meta/lib/oe/package_manager/deb/sdk.py +++ b/meta/lib/oe/package_manager/deb/sdk.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/ipk/__init__.py b/meta/lib/oe/package_manager/ipk/__init__.py index 7cbea0fa802..caca522fd69 100644 --- a/meta/lib/oe/package_manager/ipk/__init__.py +++ b/meta/lib/oe/package_manager/ipk/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/ipk/manifest.py b/meta/lib/oe/package_manager/ipk/manifest.py index ae451c5c70d..469e14c3c6b 100644 --- a/meta/lib/oe/package_manager/ipk/manifest.py +++ b/meta/lib/oe/package_manager/ipk/manifest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/ipk/rootfs.py b/meta/lib/oe/package_manager/ipk/rootfs.py index 10a831994ee..1f74f7e39a9 100644 --- a/meta/lib/oe/package_manager/ipk/rootfs.py +++ b/meta/lib/oe/package_manager/ipk/rootfs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/ipk/sdk.py b/meta/lib/oe/package_manager/ipk/sdk.py index e2ca415c8ec..6a1f167fb77 100644 --- a/meta/lib/oe/package_manager/ipk/sdk.py +++ b/meta/lib/oe/package_manager/ipk/sdk.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/rpm/__init__.py b/meta/lib/oe/package_manager/rpm/__init__.py index d97dab32938..18ec5c895de 100644 --- a/meta/lib/oe/package_manager/rpm/__init__.py +++ b/meta/lib/oe/package_manager/rpm/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/rpm/manifest.py b/meta/lib/oe/package_manager/rpm/manifest.py index e6604b301f4..6ee7c329f0c 100644 --- a/meta/lib/oe/package_manager/rpm/manifest.py +++ b/meta/lib/oe/package_manager/rpm/manifest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/rpm/rootfs.py b/meta/lib/oe/package_manager/rpm/rootfs.py index 00d07cd9cc4..d4c415f68ca 100644 --- a/meta/lib/oe/package_manager/rpm/rootfs.py +++ b/meta/lib/oe/package_manager/rpm/rootfs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/package_manager/rpm/sdk.py b/meta/lib/oe/package_manager/rpm/sdk.py index c5f232431fb..0726a18b916 100644 --- a/meta/lib/oe/package_manager/rpm/sdk.py +++ b/meta/lib/oe/package_manager/rpm/sdk.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index 212f048bc60..b2ed8b5a3d8 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/packagegroup.py b/meta/lib/oe/packagegroup.py index 8fcaecde822..7b7594751ad 100644 --- a/meta/lib/oe/packagegroup.py +++ b/meta/lib/oe/packagegroup.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 4ec9caed450..b2dc8d0a90e 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index c8d8ad05b97..0dc8f172d5c 100644 --- a/meta/lib/oe/path.py +++ b/meta/lib/oe/path.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py index 339f7aebcaf..2f2a0c128af 100644 --- a/meta/lib/oe/prservice.py +++ b/meta/lib/oe/prservice.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 89acd3ead0a..b4cbc500455 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py index 2e815df1907..04a1810d4f2 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta/lib/oe/reproducible.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # import os diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 9e6b411fb69..0b9911e3a63 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # from abc import ABCMeta, abstractmethod diff --git a/meta/lib/oe/rust.py b/meta/lib/oe/rust.py index ec70b348054..1dc9cf150dd 100644 --- a/meta/lib/oe/rust.py +++ b/meta/lib/oe/rust.py @@ -1,3 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + # Handle mismatches between `uname -m`-style output and Rust's arch names def arch_to_rust_arch(arch): if arch == "ppc64le": diff --git a/meta/lib/oe/sbom.py b/meta/lib/oe/sbom.py index 52bf51440e9..bbf466bbad4 100644 --- a/meta/lib/oe/sbom.py +++ b/meta/lib/oe/sbom.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 27347667e84..81fcf153717 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/spdx.py b/meta/lib/oe/spdx.py index 6d56ed90df2..c74ea688784 100644 --- a/meta/lib/oe/spdx.py +++ b/meta/lib/oe/spdx.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index de652449320..fad10af5398 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # import bb.siggen diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index de8dcebf94a..71ffc87019f 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # import logging diff --git a/meta/lib/oe/types.py b/meta/lib/oe/types.py index bbbabafbf65..b929afb1f3f 100644 --- a/meta/lib/oe/types.py +++ b/meta/lib/oe/types.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oe/useradd.py b/meta/lib/oe/useradd.py index 3caa3f851ad..54aa86feb53 100644 --- a/meta/lib/oe/useradd.py +++ b/meta/lib/oe/useradd.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # import argparse diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 1ee947d584f..69ca8987f3d 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oeqa/controllers/__init__.py b/meta/lib/oeqa/controllers/__init__.py index cc3836c4bff..0fc905be9a0 100644 --- a/meta/lib/oeqa/controllers/__init__.py +++ b/meta/lib/oeqa/controllers/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Enable other layers to have modules in the same named directory diff --git a/meta/lib/oeqa/controllers/testtargetloader.py b/meta/lib/oeqa/controllers/testtargetloader.py index 23101c73717..209ff7061a3 100644 --- a/meta/lib/oeqa/controllers/testtargetloader.py +++ b/meta/lib/oeqa/controllers/testtargetloader.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py index 161a2f6e904..383479c9597 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-or-later # # Modified for use in OE by Richard Purdie, 2018 diff --git a/meta/lib/oeqa/runtime/cases/_qemutiny.py b/meta/lib/oeqa/runtime/cases/_qemutiny.py index 6886e365027..14ff8b98b22 100644 --- a/meta/lib/oeqa/runtime/cases/_qemutiny.py +++ b/meta/lib/oeqa/runtime/cases/_qemutiny.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/apt.py b/meta/lib/oeqa/runtime/cases/apt.py index 574a34f1480..4e09374adde 100644 --- a/meta/lib/oeqa/runtime/cases/apt.py +++ b/meta/lib/oeqa/runtime/cases/apt.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/boot.py b/meta/lib/oeqa/runtime/cases/boot.py index e1ad88a1744..dcee3311f78 100644 --- a/meta/lib/oeqa/runtime/cases/boot.py +++ b/meta/lib/oeqa/runtime/cases/boot.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py index e29bf16ccb0..bd3b46d9ef0 100644 --- a/meta/lib/oeqa/runtime/cases/buildcpio.py +++ b/meta/lib/oeqa/runtime/cases/buildcpio.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/buildgalculator.py b/meta/lib/oeqa/runtime/cases/buildgalculator.py index e5cc3e28885..2cfb3243dc7 100644 --- a/meta/lib/oeqa/runtime/cases/buildgalculator.py +++ b/meta/lib/oeqa/runtime/cases/buildgalculator.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/buildlzip.py b/meta/lib/oeqa/runtime/cases/buildlzip.py index bc70b414612..44f4f1be718 100644 --- a/meta/lib/oeqa/runtime/cases/buildlzip.py +++ b/meta/lib/oeqa/runtime/cases/buildlzip.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/connman.py b/meta/lib/oeqa/runtime/cases/connman.py index f0d15fac9b2..a488752e3fe 100644 --- a/meta/lib/oeqa/runtime/cases/connman.py +++ b/meta/lib/oeqa/runtime/cases/connman.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/date.py b/meta/lib/oeqa/runtime/cases/date.py index bd6537400e2..a2523de67ab 100644 --- a/meta/lib/oeqa/runtime/cases/date.py +++ b/meta/lib/oeqa/runtime/cases/date.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/df.py b/meta/lib/oeqa/runtime/cases/df.py index bb155c9cf98..43e0ebf9eaa 100644 --- a/meta/lib/oeqa/runtime/cases/df.py +++ b/meta/lib/oeqa/runtime/cases/df.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index f40c63026e5..a8e23e596e9 100644 --- a/meta/lib/oeqa/runtime/cases/dnf.py +++ b/meta/lib/oeqa/runtime/cases/dnf.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py b/meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py index b93ee299415..eac8f2d082b 100644 --- a/meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py +++ b/meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.data import skipIfQemu diff --git a/meta/lib/oeqa/runtime/cases/gcc.py b/meta/lib/oeqa/runtime/cases/gcc.py index 1b6e431bf4b..17b1483e8d3 100644 --- a/meta/lib/oeqa/runtime/cases/gcc.py +++ b/meta/lib/oeqa/runtime/cases/gcc.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/gi.py b/meta/lib/oeqa/runtime/cases/gi.py index 42bd100a319..78c7ddda2c1 100644 --- a/meta/lib/oeqa/runtime/cases/gi.py +++ b/meta/lib/oeqa/runtime/cases/gi.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/go.py b/meta/lib/oeqa/runtime/cases/go.py index 89ba2c3ecb2..7514d108f1a 100644 --- a/meta/lib/oeqa/runtime/cases/go.py +++ b/meta/lib/oeqa/runtime/cases/go.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/gstreamer.py b/meta/lib/oeqa/runtime/cases/gstreamer.py index f735f82e3b5..2295769cfd2 100644 --- a/meta/lib/oeqa/runtime/cases/gstreamer.py +++ b/meta/lib/oeqa/runtime/cases/gstreamer.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/kernelmodule.py b/meta/lib/oeqa/runtime/cases/kernelmodule.py index 47fd2f850c0..9c42fcc5866 100644 --- a/meta/lib/oeqa/runtime/cases/kernelmodule.py +++ b/meta/lib/oeqa/runtime/cases/kernelmodule.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py index c69e3fe4ac3..b6848762e36 100644 --- a/meta/lib/oeqa/runtime/cases/ksample.py +++ b/meta/lib/oeqa/runtime/cases/ksample.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/ldd.py b/meta/lib/oeqa/runtime/cases/ldd.py index 9c2caa8f65e..f6841c66753 100644 --- a/meta/lib/oeqa/runtime/cases/ldd.py +++ b/meta/lib/oeqa/runtime/cases/ldd.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/logrotate.py b/meta/lib/oeqa/runtime/cases/logrotate.py index 2bff08f9da3..6ad980cb6ad 100644 --- a/meta/lib/oeqa/runtime/cases/logrotate.py +++ b/meta/lib/oeqa/runtime/cases/logrotate.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/multilib.py b/meta/lib/oeqa/runtime/cases/multilib.py index 0d1b9ae2c91..68556e45c5a 100644 --- a/meta/lib/oeqa/runtime/cases/multilib.py +++ b/meta/lib/oeqa/runtime/cases/multilib.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index 150b70d9f03..cad0c88d26b 100644 --- a/meta/lib/oeqa/runtime/cases/oe_syslog.py +++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/opkg.py b/meta/lib/oeqa/runtime/cases/opkg.py index 9cfee1cd886..a29c93e59a2 100644 --- a/meta/lib/oeqa/runtime/cases/opkg.py +++ b/meta/lib/oeqa/runtime/cases/opkg.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/pam.py b/meta/lib/oeqa/runtime/cases/pam.py index a482ded9459..b3e8b56c3c2 100644 --- a/meta/lib/oeqa/runtime/cases/pam.py +++ b/meta/lib/oeqa/runtime/cases/pam.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py index 1f9365f3a86..15dda7947f4 100644 --- a/meta/lib/oeqa/runtime/cases/parselogs.py +++ b/meta/lib/oeqa/runtime/cases/parselogs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/perl.py b/meta/lib/oeqa/runtime/cases/perl.py index 2c6b3b78468..f11b300836c 100644 --- a/meta/lib/oeqa/runtime/cases/perl.py +++ b/meta/lib/oeqa/runtime/cases/perl.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/ping.py b/meta/lib/oeqa/runtime/cases/ping.py index 498f80d0a50..967b44175f0 100644 --- a/meta/lib/oeqa/runtime/cases/ping.py +++ b/meta/lib/oeqa/runtime/cases/ping.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index 00742da2b52..3ef90221887 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/python.py b/meta/lib/oeqa/runtime/cases/python.py index ec54f1e1db1..5d6d133480e 100644 --- a/meta/lib/oeqa/runtime/cases/python.py +++ b/meta/lib/oeqa/runtime/cases/python.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/rpm.py b/meta/lib/oeqa/runtime/cases/rpm.py index a4339116bf7..e3cd818b2bc 100644 --- a/meta/lib/oeqa/runtime/cases/rpm.py +++ b/meta/lib/oeqa/runtime/cases/rpm.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/rt.py b/meta/lib/oeqa/runtime/cases/rt.py index 849ac1914e8..15ab4dbbbb4 100644 --- a/meta/lib/oeqa/runtime/cases/rt.py +++ b/meta/lib/oeqa/runtime/cases/rt.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/rtc.py b/meta/lib/oeqa/runtime/cases/rtc.py index c4e66813249..223cf7b95d9 100644 --- a/meta/lib/oeqa/runtime/cases/rtc.py +++ b/meta/lib/oeqa/runtime/cases/rtc.py @@ -1,3 +1,8 @@ +\# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.runtime.decorator.package import OEHasPackage diff --git a/meta/lib/oeqa/runtime/cases/runlevel.py b/meta/lib/oeqa/runtime/cases/runlevel.py index 3a4df8ace14..6734b0f5eda 100644 --- a/meta/lib/oeqa/runtime/cases/runlevel.py +++ b/meta/lib/oeqa/runtime/cases/runlevel.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends diff --git a/meta/lib/oeqa/runtime/cases/rust.py b/meta/lib/oeqa/runtime/cases/rust.py index b3d6cf7f37f..55b280d61d8 100644 --- a/meta/lib/oeqa/runtime/cases/rust.py +++ b/meta/lib/oeqa/runtime/cases/rust.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/scons.py b/meta/lib/oeqa/runtime/cases/scons.py index 3c7c7f7270a..4a8d4d40baa 100644 --- a/meta/lib/oeqa/runtime/cases/scons.py +++ b/meta/lib/oeqa/runtime/cases/scons.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/scp.py b/meta/lib/oeqa/runtime/cases/scp.py index f2bbc947d6a..ee97b8ef66c 100644 --- a/meta/lib/oeqa/runtime/cases/scp.py +++ b/meta/lib/oeqa/runtime/cases/scp.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/skeletoninit.py b/meta/lib/oeqa/runtime/cases/skeletoninit.py index a12f1e9aaee..75951beda96 100644 --- a/meta/lib/oeqa/runtime/cases/skeletoninit.py +++ b/meta/lib/oeqa/runtime/cases/skeletoninit.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py index e31224b3afd..13aac543969 100644 --- a/meta/lib/oeqa/runtime/cases/ssh.py +++ b/meta/lib/oeqa/runtime/cases/ssh.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/stap.py b/meta/lib/oeqa/runtime/cases/stap.py index 480eaabf2db..3be41621088 100644 --- a/meta/lib/oeqa/runtime/cases/stap.py +++ b/meta/lib/oeqa/runtime/cases/stap.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/storage.py b/meta/lib/oeqa/runtime/cases/storage.py index 972ef8210c0..b05622fea83 100644 --- a/meta/lib/oeqa/runtime/cases/storage.py +++ b/meta/lib/oeqa/runtime/cases/storage.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/suspend.py b/meta/lib/oeqa/runtime/cases/suspend.py index 0382d48f458..a625cc59019 100644 --- a/meta/lib/oeqa/runtime/cases/suspend.py +++ b/meta/lib/oeqa/runtime/cases/suspend.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.data import skipIfQemu diff --git a/meta/lib/oeqa/runtime/cases/systemd.py b/meta/lib/oeqa/runtime/cases/systemd.py index 7c44abe8ed8..720b4b517ae 100644 --- a/meta/lib/oeqa/runtime/cases/systemd.py +++ b/meta/lib/oeqa/runtime/cases/systemd.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/terminal.py b/meta/lib/oeqa/runtime/cases/terminal.py index 8fcca99f474..96ba3c31954 100644 --- a/meta/lib/oeqa/runtime/cases/terminal.py +++ b/meta/lib/oeqa/runtime/cases/terminal.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.runtime.decorator.package import OEHasPackage diff --git a/meta/lib/oeqa/runtime/cases/usb_hid.py b/meta/lib/oeqa/runtime/cases/usb_hid.py index 8743174370d..6f23d2ff518 100644 --- a/meta/lib/oeqa/runtime/cases/usb_hid.py +++ b/meta/lib/oeqa/runtime/cases/usb_hid.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.data import skipIfQemu diff --git a/meta/lib/oeqa/runtime/cases/weston.py b/meta/lib/oeqa/runtime/cases/weston.py index 1fd471e611a..ee4d336482e 100644 --- a/meta/lib/oeqa/runtime/cases/weston.py +++ b/meta/lib/oeqa/runtime/cases/weston.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/x32lib.py b/meta/lib/oeqa/runtime/cases/x32lib.py index f419c8f1817..014da4b386c 100644 --- a/meta/lib/oeqa/runtime/cases/x32lib.py +++ b/meta/lib/oeqa/runtime/cases/x32lib.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/runtime/cases/xorg.py b/meta/lib/oeqa/runtime/cases/xorg.py index d6845587c29..09afb1e3d1b 100644 --- a/meta/lib/oeqa/runtime/cases/xorg.py +++ b/meta/lib/oeqa/runtime/cases/xorg.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/buildtools-cases/build.py b/meta/lib/oeqa/sdk/buildtools-cases/build.py index aee2e5a8c06..c85c32496b3 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/build.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/build.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/buildtools-cases/gcc.py b/meta/lib/oeqa/sdk/buildtools-cases/gcc.py index 36ba15b1340..a62c4d0bc4f 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/gcc.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/gcc.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/buildtools-cases/https.py b/meta/lib/oeqa/sdk/buildtools-cases/https.py index 35e549eb406..4525e3d7583 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/https.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/https.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py index 64baaa8f84f..b9dfa39a061 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py b/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py index 5b0eca046fa..6e3ee94292b 100644 --- a/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py +++ b/meta/lib/oeqa/sdk/buildtools-docs-cases/build.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/assimp.py b/meta/lib/oeqa/sdk/cases/assimp.py index f166758e498..aa6541c6f6d 100644 --- a/meta/lib/oeqa/sdk/cases/assimp.py +++ b/meta/lib/oeqa/sdk/cases/assimp.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py index e7fc211a479..c42c670add0 100644 --- a/meta/lib/oeqa/sdk/cases/buildcpio.py +++ b/meta/lib/oeqa/sdk/cases/buildcpio.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py index ad08b777f23..ee515be1888 100644 --- a/meta/lib/oeqa/sdk/cases/buildepoxy.py +++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py index 58ade920c9d..178f07472d5 100644 --- a/meta/lib/oeqa/sdk/cases/buildgalculator.py +++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/buildlzip.py b/meta/lib/oeqa/sdk/cases/buildlzip.py index 49ae756bf3c..b4b7d85b882 100644 --- a/meta/lib/oeqa/sdk/cases/buildlzip.py +++ b/meta/lib/oeqa/sdk/cases/buildlzip.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/gcc.py b/meta/lib/oeqa/sdk/cases/gcc.py index eb08eadd28f..fc28b9c3d43 100644 --- a/meta/lib/oeqa/sdk/cases/gcc.py +++ b/meta/lib/oeqa/sdk/cases/gcc.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/perl.py b/meta/lib/oeqa/sdk/cases/perl.py index 14d76d820f6..8eab4442e85 100644 --- a/meta/lib/oeqa/sdk/cases/perl.py +++ b/meta/lib/oeqa/sdk/cases/perl.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/python.py b/meta/lib/oeqa/sdk/cases/python.py index d43354c32a6..5ea992b9f33 100644 --- a/meta/lib/oeqa/sdk/cases/python.py +++ b/meta/lib/oeqa/sdk/cases/python.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/cases/rust.py b/meta/lib/oeqa/sdk/cases/rust.py index 1075d37b49e..31036f0f14a 100644 --- a/meta/lib/oeqa/sdk/cases/rust.py +++ b/meta/lib/oeqa/sdk/cases/rust.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/sdk/testmetaidesupport.py b/meta/lib/oeqa/sdk/testmetaidesupport.py index 2ff76fd8e08..00ef30e82e9 100644 --- a/meta/lib/oeqa/sdk/testmetaidesupport.py +++ b/meta/lib/oeqa/sdk/testmetaidesupport.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py index bff6e7740c5..5f1c8df2d49 100644 --- a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py +++ b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py index 75195241b79..ffdea832be3 100644 --- a/meta/lib/oeqa/selftest/cases/archiver.py +++ b/meta/lib/oeqa/selftest/cases/archiver.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py index 1f5c5763568..3670d7b4378 100644 --- a/meta/lib/oeqa/selftest/cases/bblayers.py +++ b/meta/lib/oeqa/selftest/cases/bblayers.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/bblogging.py b/meta/lib/oeqa/selftest/cases/bblogging.py index 317e68b82f7..1534a36a85b 100644 --- a/meta/lib/oeqa/selftest/cases/bblogging.py +++ b/meta/lib/oeqa/selftest/cases/bblogging.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index 89267c71455..d97bda13c29 100644 --- a/meta/lib/oeqa/selftest/cases/bbtests.py +++ b/meta/lib/oeqa/selftest/cases/bbtests.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/binutils.py b/meta/lib/oeqa/selftest/cases/binutils.py index 3b0b44b3908..bf6fdca0d99 100644 --- a/meta/lib/oeqa/selftest/cases/binutils.py +++ b/meta/lib/oeqa/selftest/cases/binutils.py @@ -1,4 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT +# import os from oeqa.core.decorator import OETestTag from oeqa.core.case import OEPTestResultTestCase diff --git a/meta/lib/oeqa/selftest/cases/buildhistory.py b/meta/lib/oeqa/selftest/cases/buildhistory.py index d865da6252d..2d559949160 100644 --- a/meta/lib/oeqa/selftest/cases/buildhistory.py +++ b/meta/lib/oeqa/selftest/cases/buildhistory.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py index ad604d6ae26..ee3e28d74bf 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/containerimage.py b/meta/lib/oeqa/selftest/cases/containerimage.py index e0aea1a1efc..23c0a1408a3 100644 --- a/meta/lib/oeqa/selftest/cases/containerimage.py +++ b/meta/lib/oeqa/selftest/cases/containerimage.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/cve_check.py b/meta/lib/oeqa/selftest/cases/cve_check.py index d0b22137039..ac47af1990b 100644 --- a/meta/lib/oeqa/selftest/cases/cve_check.py +++ b/meta/lib/oeqa/selftest/cases/cve_check.py @@ -1,3 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + import json import os from oeqa.selftest.case import OESelftestTestCase diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index bde345f6bd4..ec08ac6d600 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py b/meta/lib/oeqa/selftest/cases/distrodata.py index b80d091c1c6..b5554a6c3c3 100644 --- a/meta/lib/oeqa/selftest/cases/distrodata.py +++ b/meta/lib/oeqa/selftest/cases/distrodata.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py index 3ea0f663575..9f5de2cde7f 100644 --- a/meta/lib/oeqa/selftest/cases/eSDK.py +++ b/meta/lib/oeqa/selftest/cases/eSDK.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/fetch.py b/meta/lib/oeqa/selftest/cases/fetch.py index be14272e635..3d01cf69f2c 100644 --- a/meta/lib/oeqa/selftest/cases/fetch.py +++ b/meta/lib/oeqa/selftest/cases/fetch.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index d732a9020d5..14267dbaaa3 100644 --- a/meta/lib/oeqa/selftest/cases/fitimage.py +++ b/meta/lib/oeqa/selftest/cases/fitimage.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py index b9ea03ae62d..6b9022e4619 100644 --- a/meta/lib/oeqa/selftest/cases/gcc.py +++ b/meta/lib/oeqa/selftest/cases/gcc.py @@ -1,4 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT +# import os from oeqa.core.decorator import OETestTag from oeqa.core.case import OEPTestResultTestCase diff --git a/meta/lib/oeqa/selftest/cases/gdbserver.py b/meta/lib/oeqa/selftest/cases/gdbserver.py index 2c733a13427..3124902543c 100644 --- a/meta/lib/oeqa/selftest/cases/gdbserver.py +++ b/meta/lib/oeqa/selftest/cases/gdbserver.py @@ -1,3 +1,6 @@ +# +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # import os diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py index 6fc98e9cb47..a446543a171 100644 --- a/meta/lib/oeqa/selftest/cases/glibc.py +++ b/meta/lib/oeqa/selftest/cases/glibc.py @@ -1,4 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT +# import os import contextlib from oeqa.core.decorator import OETestTag diff --git a/meta/lib/oeqa/selftest/cases/gotoolchain.py b/meta/lib/oeqa/selftest/cases/gotoolchain.py index 978898b86f1..74c1c481173 100644 --- a/meta/lib/oeqa/selftest/cases/gotoolchain.py +++ b/meta/lib/oeqa/selftest/cases/gotoolchain.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/image_typedep.py b/meta/lib/oeqa/selftest/cases/image_typedep.py index 5b182a8f940..17c98baf143 100644 --- a/meta/lib/oeqa/selftest/cases/image_typedep.py +++ b/meta/lib/oeqa/selftest/cases/image_typedep.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index 7deafef6b2c..d3fd52851c0 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/incompatible_lic.py b/meta/lib/oeqa/selftest/cases/incompatible_lic.py index 6279d742459..c58d7003be7 100644 --- a/meta/lib/oeqa/selftest/cases/incompatible_lic.py +++ b/meta/lib/oeqa/selftest/cases/incompatible_lic.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import bitbake diff --git a/meta/lib/oeqa/selftest/cases/intercept.py b/meta/lib/oeqa/selftest/cases/intercept.py index f12874dc7d1..12583c3099d 100644 --- a/meta/lib/oeqa/selftest/cases/intercept.py +++ b/meta/lib/oeqa/selftest/cases/intercept.py @@ -1,3 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import bitbake diff --git a/meta/lib/oeqa/selftest/cases/kerneldevelopment.py b/meta/lib/oeqa/selftest/cases/kerneldevelopment.py index b1623a18854..4325f385987 100644 --- a/meta/lib/oeqa/selftest/cases/kerneldevelopment.py +++ b/meta/lib/oeqa/selftest/cases/kerneldevelopment.py @@ -1,3 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + import os from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import runCmd, get_bb_var diff --git a/meta/lib/oeqa/selftest/cases/layerappend.py b/meta/lib/oeqa/selftest/cases/layerappend.py index 8fb1e6c5304..379ed589ad9 100644 --- a/meta/lib/oeqa/selftest/cases/layerappend.py +++ b/meta/lib/oeqa/selftest/cases/layerappend.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/liboe.py b/meta/lib/oeqa/selftest/cases/liboe.py index afe8f8809f7..fab69291981 100644 --- a/meta/lib/oeqa/selftest/cases/liboe.py +++ b/meta/lib/oeqa/selftest/cases/liboe.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/lic_checksum.py b/meta/lib/oeqa/selftest/cases/lic_checksum.py index 8f1226e6a5f..5897a396d93 100644 --- a/meta/lib/oeqa/selftest/cases/lic_checksum.py +++ b/meta/lib/oeqa/selftest/cases/lic_checksum.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/manifest.py b/meta/lib/oeqa/selftest/cases/manifest.py index 0a04c13a856..07a6c804896 100644 --- a/meta/lib/oeqa/selftest/cases/manifest.py +++ b/meta/lib/oeqa/selftest/cases/manifest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/meta_ide.py b/meta/lib/oeqa/selftest/cases/meta_ide.py index ce7bba401d6..bae98359e54 100644 --- a/meta/lib/oeqa/selftest/cases/meta_ide.py +++ b/meta/lib/oeqa/selftest/cases/meta_ide.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/multiconfig.py b/meta/lib/oeqa/selftest/cases/multiconfig.py index 83cbd1345da..f509cbf607f 100644 --- a/meta/lib/oeqa/selftest/cases/multiconfig.py +++ b/meta/lib/oeqa/selftest/cases/multiconfig.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/newlib.py b/meta/lib/oeqa/selftest/cases/newlib.py index 999e3e78b08..fe57aa51f23 100644 --- a/meta/lib/oeqa/selftest/cases/newlib.py +++ b/meta/lib/oeqa/selftest/cases/newlib.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py index 33bd6df2f3f..c3c15d83c0f 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py +++ b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oelib/elf.py b/meta/lib/oeqa/selftest/cases/oelib/elf.py index 5a5f9b4fdf6..7bf550b6fdb 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/elf.py +++ b/meta/lib/oeqa/selftest/cases/oelib/elf.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oelib/license.py b/meta/lib/oeqa/selftest/cases/oelib/license.py index 3b359396b67..5eea12e7619 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/license.py +++ b/meta/lib/oeqa/selftest/cases/oelib/license.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oelib/path.py b/meta/lib/oeqa/selftest/cases/oelib/path.py index a1cfa08c09f..b963e447e37 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/path.py +++ b/meta/lib/oeqa/selftest/cases/oelib/path.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oelib/types.py b/meta/lib/oeqa/selftest/cases/oelib/types.py index 7eb49e6f95a..58318b18b21 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/types.py +++ b/meta/lib/oeqa/selftest/cases/oelib/types.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oelib/utils.py b/meta/lib/oeqa/selftest/cases/oelib/utils.py index bbf67bf9c9b..0cb46425a02 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/utils.py +++ b/meta/lib/oeqa/selftest/cases/oelib/utils.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index d3a789a6a77..ea08d9aff88 100644 --- a/meta/lib/oeqa/selftest/cases/oescripts.py +++ b/meta/lib/oeqa/selftest/cases/oescripts.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases/overlayfs.py index 96beb8b869b..bff22f21b60 100644 --- a/meta/lib/oeqa/selftest/cases/overlayfs.py +++ b/meta/lib/oeqa/selftest/cases/overlayfs.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index 51d835259e4..2d1b48a15df 100644 --- a/meta/lib/oeqa/selftest/cases/package.py +++ b/meta/lib/oeqa/selftest/cases/package.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/pkgdata.py b/meta/lib/oeqa/selftest/cases/pkgdata.py index 87d069de65a..d786c33018d 100644 --- a/meta/lib/oeqa/selftest/cases/pkgdata.py +++ b/meta/lib/oeqa/selftest/cases/pkgdata.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/prservice.py b/meta/lib/oeqa/selftest/cases/prservice.py index 10158ca7c2e..cb95503c2cb 100644 --- a/meta/lib/oeqa/selftest/cases/prservice.py +++ b/meta/lib/oeqa/selftest/cases/prservice.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/pseudo.py b/meta/lib/oeqa/selftest/cases/pseudo.py index 33593d5ce9d..3ef87860226 100644 --- a/meta/lib/oeqa/selftest/cases/pseudo.py +++ b/meta/lib/oeqa/selftest/cases/pseudo.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 510dae6badf..25b06cdcf02 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/recipeutils.py b/meta/lib/oeqa/selftest/cases/recipeutils.py index 74b2098ae8b..6334f1c91a7 100644 --- a/meta/lib/oeqa/selftest/cases/recipeutils.py +++ b/meta/lib/oeqa/selftest/cases/recipeutils.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/resulttooltests.py b/meta/lib/oeqa/selftest/cases/resulttooltests.py index dac5c468011..c2e76f1a440 100644 --- a/meta/lib/oeqa/selftest/cases/resulttooltests.py +++ b/meta/lib/oeqa/selftest/cases/resulttooltests.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/runcmd.py b/meta/lib/oeqa/selftest/cases/runcmd.py index e9612389fec..6fd96b84850 100644 --- a/meta/lib/oeqa/selftest/cases/runcmd.py +++ b/meta/lib/oeqa/selftest/cases/runcmd.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 857737f730c..7c3faefeaea 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/selftest.py b/meta/lib/oeqa/selftest/cases/selftest.py index 7268e259395..a80a8651a5b 100644 --- a/meta/lib/oeqa/selftest/cases/selftest.py +++ b/meta/lib/oeqa/selftest/cases/selftest.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/signing.py b/meta/lib/oeqa/selftest/cases/signing.py index 6f3d4aeae99..322e753ed3b 100644 --- a/meta/lib/oeqa/selftest/cases/signing.py +++ b/meta/lib/oeqa/selftest/cases/signing.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/sstate.py b/meta/lib/oeqa/selftest/cases/sstate.py index 176766331ad..e73bb948841 100644 --- a/meta/lib/oeqa/selftest/cases/sstate.py +++ b/meta/lib/oeqa/selftest/cases/sstate.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 0ba1d866967..ae766f91bd8 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/sysroot.py b/meta/lib/oeqa/selftest/cases/sysroot.py index 294ba4a4a06..ef854f6feeb 100644 --- a/meta/lib/oeqa/selftest/cases/sysroot.py +++ b/meta/lib/oeqa/selftest/cases/sysroot.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py b/meta/lib/oeqa/selftest/cases/tinfoil.py index c81d56d82b0..0a66615fd1b 100644 --- a/meta/lib/oeqa/selftest/cases/tinfoil.py +++ b/meta/lib/oeqa/selftest/cases/tinfoil.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/selftest/cases/wrapper.py b/meta/lib/oeqa/selftest/cases/wrapper.py index 6de63310c09..f2be44262c5 100644 --- a/meta/lib/oeqa/selftest/cases/wrapper.py +++ b/meta/lib/oeqa/selftest/cases/wrapper.py @@ -1,3 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# from oeqa.selftest.case import OESelftestTestCase from oeqa.utils.commands import bitbake diff --git a/meta/lib/oeqa/utils/__init__.py b/meta/lib/oeqa/utils/__init__.py index 6d1ec4cb99b..fbc7f7d525d 100644 --- a/meta/lib/oeqa/utils/__init__.py +++ b/meta/lib/oeqa/utils/__init__.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # # Enable other layers to have modules in the same named directory diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index 95a79a571c9..bcee03b5768 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/utils/ftools.py b/meta/lib/oeqa/utils/ftools.py index 3093419cc70..a50aaa84c29 100644 --- a/meta/lib/oeqa/utils/ftools.py +++ b/meta/lib/oeqa/utils/ftools.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py index 58d3c3b3f87..8ce1dd42f49 100644 --- a/meta/lib/oeqa/utils/httpserver.py +++ b/meta/lib/oeqa/utils/httpserver.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/utils/logparser.py b/meta/lib/oeqa/utils/logparser.py index 879aefca338..7cb79a8402a 100644 --- a/meta/lib/oeqa/utils/logparser.py +++ b/meta/lib/oeqa/utils/logparser.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/utils/network.py b/meta/lib/oeqa/utils/network.py index 59d01723a1e..da4ffda9a99 100644 --- a/meta/lib/oeqa/utils/network.py +++ b/meta/lib/oeqa/utils/network.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/utils/nfs.py b/meta/lib/oeqa/utils/nfs.py index a37686c9142..c1218656ce2 100644 --- a/meta/lib/oeqa/utils/nfs.py +++ b/meta/lib/oeqa/utils/nfs.py @@ -1,4 +1,8 @@ +# +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT +# import os import sys import tempfile diff --git a/meta/lib/oeqa/utils/package_manager.py b/meta/lib/oeqa/utils/package_manager.py index 6b67f22fdd4..db799b64d64 100644 --- a/meta/lib/oeqa/utils/package_manager.py +++ b/meta/lib/oeqa/utils/package_manager.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # diff --git a/meta/lib/oeqa/utils/subprocesstweak.py b/meta/lib/oeqa/utils/subprocesstweak.py index b47975a4bc0..3e43ed547bd 100644 --- a/meta/lib/oeqa/utils/subprocesstweak.py +++ b/meta/lib/oeqa/utils/subprocesstweak.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: MIT # import subprocess diff --git a/meta/lib/rootfspostcommands.py b/meta/lib/rootfspostcommands.py index fdb9f5b8509..b5a51295e26 100644 --- a/meta/lib/rootfspostcommands.py +++ b/meta/lib/rootfspostcommands.py @@ -1,4 +1,6 @@ # +# Copyright OpenEmbedded Contributors +# # SPDX-License-Identifier: GPL-2.0-only #