]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta/lib+scripts: Convert to SPDX license headers
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2019 17:22:19 +0000 (18:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2019 10:58:04 +0000 (11:58 +0100)
This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.

The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).

More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.

The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
347 files changed:
LICENSE
LICENSE.GPL-2.0-only [moved from meta/COPYING.GPLv2 with 84% similarity]
LICENSE.MIT [moved from meta-selftest/COPYING.MIT with 77% similarity]
meta-skeleton/COPYING.MIT [deleted file]
meta/lib/bblayers/create.py
meta/lib/buildstats.py
meta/lib/oe/__init__.py
meta/lib/oe/buildhistory_analysis.py
meta/lib/oe/cachedpath.py
meta/lib/oe/classextend.py
meta/lib/oe/classutils.py
meta/lib/oe/copy_buildsystem.py
meta/lib/oe/data.py
meta/lib/oe/distro_check.py
meta/lib/oe/elf.py
meta/lib/oe/gpg_sign.py
meta/lib/oe/license.py
meta/lib/oe/lsb.py
meta/lib/oe/maketype.py
meta/lib/oe/manifest.py
meta/lib/oe/package.py
meta/lib/oe/package_manager.py
meta/lib/oe/packagedata.py
meta/lib/oe/packagegroup.py
meta/lib/oe/patch.py
meta/lib/oe/path.py
meta/lib/oe/prservice.py
meta/lib/oe/qa.py
meta/lib/oe/recipeutils.py
meta/lib/oe/rootfs.py
meta/lib/oe/sdk.py
meta/lib/oe/sstatesig.py
meta/lib/oe/terminal.py
meta/lib/oe/types.py
meta/lib/oe/useradd.py
meta/lib/oe/utils.py
meta/lib/oeqa/buildperf/__init__.py
meta/lib/oeqa/buildperf/base.py
meta/lib/oeqa/buildperf/test_basic.py
meta/lib/oeqa/controllers/__init__.py
meta/lib/oeqa/controllers/masterimage.py
meta/lib/oeqa/controllers/testtargetloader.py
meta/lib/oeqa/core/case.py
meta/lib/oeqa/core/cases/example/test_basic.py
meta/lib/oeqa/core/context.py
meta/lib/oeqa/core/decorator/__init__.py
meta/lib/oeqa/core/decorator/data.py
meta/lib/oeqa/core/decorator/depends.py
meta/lib/oeqa/core/decorator/oetag.py
meta/lib/oeqa/core/decorator/oetimeout.py
meta/lib/oeqa/core/exception.py
meta/lib/oeqa/core/loader.py
meta/lib/oeqa/core/runner.py
meta/lib/oeqa/core/target/__init__.py
meta/lib/oeqa/core/target/qemu.py
meta/lib/oeqa/core/target/ssh.py
meta/lib/oeqa/core/tests/cases/data.py
meta/lib/oeqa/core/tests/cases/depends.py
meta/lib/oeqa/core/tests/cases/loader/valid/another.py
meta/lib/oeqa/core/tests/cases/oetag.py
meta/lib/oeqa/core/tests/cases/timeout.py
meta/lib/oeqa/core/tests/common.py
meta/lib/oeqa/core/tests/test_data.py
meta/lib/oeqa/core/tests/test_decorators.py
meta/lib/oeqa/core/tests/test_loader.py
meta/lib/oeqa/core/tests/test_runner.py
meta/lib/oeqa/core/utils/concurrencytest.py
meta/lib/oeqa/core/utils/misc.py
meta/lib/oeqa/core/utils/path.py
meta/lib/oeqa/core/utils/test.py
meta/lib/oeqa/oetest.py
meta/lib/oeqa/runexported.py
meta/lib/oeqa/runtime/case.py
meta/lib/oeqa/runtime/cases/_qemutiny.py
meta/lib/oeqa/runtime/cases/apt.py
meta/lib/oeqa/runtime/cases/buildcpio.py
meta/lib/oeqa/runtime/cases/buildgalculator.py
meta/lib/oeqa/runtime/cases/buildlzip.py
meta/lib/oeqa/runtime/cases/connman.py
meta/lib/oeqa/runtime/cases/date.py
meta/lib/oeqa/runtime/cases/df.py
meta/lib/oeqa/runtime/cases/dnf.py
meta/lib/oeqa/runtime/cases/gcc.py
meta/lib/oeqa/runtime/cases/gi.py
meta/lib/oeqa/runtime/cases/gstreamer.py
meta/lib/oeqa/runtime/cases/kernelmodule.py
meta/lib/oeqa/runtime/cases/ksample.py
meta/lib/oeqa/runtime/cases/ldd.py
meta/lib/oeqa/runtime/cases/logrotate.py
meta/lib/oeqa/runtime/cases/ltp.py
meta/lib/oeqa/runtime/cases/ltp_compliance.py
meta/lib/oeqa/runtime/cases/multilib.py
meta/lib/oeqa/runtime/cases/oe_syslog.py
meta/lib/oeqa/runtime/cases/opkg.py
meta/lib/oeqa/runtime/cases/pam.py
meta/lib/oeqa/runtime/cases/parselogs.py
meta/lib/oeqa/runtime/cases/perl.py
meta/lib/oeqa/runtime/cases/ping.py
meta/lib/oeqa/runtime/cases/ptest.py
meta/lib/oeqa/runtime/cases/python.py
meta/lib/oeqa/runtime/cases/rpm.py
meta/lib/oeqa/runtime/cases/scp.py
meta/lib/oeqa/runtime/cases/skeletoninit.py
meta/lib/oeqa/runtime/cases/ssh.py
meta/lib/oeqa/runtime/cases/stap.py
meta/lib/oeqa/runtime/cases/systemd.py
meta/lib/oeqa/runtime/cases/x32lib.py
meta/lib/oeqa/runtime/cases/xorg.py
meta/lib/oeqa/runtime/context.py
meta/lib/oeqa/runtime/decorator/package.py
meta/lib/oeqa/runtime/loader.py
meta/lib/oeqa/runtime/utils/targetbuildproject.py
meta/lib/oeqa/sdk/case.py
meta/lib/oeqa/sdk/cases/assimp.py
meta/lib/oeqa/sdk/cases/buildcpio.py
meta/lib/oeqa/sdk/cases/buildepoxy.py
meta/lib/oeqa/sdk/cases/buildgalculator.py
meta/lib/oeqa/sdk/cases/buildlzip.py
meta/lib/oeqa/sdk/cases/gcc.py
meta/lib/oeqa/sdk/cases/perl.py
meta/lib/oeqa/sdk/cases/python.py
meta/lib/oeqa/sdk/context.py
meta/lib/oeqa/sdk/testsdk.py
meta/lib/oeqa/sdk/utils/sdkbuildproject.py
meta/lib/oeqa/sdkext/case.py
meta/lib/oeqa/sdkext/cases/devtool.py
meta/lib/oeqa/sdkext/context.py
meta/lib/oeqa/sdkext/testsdk.py
meta/lib/oeqa/selftest/case.py
meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
meta/lib/oeqa/selftest/cases/archiver.py
meta/lib/oeqa/selftest/cases/bblayers.py
meta/lib/oeqa/selftest/cases/bbtests.py
meta/lib/oeqa/selftest/cases/buildhistory.py
meta/lib/oeqa/selftest/cases/buildoptions.py
meta/lib/oeqa/selftest/cases/containerimage.py
meta/lib/oeqa/selftest/cases/devtool.py
meta/lib/oeqa/selftest/cases/distrodata.py
meta/lib/oeqa/selftest/cases/eSDK.py
meta/lib/oeqa/selftest/cases/efibootpartition.py
meta/lib/oeqa/selftest/cases/fetch.py
meta/lib/oeqa/selftest/cases/gotoolchain.py
meta/lib/oeqa/selftest/cases/image_typedep.py
meta/lib/oeqa/selftest/cases/imagefeatures.py
meta/lib/oeqa/selftest/cases/layerappend.py
meta/lib/oeqa/selftest/cases/liboe.py
meta/lib/oeqa/selftest/cases/lic_checksum.py
meta/lib/oeqa/selftest/cases/manifest.py
meta/lib/oeqa/selftest/cases/meta_ide.py
meta/lib/oeqa/selftest/cases/multiconfig.py
meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
meta/lib/oeqa/selftest/cases/oelib/elf.py
meta/lib/oeqa/selftest/cases/oelib/license.py
meta/lib/oeqa/selftest/cases/oelib/path.py
meta/lib/oeqa/selftest/cases/oelib/types.py
meta/lib/oeqa/selftest/cases/oelib/utils.py
meta/lib/oeqa/selftest/cases/oescripts.py
meta/lib/oeqa/selftest/cases/package.py
meta/lib/oeqa/selftest/cases/pkgdata.py
meta/lib/oeqa/selftest/cases/prservice.py
meta/lib/oeqa/selftest/cases/recipetool.py
meta/lib/oeqa/selftest/cases/recipeutils.py
meta/lib/oeqa/selftest/cases/resulttooltests.py
meta/lib/oeqa/selftest/cases/runcmd.py
meta/lib/oeqa/selftest/cases/runqemu.py
meta/lib/oeqa/selftest/cases/runtime_test.py
meta/lib/oeqa/selftest/cases/selftest.py
meta/lib/oeqa/selftest/cases/signing.py
meta/lib/oeqa/selftest/cases/sstate.py
meta/lib/oeqa/selftest/cases/sstatetests.py
meta/lib/oeqa/selftest/cases/tinfoil.py
meta/lib/oeqa/selftest/cases/wic.py
meta/lib/oeqa/selftest/context.py
meta/lib/oeqa/targetcontrol.py
meta/lib/oeqa/utils/__init__.py
meta/lib/oeqa/utils/buildproject.py
meta/lib/oeqa/utils/commands.py
meta/lib/oeqa/utils/decorators.py
meta/lib/oeqa/utils/dump.py
meta/lib/oeqa/utils/ftools.py
meta/lib/oeqa/utils/git.py
meta/lib/oeqa/utils/gitarchive.py
meta/lib/oeqa/utils/httpserver.py
meta/lib/oeqa/utils/logparser.py
meta/lib/oeqa/utils/metadata.py
meta/lib/oeqa/utils/network.py
meta/lib/oeqa/utils/package_manager.py
meta/lib/oeqa/utils/qemurunner.py
meta/lib/oeqa/utils/qemutinyrunner.py
meta/lib/oeqa/utils/sshcontrol.py
meta/lib/oeqa/utils/subprocesstweak.py
meta/lib/oeqa/utils/targetbuild.py
meta/lib/oeqa/utils/testexport.py
meta/lib/rootfspostcommands.py
meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
oe-init-build-env
scripts/autobuilder-worker-prereq-tests
scripts/bitbake-prserv-tool
scripts/bitbake-whatchanged
scripts/buildhistory-collect-srcrevs
scripts/buildhistory-diff
scripts/buildstats-diff
scripts/combo-layer
scripts/combo-layer-hook-default.sh
scripts/contrib/bb-perf/bb-matrix-plot.sh
scripts/contrib/bb-perf/bb-matrix.sh
scripts/contrib/bb-perf/buildstats-plot.sh
scripts/contrib/bb-perf/buildstats.sh
scripts/contrib/bbvars.py
scripts/contrib/build-perf-test-wrapper.sh
scripts/contrib/ddimage
scripts/contrib/devtool-stress.py
scripts/contrib/dialog-power-control
scripts/contrib/documentation-audit.sh
scripts/contrib/graph-tool
scripts/contrib/list-packageconfig-flags.py
scripts/contrib/oe-build-perf-report-email.py
scripts/contrib/patchreview.py
scripts/contrib/patchtest.sh
scripts/contrib/serdevtry
scripts/contrib/test_build_time.sh
scripts/contrib/test_build_time_worker.sh
scripts/contrib/uncovered
scripts/contrib/verify-homepage.py
scripts/cp-noerror
scripts/create-pull-request
scripts/crosstap
scripts/devtool
scripts/gen-lockedsig-cache
scripts/gen-site-config
scripts/lib/argparse_oe.py
scripts/lib/build_perf/__init__.py
scripts/lib/build_perf/html.py
scripts/lib/build_perf/report.py
scripts/lib/buildstats.py
scripts/lib/checklayer/__init__.py
scripts/lib/checklayer/case.py
scripts/lib/checklayer/cases/bsp.py
scripts/lib/checklayer/cases/common.py
scripts/lib/checklayer/cases/distro.py
scripts/lib/checklayer/context.py
scripts/lib/devtool/__init__.py
scripts/lib/devtool/build.py
scripts/lib/devtool/build_image.py
scripts/lib/devtool/build_sdk.py
scripts/lib/devtool/deploy.py
scripts/lib/devtool/export.py
scripts/lib/devtool/import.py
scripts/lib/devtool/package.py
scripts/lib/devtool/runqemu.py
scripts/lib/devtool/sdk.py
scripts/lib/devtool/search.py
scripts/lib/devtool/standard.py
scripts/lib/devtool/upgrade.py
scripts/lib/devtool/utilcmds.py
scripts/lib/recipetool/append.py
scripts/lib/recipetool/create.py
scripts/lib/recipetool/create_buildsys.py
scripts/lib/recipetool/create_buildsys_python.py
scripts/lib/recipetool/create_kernel.py
scripts/lib/recipetool/create_kmod.py
scripts/lib/recipetool/create_npm.py
scripts/lib/recipetool/edit.py
scripts/lib/recipetool/newappend.py
scripts/lib/recipetool/setvar.py
scripts/lib/resulttool/log.py
scripts/lib/resulttool/manualexecution.py
scripts/lib/resulttool/merge.py
scripts/lib/resulttool/regression.py
scripts/lib/resulttool/report.py
scripts/lib/resulttool/resultutils.py
scripts/lib/resulttool/store.py
scripts/lib/scriptpath.py
scripts/lib/scriptutils.py
scripts/lib/wic/__init__.py
scripts/lib/wic/engine.py
scripts/lib/wic/filemap.py
scripts/lib/wic/help.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/misc.py
scripts/lib/wic/partition.py
scripts/lib/wic/pluginbase.py
scripts/lib/wic/plugins/imager/direct.py
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/bootimg-partition.py
scripts/lib/wic/plugins/source/bootimg-pcbios.py
scripts/lib/wic/plugins/source/isoimage-isohybrid.py
scripts/lib/wic/plugins/source/rawcopy.py
scripts/lib/wic/plugins/source/rootfs.py
scripts/lnr
scripts/multilib_header_wrapper.h
scripts/native-intercept/chown
scripts/oe-build-perf-report
scripts/oe-build-perf-test
scripts/oe-buildenv-internal
scripts/oe-check-sstate
scripts/oe-depends-dot
scripts/oe-find-native-sysroot
scripts/oe-git-archive
scripts/oe-git-proxy
scripts/oe-gnome-terminal-phonehome
scripts/oe-pkgdata-util
scripts/oe-publish-sdk
scripts/oe-pylint
scripts/oe-run-native
scripts/oe-selftest
scripts/oe-setup-builddir
scripts/oe-test
scripts/oe-trim-schemas
scripts/oepydevshell-internal.py
scripts/opkg-query-helper.py
scripts/postinst-intercepts/delay_to_first_boot
scripts/postinst-intercepts/postinst_intercept
scripts/postinst-intercepts/update_font_cache
scripts/postinst-intercepts/update_gio_module_cache
scripts/postinst-intercepts/update_gtk_immodules_cache
scripts/postinst-intercepts/update_icon_cache
scripts/postinst-intercepts/update_pixbuf_cache
scripts/postinst-intercepts/update_udev_hwdb
scripts/pythondeps
scripts/recipetool
scripts/relocate_sdk.py
scripts/resulttool
scripts/rpm2cpio.sh
scripts/runqemu
scripts/runqemu-addptable2image
scripts/runqemu-export-rootfs
scripts/runqemu-extract-sdk
scripts/runqemu-gen-tapdevs
scripts/runqemu-ifdown
scripts/runqemu-ifup
scripts/send-error-report
scripts/send-pull-request
scripts/sstate-cache-management.sh
scripts/sstate-diff-machines.sh
scripts/sstate-sysroot-cruft.sh
scripts/sysroot-relativelinks.py
scripts/task-time
scripts/test-reexec
scripts/test-remote-image
scripts/tiny/dirsize.py
scripts/tiny/ksize.py
scripts/tiny/ksum.py
scripts/verify-bashisms
scripts/wic
scripts/yocto-check-layer
scripts/yocto-check-layer-wrapper

diff --git a/LICENSE b/LICENSE
index 21fa6e6bdfd9e6795d728c869a2a4ba423b7f6ad..d20dc59fb4fbbfa2a05dc4b13b9dea8c53082d33 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,14 +1,20 @@
 Different components of OpenEmbedded are under different licenses (a mix
-of MIT and GPLv2). Please see:
-
-meta/COPYING.GPLv2 (GPLv2)
-meta/COPYING.MIT (MIT)
-meta-selftest/COPYING.MIT (MIT)
-meta-skeleton/COPYING.MIT (MIT)
+of MIT and GPLv2). See LICENSE.GPL-2.0-only and LICENSE.MIT for further 
+details of the individual licenses.
 
 All metadata is MIT licensed unless otherwise stated. Source code
-included in tree for individual recipes is under the LICENSE stated in
-the associated recipe (.bb file) unless otherwise stated.
+included in tree for individual recipes (e.g. patches) are under 
+the LICENSE stated in the associated recipe (.bb file) unless 
+otherwise stated.
 
 License information for any other files is either explicitly stated 
-or defaults to GPL version 2.
+or defaults to GPL version 2 only.
+
+Individual files contain the following style tags instead of the full license 
+text to identify their license:
+
+    SPDX-License-Identifier: GPL-2.0-only
+    SPDX-License-Identifier: MIT
+
+This enables machine processing of license information based on the SPDX
+License Identifiers that are here available: http://spdx.org/licenses/
similarity index 84%
rename from meta/COPYING.GPLv2
rename to LICENSE.GPL-2.0-only
index d511905c1647a1e311e8b20d5930a37a9c2531cd..5db3c0a21cdb5c6fc3403b631fb131bd5e2be80c 100644 (file)
@@ -279,61 +279,10 @@ POSSIBILITY OF SUCH DAMAGES.
 
                     END OF TERMS AND CONDITIONS
 
-           How to Apply These Terms to Your New Programs
+Note:
+Individual files contain the following tag instead of the full license text.
 
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
+    SPDX-License-Identifier: GPL-2.0-only
 
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License along
-    with this program; if not, write to the Free Software Foundation, Inc.,
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) year name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
+This enables machine processing of license information based on the SPDX
+License Identifiers that are here available: http://spdx.org/licenses/
similarity index 77%
rename from meta-selftest/COPYING.MIT
rename to LICENSE.MIT
index 89de354795ec7a7cdab07c091029653d3618540d..a6919eb7e1fdbda5d53fd9d8e0f7114f2274457b 100644 (file)
@@ -13,5 +13,13 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+Note:
+Individual files contain the following tag instead of the full license text.
+
+    SPDX-License-Identifier: MIT
+
+This enables machine processing of license information based on the SPDX
+License Identifiers that are here available: http://spdx.org/licenses/
diff --git a/meta-skeleton/COPYING.MIT b/meta-skeleton/COPYING.MIT
deleted file mode 100644 (file)
index fb950dc..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software and associated documentation files (the "Software"), to deal 
-in the Software without restriction, including without limitation the rights 
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
-copies of the Software, and to permit persons to whom the Software is 
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
index 2ebf151ad183b4a779710db50308a5f72a8b666d..542f31fc813219344a473633db994f87eaf60123 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import logging
 import os
 import sys
index c5d4c73cf52e0e7b69b3472bb95269320beac5d0..8627ed3c3141c6e11b28aead677ff4067a4d712f 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Implements system state sampling. Called by buildstats.bbclass.
 # Because it is a real Python module, it can hold persistent state,
 # like open log files and the time of the last sampling.
index 3ad9513f40e0c4c6eb5c09fa404aaa95e3ee8753..4e7c09da04cbf5346e150b47ab3892eb9220b378 100644 (file)
@@ -1,2 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from pkgutil import extend_path
 __path__ = extend_path(__path__, __name__)
index d3cde4f65093cc7ab188e770a4c9ffcbcc9f72d0..62c7a2e58eafe8fd89230cc83b0e0db619e032ae 100644 (file)
@@ -3,6 +3,8 @@
 # Copyright (C) 2012-2013, 2016-2017 Intel Corporation
 # Author: Paul Eggleton <paul.eggleton@linux.intel.com>
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Note: requires GitPython 0.3.1+
 #
 # You can use this from the command line by running scripts/buildhistory-diff
index 0840cc4c3fc84dc10227a49df298da8f120391ea..254257a83f483c90b69fed670287ab6edf039e3f 100644 (file)
@@ -1,4 +1,6 @@
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Based on standard python library functions but avoid
 # repeated stat calls. Its assumed the files will not change from under us
 # so we can cache stat calls.
index 662707b8595b46b98e81b302698efa2b34b7a32f..e25122e815b6312bd9d469cb1a73b24c77433936 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import collections
 
 class ClassExtender(object):
index 45cd5249becdf75bd84c479fc59c4c6c9e36c999..08bb66b3652ac891b4a929f9dffea4f00a28348b 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 class ClassRegistryMeta(type):
     """Give each ClassRegistry their own registry"""
index 7cb784cf8c4c5dfc1e3429ad778f1b37f52cc1a9..5b96121ddb0476a51f06a5fc8fc9b63f64b451af 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This class should provide easy access to the different aspects of the
 # buildsystem such as layers, bitbake location, etc.
 #
index b8901e63f526bc51f7a03611295319321c7b4c11..602130a9046b3c8f28b8f0b3bfe9af855eb01c15 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import json
 import oe.maketype
 
index e775c3a6ecdc20e5c859ea4ed63fb9e77384ef95..88e46c354d21358cabae53558ba14ca0990854f1 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 def create_socket(url, d):
     import urllib
     from bb.utils import export_proxies
index 4cc9a9a09720cfbc2dc4842b34170f4021a9708c..2562cea1dd161ed3cd491267af3cad99e7008cc4 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 def machine_dict(d):
 #           TARGET_OS  TARGET_ARCH   MACHINE, OSABI, ABIVERSION, Little Endian, 32bit?
     machdata = {
index ccd5aee4207fdedcec06e3968f164653dde59a39..a95d2ba34c6a5a21571228c44d4ca6f5cfdace95 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 """Helper module for GPG signing"""
 import os
 
index 04f5b316a9b03331cad144f1591eb9c99d5be95f..c1274a61decc9fd96d5d8d5b70c65ba14a62eb04 100644 (file)
@@ -1,4 +1,6 @@
-# vi:sts=4:sw=4:et
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 """Code for parsing OpenEmbedded license strings"""
 
 import ast
index 71c0992c5d06aac7899611af6d3174b28d871693..4f2b419edce574d272013814bca7569130f0c5ee 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 def get_os_release():
     """Get all key-value pairs from /etc/os-release as a dict"""
     from collections import OrderedDict
index c36e7b560465290f2620ea1b6552a89b90d2ec8e..d929c8b3e5401926cfc0a0b27569e0f77ba3db25 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 """OpenEmbedded variable typing support
 
 Types are defined in the metadata by name, using the 'type' flag on a
index 674303c86666b08b82d35253a42454286552216d..f7c88f9a09820c43776f40cc349503c8515bd6d9 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from abc import ABCMeta, abstractmethod
 import os
 import re
index 6e83f01f1488cf7c222166c30339a09931af90b1..b59513227baa0ea6a12ffabe9352469718e38244 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import stat
 import mmap
 import subprocess
index 2835c1ddf8e1539fd5b3c284c52d9d0675d4cfe4..06feb4def7272a5f1738db801d3c0eb12a28b211 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from abc import ABCMeta, abstractmethod
 import os
 import glob
index 32e5c82a948939e783c7a630f1baa5291ffd1ab3..cbde380b034f8b4caf0d2d6ca630c5ae08bda30d 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import codecs
 import os
 
index 4bc5d3e4bb226adc46f21ae7db0e34582d2cdf6c..2419cbb6d3481ee0e64cc1fda2f36cd1cffb1d49 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import itertools
 
 def is_optional(feature, d):
index f43cf047c069cf386a8c038e0022f99f4c05a90d..d8e4ef53989305fb011e6ac5b39a356befaf6d42 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import oe.path
 import oe.types
 
index c09eda5c42485854883925ce2115951fa40dd902..fa209b9795b711592910296768370a2d66921ae7 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import errno
 import glob
 import shutil
index 32dfc15e884021e0f21828089312830d757ffe52..b1132ccb110a06720447a0fa1cbb7d99e1ce4f87 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 def prserv_make_conn(d, check = False):
     import prserv.serv
index 59c72ce5807aa76faca0a6714edaf815058a8be9..21066c4dc3b3cfceace83cc7858a35e123c05caf 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import os, struct, mmap
 
 class NotELFFileError(Exception):
index 4ca200d83441f21b480b40ec1eeafdb2bce488cc..1e5b9a49f9da7e68db563c7b24645efc01143740 100644 (file)
@@ -4,6 +4,8 @@
 #
 # Copyright (C) 2013-2017 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import sys
 import os
index b7c0b9c24b91667deed39e9eed662c2ee1cf0593..9358f562c80a2ccdce7bdfe864245df45d8ce618 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 from abc import ABCMeta, abstractmethod
 from oe.utils import execute_pre_post_process
 from oe.package_manager import *
index 878ee1647ff273c061d3f80a3ad6960b7e85091c..b4fbdb799ef12c39ea67a9caa8276d32c9f327a6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 from abc import ABCMeta, abstractmethod
 from oe.utils import execute_pre_post_process
 from oe.manifest import *
index a83af519ec115983ebf9464c4695931e2f39aa0d..417943db902ea680f4cc08a7720b017c47f59d3d 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 import bb.siggen
 import oe
 
index e4045559fc4db85587c9b6531cf9efa09a8e38b7..9bda3efdc7ab5e43fba135485149af227347783a 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 import logging
 import oe.classutils
 import shlex
index 1eebba5a384e76c6d262400979625d594f105b2a..77ee7ee5412176b3f1d418f3da0d92eb25e2d5e8 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import errno
 import re
 import os
index 179ac76b5e61a4093971f3bf25c7fdf05690a4a4..bedfe0ecb536d633ea3fe10bb05637c795279e72 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 import argparse
 import re
 
index 59251810d43f89f40fe187db3701fd04b7363033..d686ce1bf6166713311ab0e2ca29468fa7eecf2b 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import subprocess
 import multiprocessing
 import traceback
index 605f429eccfb7e59601a20b1e784ef1f5f9759cd..b7ebd036aede38a267b05aa702cb5568480d3813 100644 (file)
@@ -1,13 +1,7 @@
 # Copyright (c) 2016, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
 #
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Build performance tests"""
 from .base import (BuildPerfTestCase,
index ac6ee15d0935afecbb3acf4eddb6b37660556168..3b2fed549fb7ec9ed4380e063bec09047f5de9c8 100644 (file)
@@ -1,13 +1,6 @@
 # Copyright (c) 2016, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Build performance test base classes and functionality"""
 import json
index 6d6b01b04b4f04ed782d7d7cfbfdd36017b1855c..2104617ba314b79f6b445d5f7d7f1e87d8c87142 100644 (file)
@@ -1,13 +1,6 @@
 # Copyright (c) 2016, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Basic set of build performance tests"""
 import os
index 8eda92763c5a2052e2332a4368dcaddf473cf806..cc3836c4bff26b28720ffa64c96076e12691b6e0 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Enable other layers to have modules in the same named directory
 from pkgutil import extend_path
 __path__ = extend_path(__path__, __name__)
index f175e119da20f80c6e3eab5a9d2dfab18499767f..0435dfa125de36db07ded4f052852e4d90765df3 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright (C) 2014 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
-
+# SPDX-License-Identifier: MIT
+#
 # This module adds support to testimage.bbclass to deploy images and run
 # tests using a "master image" - this is a "known good" image that is
 # installed onto the device as part of initial setup and will be booted into
index b51d04b2131222b45cd72145fb6b67053980ff83..23101c73717bd859211b69828c1e5bea2b1dfb79 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import types
 import bb
 import os
index 917a2aa3f8dfcc6f5a20fdbd9e9d5b78bc71103f..54977c809fb4e04c73e2718234252d8060e8e825 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import unittest
 
index 11cf3800cca4b500627ec543686a6e934f25265d..d77edcdceca9ce091a5723929c9fc11f369e5ea3 100644 (file)
@@ -1,5 +1,7 @@
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 from oeqa.core.decorator.depends import OETestDepends
index 821aec8836a16a52483351384dd5c0904af20b57..09627044c83f350d349a34f9113c7b7e1125ae83 100644 (file)
@@ -1,5 +1,7 @@
-# Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+## Copyright (C) 2016 Intel Corporation
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index 14d7bfcd3567d789c53798d8dd60ba72d9d35f1d..923b21826672a1d7e4bd844149d37299df8e81f4 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from functools import wraps
 from abc import abstractmethod, ABCMeta
index f0f65abb39a762ab694cef05f353b0d732927a6e..babc9789d624e2fe5680ad56bb426bcdb9715a17 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.exception import OEQAMissingVariable
 
index 950dbaa67a377e28a3f9154290709aadadb392ff..33f0841cab03b024ee3d4d58288e5ca5b327e62b 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from unittest import SkipTest
 
index ad38ab78a54a26a28e66697ce8f1c5f2af21d031..8c31138dac71ba403f727368ec698d659c9472d2 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from . import OETestFilter, registerDecorator
 from oeqa.core.utils.misc import strToList
index a247583f7f124148187256b61dd5a3308c3dcddb..df90d1c7987497b8a262cfcf337394968763634d 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import signal
 from . import OETestDecorator, registerDecorator
index 732f2efdeb654efdc19ee00580a817d6b33c7c45..05be0ed21ff5f4021d7db5d8a805e32a226aced2 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 class OEQAException(Exception):
     pass
index e66de32cb1bcfb036d3d858f54a54e93220837eb..7fea0585c7430d16d52d64fe1d34c5ec79d19ed2 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import re
index ee1fb430283c37577aeaf973f1145ec537b5ea85..5f708730edacd204650e4796481d5aeccbddf865 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import time
index d2468bc257f88b3c670350fd62783bc8f4d2e3d8..1382aa9b5239913d20a79df005f3429f859cc676 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from abc import abstractmethod
 
index 7a161a32319162b8241f94c1465d9abae5e6da18..081c627b017424b4f616fec61bd353fe3c5fe3fb 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index 2adbb3000c8380348cf0797ce505b5547e8f00ec..cf3d44d12d55c41780083450443b509b008d3338 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import time
index 88003a6adc82c35b539050dd8103114d33f620c9..0d8de87ae7a5349f794c09c3ea43c50a7ed99264 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 from oeqa.core.decorator.oetag import OETestTag
index 17cdd90b1532316fa2dfb1ffe69c4082f72daa1e..46e7db900de72b6babbeebdc92a5819298da9fd9 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 from oeqa.core.decorator.depends import OETestDepends
index c9ffd1777343ba1bb9048e09b492373e36effc21..bedc20c8a65cfecf139b31c4d61833c077cc7a94 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 
index 0cae02e75c43658706203fdce8f4b5978af78d6c..4e1d080985d2f4dd62ade43b4e6ab130f34d004d 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 from oeqa.core.decorator.oetag import OETestTag
index 870c3157f7646e66a095f3afb0bf5a216c24936c..5dfecc7b7c3b8910839ab1a9eef57ca99c54fd51 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from time import sleep
 
index 52b18a1c3ea5048fbcf817a3cd5d6f28f457b4c5..39efd504c00c87e683c1f067683ba7de8c9de071 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import sys
 import os
index 21b6c68b8a4130bacc1922b91516043b9efac936..50811bb3811d946d4452a46f15ba1e0aa387ec78 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/env python3
 
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import unittest
 import logging
index 67dce773bd0f0fa72850b33b68fd867360a4869e..499cd66ff3d91a7f2bb98adb655873151e99841b 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/env python3
-
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import signal
 import unittest
index 39f2d6e2a7a4c58e0fdc61d67dd47f887e4d0575..519ba960917197518746a20c01132472227aa97a 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/env python3
-
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import unittest
index a3f3861fed38ecfd83fdf01f3743c9972d15d280..205464cfae951ffc4ce1bc0cb1abfbe7cd7ac9d0 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/env python3
-
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import unittest
 import logging
index e050818f0f4f32c2d233ddbe010d97b42e476caa..535b11e2d95f724beeb31c7865a13c59147ff832 100644 (file)
@@ -1,5 +1,7 @@
 #!/usr/bin/env python3
 #
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
 # Modified for use in OE by Richard Purdie, 2018
 #
 # Modified by: Corey Goldberg, 2013
index 0b223b5d08075f70189338c026b9a7b9adff2ce8..e1a59588eb6f61150d701a80318c066c9883e3e2 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 def toList(obj, obj_type, obj_name="Object"):
     if isinstance(obj, obj_type):
index a21caad5cb6c19a28a70cbc63b5d87fbeeacc25d..c086dcb0b04f14324ee783be980618564c01df4b 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index 88d5d1398174616b2edd8697815dd0a83cd367d6..d38cab8a511aa35fa9e6cfe35987c61aa06e3d85 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import inspect
index f0423af66c49b099552bd8fd51698fdc007354fa..9c84466dd023e4e372a818388a6b37f2740ad8e1 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # Main unittest module used by testimage.bbclass
 # This provides the oeRuntimeTest base class which is inherited by all tests in meta/lib/oeqa/runtime.
index 9cfea0f7abb66eb9b7141cedb4b238aa4e8e56a8..7e37213df69efef70a958a5b8038e13864ef0def 100755 (executable)
@@ -1,9 +1,9 @@
 #!/usr/bin/env python3
-
-
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # This script should be used outside of the build system to run image tests.
 # It needs a json file as input as exported by the build.
index 2f190acf1519186091c3bd6551e361c43ae96fd6..f036982e1f87efab39efcf6c6955046b168fb4c8 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 from oeqa.utils.package_manager import install_package, uninstall_package
index 7b5b48141facd816cacc5eb586b662a88afc4248..6886e3650273d3e009b982d18fcdfdc026219a80 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 
 class QemuTinyTest(OERuntimeTestCase):
index 793143f72cfcbcc932164d8a83588382a6329f45..74a940d80f9dc5098c8c12dccb1730e85c5dc8be 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 from oeqa.utils.httpserver import HTTPService
 from oeqa.runtime.case import OERuntimeTestCase
index 6a9a408ebeae52f422e4f9383933363e855a01c6..f4e871e421ba11c8107fec0ad0b533c7e8b7be7f 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index 4ec5fc707bf342f9e70e05ed4d116ec9675b48c8..6dd1faee0ab520a41ae234a0f93dab7ffd26b311 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index b737ca601b60e36e7b9b363f9910d9d33eb6d0e1..bc70b4146121849db144152c83819714d46fa208 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index 55a252ab01d9b06d00f1f9c662abdd3d1e0af39c..f0d15fac9b223b8aa52fa2f30f667113393519eb 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index d31d1b2730b31796b20d5f6079981ea90cc87c00..7750a7293f8e3fe7114072c080dad33dc168afd8 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import re
 
 from oeqa.runtime.case import OERuntimeTestCase
index 2d1ca2a9495fb6afe6478ea798d8e0774b77cdcf..d8d79f32ea2ead1ecd79dd56eaa62effebb9aa56 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index f235bdd58aef83c91138bea12672d9c9dffb130e..629b9af3ed152b2f720fb43502f0914a0902035d 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import subprocess
index e55eb560d0f322bc7649482030f3d31be36c9907..1b6e431bf4be89d9c14cebdf8a31b66883a6df87 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.runtime.case import OERuntimeTestCase
index 7e16651df74d43a7761ba3fb6ce8dbcc5e0e73e1..42bd100a319820cb61293e83f2e86c072c468903 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.runtime.case import OERuntimeTestCase
index 128630e11792f19c73ae667a9ef32e7426d3f454..f735f82e3b5af400f3030e9e85e6e6684e925602 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.runtime.decorator.package import OEHasPackage
 
index 36805be302ad82eec3df580fe11d75dd0f271fc1..47fd2f850c01baccb8a7f4ecaaba5ff773bce7a6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.runtime.case import OERuntimeTestCase
index 45b926bec8fe7dfd2a3776fba260f88ccedaa323..a9a1620ebd4360e30a25c3cf26457f02e8fab103 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import time
 
index 39c47f380bbe64a603032e264606663538967730..9c2caa8f65e079fcc8e15f21874babdebdf21b31 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.data import skipIfNotFeature
index dc3b271445aab8b54bce462a08c16c07bf79380a..8358793a2459f40e4d1ba1d60276e6b73046a9f4 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=289 testcase
 # Note that the image under test must have logrotate installed
 
index 628494e453172e740d5ec3eeccc45bdb547744d9..30548640bcd6434559367494abeba6b67504f038 100644 (file)
@@ -2,15 +2,9 @@
 #
 # Copyright (c) 2019 MontaVista Software, LLC
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import time
 import datetime
 import pprint
index be9a9a32af98e1656a751fdf4b1407a54837df09..ba47c78fd46bc65b5ac7f3e81726782b03542043 100644 (file)
@@ -2,14 +2,7 @@
 #
 # Copyright (c) 2019 MontaVista Software, LLC
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import time
index 2cf87618f955f8f1afd33c5d9e94c86cc96cb7b9..62e662b01c3a37176ca2563ef6643f2a52eb3246 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.data import skipIfNotInDataVar
index 100d026391e9eec94c301ade3cf0721bbfb20368..0f5f9f43ca4b13f5fe39025f26d60cf6757ec87f 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.data import skipIfDataVar
index 693f5d68c911212b4650d3130d3fefef3b793a46..bb8b6d99d20d0067962b573fb6b4e603ac5b0b63 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 from oeqa.utils.httpserver import HTTPService
 from oeqa.runtime.case import OERuntimeTestCase
index 49ae1f48812c3d8c9c5b67bbf9f41b50efeee362..271a1943e301e04331a9900d03d54544a1e1162d 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=287 testcase
 # Note that the image under test must have "pam" in DISTRO_FEATURES
 
index 41857f5373d1a07b3f4f7a4681bb789ccbdcb5bb..eb2ebb195858d50001b0e616aefeff7ab2d1a4cc 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from subprocess import check_output
index de1d8d090ccd3f2c4036403f06b878683d4378d0..2c6b3b784685a7535232f751eb3ac1e7b964fbb2 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.runtime.case import OERuntimeTestCase
index c32f2159a4194e59924e859b0a76c72711c783af..f6603f75ec7c3a127f5d65d6cdbe5a385cb68579 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from subprocess import Popen, PIPE
 
 from oeqa.runtime.case import OERuntimeTestCase
index e210099d48aff17b50775ea73b1346bb6287391a..d8d1e1b344f8a89e85d43a83ebf6f1cdf50e7456 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import unittest
 import pprint
 import datetime
index f03e33daa19efb6b328cf67749953c4797f979cd..ec54f1e1db176a2d993f6d5fb47f1bd2b9d8b316 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index 76176e632eb7c4005df974cdfa0bda4ca4ec6886..d8cabd3640e7207b66873103754a6fb161f0d7a8 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import fnmatch
 
index 43dd7167fadc5eb375bf112516d9fc59b2910c09..3a5f2921521cb4164f64ec71c3a3bf1a0180fbb6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 from tempfile import mkstemp
 
index 4fad7947208d91f9c45755a395ab60ac6218ebb0..4779cd6bb4ed7734d2560371ce3c27aedb5e7fba 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=284
 # testcase. Image under test must have meta-skeleton layer in bblayers and
 # IMAGE_INSTALL_append = " service" in local.conf
index 26ced881453b31f2e77af1fa45cf945c500849f3..60a5fbbfbfdb37b48658fcacbccdb0f7e158604c 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
index c149e56f7d5f15b3f5bf194684bece4649dff5c8..5342f6ac34299cbc15cb0e395f1dec5579e1f09f 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.runtime.case import OERuntimeTestCase
index db9da465ee5a05622cef5f7ccd3c9ae4e16464e0..c11fa49b07f6f7ca28c98e8ba36c21e18028a9d1 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import re
 import time
 
index 809dfdf9f4f2ba45231cdae0475cae56308c915b..ddf220140e9481fd3671c2388e0ed311ae4791a5 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.data import skipIfNotInDataVar
index 421ae56560287eeb475592acbb4a9cb0ccd534b8..d6845587c297fa0c57e1872e62f14aa7e44fc550 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.data import skipIfNotFeature
index db0482d68d64c9b308eb6efab7650414b2e2794a..77d58eefa71b3e042a6e22dcf4c1646b7553c18c 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 
index aa6ecb68fa4ae1b9ba25306e19139d3fabe607eb..4c5ca198b0cdbd43b5bdfdd1af1d84d2b2e2696a 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.decorator import OETestDecorator, registerDecorator
 from oeqa.core.utils.misc import strToSet
index 041ef976ebe47da07c12cd9c99963ed6494255e9..7041ddfde82e5fdc22fe37f6b995e7a282268ef7 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.loader import OETestLoader
 from oeqa.runtime.case import OERuntimeTestCase
index de17ba01f89a54c0b3f3b6671712d8d0d5b625f9..f4f4816a9b96e1ed395a906a6e2989a9fa81e73d 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.utils.buildproject import BuildProject
 
index d8611c8b3087433b4d2f53ed6ba2616d237167a3..43fc00aaa2ab3a57383a0083703232ae23095969 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import subprocess
index a60001039932307178566edefe1e98320bf81f12..f26b17f2e92d54c0b7605779c4be3876bb405261 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import subprocess
 import tempfile
index 9504ee8e053ae39b01cdc22e4b75b28c344d9a5d..0a5e68d5fd787939c3c1ee3a3e59b5d4fdc45371 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import tempfile
 import subprocess
index ef24b4f4ac1f614e451da46f9705b93293d38155..f3d207c6ddd89fb8291f415171d2938d2480416b 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import subprocess
 import tempfile
index 47d7580fafdadfc51db31067c18d81c9a4789f41..bbaa5c55c913866e632db4cbccd6454790e4f5ed 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import subprocess
 import tempfile
index b7483bfea517ae4eb35ab645aa5f7755bdcc72e1..515acd2891f568e16061e0434b36c910e16703fd 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os, tempfile, subprocess, unittest
 from oeqa.sdk.case import OESDKTestCase
 from oeqa.utils.subprocesstweak import errors_have_output
index 54c6fc488bcb45f468294dfde38f1820cd94cfb3..eb08eadd28f9a591ea36a6f3a70b00bd83f6cec4 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import shutil
 import unittest
index b8adc5ac72d856ed8a8a9fbe0571c82bf7b6a141..14d76d820f6733e1008111df2c228510edef949b 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import unittest
 from oeqa.sdk.case import OESDKTestCase
 
index b9174fadbaaec22365a23ad2c413626c63800de2..a334abce5f6b8f85b69ea6ae3d5c0e8a3435db49 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import subprocess, unittest
 from oeqa.sdk.case import OESDKTestCase
 
index adc4166fd2d93d5c8bff2e847f0b73d7ac62b967..09e77c19fe39a61503347be5108f37f43c2b14fe 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index 632ac50d0cb4b8d7e080b00e2d2ee3abe4a98a8b..35e40187bc428d888683057af1b76b113cc9ff4e 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright 2018 by Garmin Ltd. or its subsidiaries
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor
 
index 6fed73e35051cd18e239367787d72ada53d17e94..f57ff5eed044a882970660d0adda07ac0334fb88 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import subprocess
index 21b718831c148191837207c3c116e8e56ec7c8d6..668faec9b9a23e8ad5e4a23b8e6ca97a63ca17b1 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import subprocess
index ab11b2b93a05444b15616e6903d600d7e0de81a3..5a02add764f9e309401ce2ca4de6d02c1d536c3a 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import shutil
index 65da4c6e1b5f344e47a0cf8a9c2910628628a9e1..2ac2bf6ff730735fbc789b811a6ffdc8f62a651f 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor
index 57b2e0e03f2e2ade3ce1774ea0b1c740f631e6b9..785b5dda53a77758b694904d90e8938ac50d0b5f 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright 2018 by Garmin Ltd. or its subsidiaries
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.sdk.testsdk import TestSDKBase
 
index 9c08d595efd12d94da628931eb5a5dfdf4f04853..d207a0af0c0f7860bd0e764adeee5e04c4e40c99 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2013-2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import sys
 import os
index 0e5896234c36f76901ca07eaf1afe14bb5297fb3..f7c356ad092910d2ddcfede1873fbfb9716346f9 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import shutil
 
index f450777c8d38a90291e8873aff2a21bbc8551c04..f8672f8abbab95e05533746fcb7bab498134c208 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import glob
 from oeqa.utils.commands import bitbake, get_bb_vars
index 6ec5fb819e1af9673d37517c924aa28d0f5b1cca..954488dfd1e11a1c8967f535701ce1de11305135 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 
index 1b837419743ddca58d6f6e32b64372d814d423cf..e9ad44b027ed2a36d342f38776558e06ae3f84a3 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 
index 06792d9146de0e6a994589e128c8c87634bcd4c9..d865da6252dad1b40a464270e10090780278a4e6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import datetime
index 953c6e468df28878a91e711a85488838fa32244d..3ad65b40341316030469afdc1c09c187d9b7ea9a 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import glob as g
index 47d97b754128b71a2e6ee784e70c7f7e01ca06ed..c0998e319e0eb40b4515c41a22a2c3d946d4f0e4 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.selftest.case import OESelftestTestCase
index 48fc042904da15707bbba670a0116dabfdd14363..434a7b9dd4bc2d37bf06b6917892a5e955a8873b 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import shutil
index 8962bda011ba97bc2b654df1732a8f80a9a68441..68ba556485e1348dabe5eb3061cc5ca65fdfc3de 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
 from oeqa.utils.decorators import testcase
index d501238854e493e1b24c3beeb3c28cb48f493d6c..862849af35ce5c65afa97ba1d4ce5ddeeac8c071 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import tempfile
 import shutil
 import os
index c6f39d5b1627a2445fb9a86a62a84028897545f8..a61cf9bcb30dd11eec0e55a5b37874d6bf0bacbc 100644 (file)
@@ -2,6 +2,8 @@
 #
 # Copyright (c) 2017 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: MIT
+#
 
 import re
 
index c5de4fd4015750ae182259631c6cfcddb60c63d8..76cbadf2ff936143bf8f547bba778708e7b80926 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import oe.path
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import bitbake
index 1e23257f4de3b4f4186aa60ca69ca7476e67d847..3119520f0de3ddaf009008e5ef4b1c46d19f107c 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import glob
 import os
 import shutil
index 9f1f983e1d3baf1aa8aaaec0b1717281361b7fcb..52e1080f1307fc6585386ed87981b712e1f28eeb 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.selftest.case import OESelftestTestCase
index a1d9f12dcc23b7564ae4b0a453815077618d8a6a..afc629f29cdfc6348f3d1c379bb5af624b400320 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
 from oeqa.utils.sshcontrol import SSHControl
index 18ccda2df8452483812819adcf576e6d3704b904..05e9426fc68c941824dcc9203c8b134d77c350a2 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.selftest.case import OESelftestTestCase
index 01b2cab7aa7433920e1e4a719b5237f857a2f737..afe8f8809f70c07c6aa6e9f14c0b2dc77d2f212c 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd
 import oe.path
index 70b4fe270065f163fb4dce657c0fb51a86141f37..bae935d697c8ddc679ef96c68f83fc90962c3d3f 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import tempfile
 
index 799e1fb47db0944b6c014bb9de120196f1fd9a56..c0b25ab5d8c237e6988aa08e05e1286da97c76ed 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 
 from oeqa.selftest.case import OESelftestTestCase
index 76cbac3c77c14f35dfcfaef4ed1ea928fde32cbc..f47bc70917277b815340f5ab3ee2b012574a461a 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
 from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
index 3c36f6e5d2e42d7873be9d41139a8fd77f0fef1b..d21bf0a4110ddad12a1795c5f5895596c7eaf034 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import bitbake
index f9bec53d4ae690e64b16e678a24ba3d1f4d1c38c..6d8082765234b174cde1d9f914fc41b817089e58 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 from oeqa.selftest.case import OESelftestTestCase
 import tempfile
index 15c03f4609f484ab47cf8305155c71f7018ea4b3..d0a28090f2e591ad760b3f4fcc1adb8e1fbd84c6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from unittest.case import TestCase
 import oe.qa
 
index d7f91fb2f4d2908691d605d1edb47f7cdf1a7493..6ebbee589fb9715337b2ee392308174e52985954 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from unittest.case import TestCase
 import oe.license
 
index e0eb8134a903c1d15547fc9ccf8fa66a7d8eeb28..a1cfa08c09f4ee8576502b7f0a9239509ecc85ff 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from unittest.case import TestCase
 import oe, oe.path
 import tempfile
index 6b53aa64e5bca8b5d2bc10f174e5f809d5c60106..7eb49e6f95ab3e6ea891d7c989a1eb764432d308 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from unittest.case import TestCase
 from oe.maketype import create
 
index 789c6f78d2dcd566393502d1e3b03fe4c354a281..a7214beb4c0d4eb25a85ad94d3a5455f80f363e3 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import sys
 from unittest.case import TestCase
 from contextlib import contextmanager
index e0b41e64fbee11f170ff86f71c3c9a2cc530f077..56b35b59eb88b27fdbd7682f894e693860fbbe7c 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.selftest.cases.buildhistory import BuildhistoryBase
 from oeqa.utils.commands import Command, runCmd, bitbake, get_bb_var, get_test_layer
index c166c876664f62b05f701138af150c57e72995af..7a007538214a532d3a411063ca72d24ba70b8210 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu
 import stat
index 58ec6e0ebc057f490dd583daac597c9054114621..833a1803ba632c5a5b27100172965e1b8381131a 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import tempfile
 import fnmatch
index b0a68a0b1fc5dac47fe72f7328b00abde2c70604..fe1f24ea6d6b399a053fb5ad96e9aa9cb5aa5f9a 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import shutil
index 439d87f834c56df033283174ff069c17868fce1d..f1cb37b53f8bdc315a7fadd1a389ce5d17a4e4fe 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import shutil
 import tempfile
index 408eb356bf480bb25402bbb5e53addb9696da6a8..747870383b61726e28ca5227e081cebc906420a6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import time
index 0a089c0b7f04f315bad3a56d5be3d1cc75dde5c7..10eb9c12d9794d3ae9762d5d7a464433fa3a9efa 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import sys
 basepath = os.path.abspath(os.path.dirname(__file__) + '/../../../../../')
index ed4ba8a4652e906943462442282c494eb821145d..3755764ee71dad162b8500af7e4f0ff402e5bc58 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import runCmd
 from oeqa.utils import CommandError
index 3598104aeb609e9d82bcf49d8e3e18ae11f49f9d..b88ae306c0a786e10d76a88f7b135895e7ed54ba 100644 (file)
@@ -1,6 +1,8 @@
 #
 # Copyright (c) 2017 Wind River Systems, Inc.
 #
+# SPDX-License-Identifier: MIT
+#
 
 import re
 import tempfile
index 072029ba7283174ed38f2f4034f2f6777c52d5ed..d817b755fed3bb9165aa720aaa0800f160daae55 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu
 from oeqa.utils.sshcontrol import SSHControl
index 7d3a8ce5f62681cc301bca7bea92969b8631fc37..af080dcf0349199a371a4ff52c9abc76f4de72a6 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import importlib
 from oeqa.utils.commands import runCmd
 import oeqa.selftest
index cfa87333bca98be4bf15cf0e3a6cf019c25f2cc1..9c710bd0fffd190be4768b7198368ef7b953f3ab 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
 import os
index bc2fdbd8ccb125db691f2e1c92b8493dcd98cecf..410dec64fcd4ec90d6e3b58b7df4d1c7399e83e9 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import datetime
 import unittest
 import os
index 8cae2f74917c37ae4a1f553f11cee8c39ff56dc2..2867cb78abbf25f89ac654dd0a2cc0d3960b9497 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import shutil
 import glob
index 6c246d5306910de5a5fa2d7ab1780cbcfb2ccfef..42a1b6b4f4d7a1de40a92910a3948df9127850a4 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import time
index f22781d15c0cc7b89a6bf083ba953c9594bef920..d16eae58895918bfd46165d016add54fe16bea9a 100644 (file)
@@ -1,22 +1,8 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2015, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # AUTHORS
 # Ed Bartosh <ed.bartosh@linux.intel.com>
index c56e53dcdd34d3d2363b419957cddde23b48454b..d279994ddfdc4501c1aaa350b145b58cf34e2cc6 100644 (file)
@@ -1,5 +1,8 @@
+#
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import time
index 1868ad32066e53f200930c57ec9213b4bfa19aa7..c742d4759a0e1b069a6203a22ac413e5fa16a8ce 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # This module is used by testimage.bbclass for setting up and controlling a target machine.
 
index d38a323013c410bc6c2a06134cac9977894f5889..70fbe7b55233a42fc1e12c2e2fd506d7589d79a6 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: MIT
+#
 # Enable other layers to have modules in the same named directory
 from pkgutil import extend_path
 __path__ = extend_path(__path__, __name__)
index 01a803ab61331b8d5be5e881541592b1c6aa6509..e6d80cc8dc1c25480063d03b37a6e739ac731f14 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2013-2016 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # Provides a class for automating build tests for projects
 
index 2e6a2289cd988a78ee4c77171d136ce42ad35a1e..59ebfbe1253e561e494e2c09a8c46156014f623d 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (c) 2013-2014 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # DESCRIPTION
 # This module is mainly used by scripts/oe-selftest and modules under meta/oeqa/selftest
index d876896921439751542476c24cc5e430ff6347e1..aabf4110cbe1edfcca9d7e2708b57acfc0aaf9b0 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # Some custom decorators that can be used by unittests
 # Most useful is skipUnlessPassed which can be used for
index 79c22b75c4d506a4a432d00643228cd34c40d2a0..d34e05e2b4bdb5b229e09e994aefe5870e0bff68 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import sys
 import errno
index a7233d4ca6e9150e60abd1f38c5eeb8ea1482f26..3093419cc70ab0dcd4c9f612825b105ee5f1e3b9 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import re
 import errno
index 757e3f0cbf4d7679515b678bc30aef10203739f2..ea35a766eb71068f79fdcedd174897e768ebbc7e 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
 #
 """Git repository interactions"""
 import os
index 9520b2e126102ae3a1e1d05fedb0118cc37d5d79..6e8040eb5c960d4f3a17a1acbcbd486fb6b8298b 100644 (file)
@@ -4,14 +4,7 @@
 # Copyright (c) 2017, Intel Corporation.
 # Copyright (c) 2019, Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import os
index a48d4994fd7982bf6db79267518f8d8854bfca0d..aa435590f0e30eff06245d4c7761fb3acc7da679 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import http.server
 import multiprocessing
 import os
index 584ad4f2639f61ccfb7f6baf4e39e3c0b0b4ccc9..cc6d18d94a0236b5a6688cda49414d6eabb8e392 100644 (file)
@@ -1,4 +1,7 @@
 #!/usr/bin/env python
+#
+# SPDX-License-Identifier: MIT
+#
 
 import sys
 import os
index e0808ae0ac2cf64cc3ec55cd697826268dbe1787..8013aa684dd76b86804ff90abf8a1568a030802d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright (C) 2016 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
 #
 # Functions to get metadata from the testing host used
 # for analytics of test results.
index 2768f6c5db89e060edb572a3742fb59a56f48f8b..59cbbc4f1bccb433ec6db3cace8d7db4c1681797 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import socket
 
 def get_free_port():
index 1495f8732108e22907f508454b2524eddedc2804..2d358f7172eee7083501e5d8d0d0b71a010351b7 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 import os
 import json
 import shutil
index 1abb2c1b6cbf1be70cda80997802a8891f9d8a67..fd386ef5a20a5215d36b53f52ebcaf837068a0b1 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # This module provides a class for starting qemu images using runqemu.
 # It's used by testimage.bbclass.
index 5aa99d0686df120e192688b979985a07d0f51fae..364005bd2d50da2dc15e95b8480e12fbaf32dfbd 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2015 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # This module provides a class for starting qemu images of poky tiny.
 # It's used by testimage.bbclass.
index d292893c08f2027ae0913491a51a800722684e9a..49a07264c67959e080d667b67bffb71a808c7137 100644 (file)
@@ -1,7 +1,8 @@
-# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # Provides a class for setting up ssh connections,
 # running commands and copying files to/from a target.
index 1f7d11b55cb47a44cb34352db51047054f13b485..b47975a4bc000bca7fee099a05bfcce2a4963b6c 100644 (file)
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: MIT
+#
 import subprocess
 
 class OETestCalledProcessError(subprocess.CalledProcessError):
index b8db7b2aca0486f3d653f88921f027b460c0d833..1055810ca33ede0301af3e1140552bb7f5d9bf9c 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2013 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # Provides a class for automating build tests for projects
 
index be2a2110fc62820729d606986be26d5c49bb5e25..e89d130a9c6b5a9c3ce6c275f1baf458591c7d65 100644 (file)
@@ -1,6 +1,8 @@
+#
 # Copyright (C) 2015 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 # Provides functions to help with exporting binaries obtained from built targets
 
index 4742e0613ce5f147a0dee40ee2301d603dbb5735..fdb9f5b85093c35970a057614acee4ce7b4e28e5 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import os
 
 def sort_file(filename, mapping):
index cdc2f51c2eb7ffc6cbc8f65df5ba31d9206d9c1d..ca1ad964dcc4d065d86d9ef4dcbc321f6dc4a717 100644 (file)
@@ -7,7 +7,7 @@ RDEPENDS_${PN} = "nativesdk-qemu \
 PR = "r9"
 
 LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999 \
-                    file://${COREBASE}/scripts/runqemu;endline=19;md5=a8ad1905c709a2deaa057608ebaf705a"
+                    file://${COREBASE}/scripts/runqemu;beginline=5;endline=10;md5=ac2b489a58739c7628a2604698db5e7f"
 
 
 SRC_URI = "file://${COREBASE}/scripts/runqemu \
index 861c3e000ed6b4a40595c1a7f8c99f438cfeea93..8c1bd54e57f3313c027c6dfcf944994b119712ac 100755 (executable)
@@ -4,19 +4,8 @@
 #
 # Copyright (C) 2006-2011 Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 #
 # Normally this is called as '. ./oe-init-build-env <builddir>'
index 358dd2beeecc8e8f93f61ed926a3483250f733d5..5d7e6e260130ae54fd714a130950c6f5a27e8d7c 100755 (executable)
@@ -3,7 +3,7 @@
 # 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.
 #
-
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Todo
 # Add testtools/subunit import test
index fa31b52584ef20006ca222ad757c5db34412dc9e..e55d98c72e10ede73560357a8fb74e7ce93f937d 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env bash
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 help ()
 {
index 0207777e63cb33440b99d0f163b5bcdb62d4f8d4..3095dafa4687127e83ccb65e2972dc4bb51b2510 100755 (executable)
@@ -4,18 +4,8 @@
 
 # Copyright (c) 2013 Wind River Systems, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import os
 import sys
index d375b045d8d71c3d249cf5a0a85dd38e157a1c3f..c4d203ff4d950eff187a95c045e56b41591c03bf 100755 (executable)
@@ -5,18 +5,8 @@
 # Copyright 2013 Intel Corporation
 # Authored-by:  Paul Eggleton <paul.eggleton@intel.com>
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import collections
 import os
index 70805b0678b4ebb152ddb26cd4d72e5288df7212..833f7c33a5b7aa16db938056b4b2e065c3216348 100755 (executable)
@@ -4,6 +4,9 @@
 #
 # Copyright (C) 2013 Intel Corporation
 # Author: Paul Eggleton <paul.eggleton@linux.intel.com>
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import sys
 import os
index a128dd324f89d881fae9f8b72f016fd5a2c67d8f..c179c9352863770edfa69b2fef66d8ebb3afca84 100755 (executable)
@@ -4,15 +4,9 @@
 #
 # Copyright (c) 2016, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import argparse
 import glob
 import logging
index dc40e7240444b93cf072d4f26a4a4917e3978c88..9b50e9873da46b6fe48a246c4fc0f34dda5fe9d7 100755 (executable)
@@ -7,18 +7,8 @@
 #               Paul Eggleton <paul.eggleton@intel.com>
 #               Richard Purdie <richard.purdie@intel.com>
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import fnmatch
 import os, sys
index 1e3a3b9bc8a5240ad62e7f69b390e5ebae36ce5d..11547a982691fa353fb9c53df45808ba75a9e28d 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Hook to add source component/revision info to commit message
 # Parameter:
 #   $1 patch-file
index 136a25570de82ebc95347dd7d7cb69ee5d6064b1..e7bd129e9ed838e50197261554db3e0103cb5fa5 100755 (executable)
@@ -1,21 +1,8 @@
 #!/bin/bash
 #
 # Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # DESCRIPTION
 # This script operates on the .dat file generated by bb-matrix.sh. It tolerates
index 106456584dd66889da2716bffb8e7aa3a9c7deb5..b1fff0f3443dc1c17e5e9e51dd9a7623b1fece95 100755 (executable)
@@ -1,21 +1,8 @@
 #!/bin/bash
 #
 # Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # DESCRIPTION
 # This script runs BB_CMD (typically building core-image-sato) for all
index 7e8ae0410e2bafaaacd2831fcf587d4aab20ddf8..898834e5ac293527a222023749b62be94a3d23da 100755 (executable)
@@ -1,21 +1,8 @@
 #!/usr/bin/env bash
 #
 # Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # DESCRIPTION
 #
index 8d7e2488f038c851ef16fb136024217c4ed006cf..e9ec2d476a73785be1ce76616970fd8e5100b9c5 100755 (executable)
@@ -1,21 +1,8 @@
 #!/bin/bash
 #
 # Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # DESCRIPTION
 # Given 'buildstats' data (generate by bitbake when setting
index 286b5a94059d09b0cc484a226a43720c38dbd3f0..090133600b6722eb258971c7f8d480b658addb56 100755 (executable)
@@ -1,18 +1,6 @@
 #!/usr/bin/env python3
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # Copyright (C) Darren Hart <dvhart@linux.intel.com>, 2010
 
index 7cbb5d794f12eb45644ebe544fd73478aefee518..fa71d4a2e9a82bc6429b9dc1a242acfcb5ccdcba 100755 (executable)
@@ -4,15 +4,7 @@
 #
 # Copyright (c) 2016, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
-#
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # This script is a simple wrapper around the actual build performance tester
 # script. This script initializes the build environment, runs
index ab929957a5a2bf76452c6856fa648befd8f7d6d6..b577d1ca2ab690551c8b24410bb036915d0285a8 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 # Default to avoiding the first two disks on typical Linux and Mac OS installs
 # Better safe than sorry :-)
index d555c51a650b748ec483898c50d9314e75b5d6bc..81046ecf49f697a97a65e091fff00c08c4cfd784 100755 (executable)
@@ -6,18 +6,7 @@
 #
 # Copyright 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import sys
index 7550ea53be4e6d8164fae396ffc719c6afe48aca..ad6070c36934b6888a91ee8c7edcd20f6c2974c4 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Simple script to show a manual power prompt for when you want to use
 # automated hardware testing with testimage.bbclass but you don't have a
 # web-enabled power strip or similar to do the power on/off/cycle.
index 2144aac93602e7b0dc63c6e1de28428780cd1b41..1191f57a8e3bcfd5d0cd07c2e158485a555a80c8 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Perform an audit of which packages provide documentation and which
 # are missing -doc packages.
 #
@@ -7,7 +9,6 @@
 # this script after source'ing the build environment script, so you're
 # running it from build/ directory.
 #
-# Maintainer: Scott Garman <scott.a.garman@intel.com>
 
 REPORT_DOC_SIMPLE="documentation_exists.txt"
 REPORT_DOC_DETAIL="documentation_exists_detail.txt"
index 1df5b8c345905b5062012e5833ddeefa69fae280..6d2e68b82e5bf4857af1cc77333635d2d6105e08 100755 (executable)
@@ -7,18 +7,7 @@
 #
 # Copyright 2013 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import sys
index 7ce718624ab7fe95387065e22b88c52969b6625d..b1d6c852d86556373c909b825056cd88a6da9556 100755 (executable)
@@ -1,21 +1,10 @@
 #!/usr/bin/env python3
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation.
-#
 # Copyright (C) 2013 Wind River Systems, Inc.
 # Copyright (C) 2014 Intel Corporation
 #
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
 # - list available recipes which have PACKAGECONFIG flags
 # - list available PACKAGECONFIG flags and all affected recipes
 # - list all recipes and PACKAGECONFIG information
index 913847bbed564f960f1cc9f0d590a456acff412f..de3862c897e51d659974289d4b641f9fc15deeb6 100755 (executable)
@@ -4,15 +4,9 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import argparse
 import base64
 import logging
index 072166504da9b602e72f9efa2a8c3d5c46fb937f..62c509f51c899c67597e01b3bad07d931d8035b3 100755 (executable)
@@ -1,4 +1,7 @@
 #! /usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 # TODO
 # - option to just list all broken files
index 7fe566666e1a1d2013a85d09e806b00a53f0e6a2..b1e1ea334b95601c805e9ac8518818f7750ba628 100755 (executable)
@@ -1,26 +1,12 @@
 #!/bin/bash
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # patchtest: Run patchtest on commits starting at master
 #
 # Copyright (c) 2017, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
+
 set -o errexit
 
 # Default values
index 74bd7b7161f3a7f829c6491d7608a48df50fe0b5..9144730e7ee471c191f1e4815e94ae0f6ddd1364 100755 (executable)
@@ -2,7 +2,8 @@
 
 # Copyright (C) 2014 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
+#
 
 if [ "$1" = "" -o "$1" = "--help" ] ; then
     echo "Usage: $0 <serial terminal command>"
index 9e5725ae54eabc0ea456764cd762e5c359167420..23f238adf6e0ae45f6f489a3b7a20d2d0e4cc8d0 100755 (executable)
@@ -3,22 +3,8 @@
 # Build performance regression test script
 #
 # Copyright 2011 Intel Corporation
-# All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # DESCRIPTION
 # This script is intended to be used in conjunction with "git bisect run"
index 8e20a9ea7dd3020d54a5e10245f845e8aa7bd53e..478e8b0d03b4498e82da7c55638cacb3eba567b4 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This is an example script to be used in conjunction with test_build_time.sh
 
 if [ "$TEST_BUILDDIR" = "" ] ; then
index a8399ad1701f917e5fdb846a5be7468f4c4b82f6..f16128cb7ac8c6d663f5647ceb85a4668c41db43 100755 (executable)
@@ -1,23 +1,10 @@
 #!/bin/bash -eur
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Find python modules uncovered by oe-seltest
 #
 # Copyright (c) 2016, Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Author: Ed Bartosh <ed.bartosh@linux.intel.com>
 #
index cc6e797d8b3c40a4c2619d7d8c75f616628bd8e1..7bffa78e23875d9028b1f03f69b7161fe9105321 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/env python3
-
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # This script can be used to verify HOMEPAGE values for all recipes in
 # the current configuration.
 # The result is influenced by network environment, since the timeout of connect url is 5 seconds as default.
index 35eb211be313189c3ca47ddcec740ed1178b16ac..ab617c5d35a941d952a9615bd71e624ee0cd325d 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/env python3
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation,
 # don't error.
 # Also don't error if $1 disappears.
index 280880b3f70de901b30467e9f1664661977d1c85..3ce03d6c1a07bbb8ee50c33146d9d807a1064fd2 100755 (executable)
@@ -1,21 +1,8 @@
 #!/bin/sh
 #
 # Copyright (c) 2010-2013,  Intel Corporation.
-# All Rights Reserved
-# 
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program;  if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 
 #
index e33fa4ad469f0c89c240699dea942ef35339529c..40856bc208d5e38ab639a5dc6e1742f7033aff3a 100755 (executable)
 # related to kernel.
 #
 # Copyright (c) 2018, Cisco Systems.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import sys
 import re
index 0e578c0de36bc6b838241635fa08f5762392e242..8a4f41bc372ecebcf4e38d96e28f6441dd6df144 100755 (executable)
@@ -4,18 +4,8 @@
 #
 # Copyright (C) 2014-2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index 6765891d1986f9ef4bec8bb753791ba5ce148767..e3076e11a535dd4bb469257f64e06f6358df54b6 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import os
 import sys
index 7da7a0bd8a2b8749ad8435f2616363705fd8e53b..727b809c0f2acec182c04c49a883bf808f184fdb 100755 (executable)
@@ -1,18 +1,8 @@
 #! /bin/sh
 #  Copyright (c) 2005-2008 Wind River Systems, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 cat << EOF
 AC_PREREQ(2.57)
index 9bdfc1ceca2e6426e5eb5dda16444705d6a08581..94a4ac50110f23202738bc1ce2d79b5d6e5a92d4 100644 (file)
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import sys
 import argparse
 from collections import defaultdict, OrderedDict
index 1f8b72907831d1ec2a5faf30616a4bf5549631bc..dcbb78042de3463efa9a6f2627f5163a11a987f2 100644 (file)
@@ -1,14 +1,7 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Build performance test library functions"""
 
index 578bb162ee296a673f6b3c06d996f97d33b8af81..d1273c9c50157b63983e6ec6996f02e73a527a5d 100644 (file)
@@ -1,14 +1,7 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Helper module for HTML reporting"""
 from jinja2 import Environment, PackageLoader
index d99a36797fd358cb7b04d9d72114b33a65cee7a3..4e8e2a8a9392dbc2313f5d117a105e153c711b1b 100644 (file)
@@ -1,14 +1,7 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Handling of build perf test reports"""
 from collections import OrderedDict, Mapping, namedtuple
index f7db3eaf92e6ba65208e7d6411a2173f9eb4e459..1adab06edf5c9bd4a90c731e0366c390b4e70f1f 100644 (file)
@@ -1,14 +1,7 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Functionality for analyzing buildstats"""
 import json
index 670f0eea39222069bfa53ab194045018425bad03..8244cf07208afb76c9d0f53b622c3e2b3f8b32b1 100644 (file)
@@ -1,7 +1,9 @@
 # Yocto Project layer check tool
 #
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import re
index 9dd00412e522dd3ff2a0bc82872c210cc53b2c47..fa9dee384e0f6be3d1167369f988982b757463fe 100644 (file)
@@ -1,5 +1,7 @@
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 from oeqa.core.case import OETestCase
 
index b6b611be731443558db0ab65f5ee608255c408fd..7fd56f5d36c803f734a3e542078c9b5f00a796d9 100644 (file)
@@ -1,5 +1,7 @@
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import unittest
 
index 1bef61b0487e5f8f61ad9bdf631db1757dea70bd..8ffe028b3999713db78839d31b58f5145da72bb0 100644 (file)
@@ -1,5 +1,7 @@
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import glob
 import os
index df1b3035eb347cd76c7df551ee938c14b70ee6a8..f0bee5493c2b805f99f11376101bdc56c89dc625 100644 (file)
@@ -1,5 +1,7 @@
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import unittest
 
index 1bec2c4103188c56f6274f4416d0b4652314276a..4de8f668fd2c230d78d6d48c145a408bcd4e9e67 100644 (file)
@@ -1,5 +1,7 @@
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index 8fc7fffcd672deab2ca435173802d64a287a6b38..d39c474fbdc96a4f80f4a2de0cc20db242cce5f0 100644 (file)
@@ -4,18 +4,8 @@
 #
 # Copyright (C) 2014 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool plugins module"""
 
 import os
index ba9593f1ad05bf68115fe77c60c2551edd9c1fe6..7543398d96f2208d6c6addf136ebe4acf46246d7 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool build plugin"""
 
 import os
index e5810389beb6e54dea943f3f0a2d67cefb364f98..9388abbacf6bf282440e90f0dcc8f195d3545006 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """Devtool plugin containing the build-image subcommand."""
 
index b89d65b0cb802afddf309875c5e2cc8d4ef2478c..6fe02fff2a45f4fd63248737302e8c517544cbd2 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import subprocess
index f345f31b7bb06600f3b213b61e1dd8a431efc93e..d1ce2309f9642976a8648fd45f669fd72a5d172d 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool plugin containing the deploy subcommands"""
 
 import logging
index 35349e2cda128f316534eb9dea03c4b164fff53d..01174edae55ec8297553b7c41b9ab4f78738f595 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2017 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool export plugin"""
 
 import os
index 4264b7d8209962aac8969ee9ebc4936194fc6a6a..6829851669a98bfd04c7cac5dfd32d19c6424094 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2017 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool import plugin"""
 
 import os
index af9e8f15f514439fb7eeaf1274892d8bf5889fce..c2367342c3a8eba8bc2e3721dd9ac9164db50dba 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool plugin containing the package subcommands"""
 
 import os
index e26cf28c2f251a578e6ddfe9a3f963cd6afdcaf5..ead978aabc382b43293bd76fa7958fdf7d41d441 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """Devtool runqemu plugin"""
 
index 4616753797b05165111301e949072cc179af9078..3aa42a146637ceb198e35d2fe67576712ef964ba 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import subprocess
index b4f209b7e3a2cc51df849941c29a794a1b4e5b98..d24040df37996b88a908fd4cac4df66076a15b16 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """Devtool search plugin"""
 
index 0a1e329e61edd3ff3807d89cceeec92226cff722..aca74b1fc66118a7b6beaca8ebbd0a6f5812b689 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2017 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 """Devtool standard plugins"""
 
 import os
index 75e765e01958768411a03d9a21f1b4b7860135a6..62ec2f94cbcbdd78f620bbef2daa3608432ad829 100644 (file)
@@ -2,18 +2,7 @@
 #
 # Copyright (C) 2014-2017 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 """Devtool upgrade plugin"""
 
index 7cd139fb8bcc01c9d263b2eb3bd38aac4e9b904f..964817766b73cc7c92018b32fa5f4bc56b2abbce 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 """Devtool utility plugins"""
 
index 3f2c134ad511ca8e70aae34e5a3bd9947a00acd5..e9d52bb67b4fe694da2538a627b5733e66a48498 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index dbd74a1ca3df2b1f69c7491948560747961cce75..98277f74c9622a484d93eb88519e2921aa805f3e 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2017 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index 4743c740cf919d5e7aa9c7c4ae4de4124b9fce15..3cb02766c87c660ce01c9595e0f994a037b5a3f9 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 import logging
index 5bd2aa337c5ab4ed16e0adba9801aa8c4d83d4e3..1a38bd0b14ef775fb6cb5b267f41dc04807b1dbf 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015 Mentor Graphics Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import ast
 import codecs
index ca4996c7ace7a97c541f2f075ff8f5c4b73ed161..5740589a683d0876800d055207b46df356c77b0e 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 import logging
index 3982537a4e91b7b9adc3742837415dc5b62000a9..85b5c48e531897a8b1078d72cd27e6d46b2f0326 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import re
 import logging
index 0b09ed0b04353d8b33395d4d5bff5b1e27686ff9..39429ebad3cc0561ff64b4a4aad640aee4570504 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
index c4789a9994c557510ee285c1e6e31a6f001acfb8..94bdf7bca4eb2484a361631ed5119a2330c73347 100644 (file)
@@ -6,18 +6,8 @@
 #
 # Copyright (C) 2018 Mentor Graphics Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import argparse
 import errno
index 76707b4c91b1ae7843df5081a98bae7000e10875..08e2474dc42df6e4fca5e2f5c13b6533a8d1e603 100644 (file)
@@ -7,18 +7,8 @@
 #
 # Copyright (C) 2015 Christopher Larson <kergoth@gmail.com>
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import argparse
 import errno
index 9de315a0efb98edc970556d323b644b2d92a152c..f8e2ee75fbecd8c0859674336391e3faf6c0525f 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index 49816357cdaced2ce12a74a7a8995e2fb3dff3cf..25c3396717e442e834feada12b459aa0e0e65e37 100644 (file)
@@ -2,14 +2,7 @@
 #
 # Copyright (c) 2019 Garmin International
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 import os
 import resulttool.resultutils as resultutils
index dc368f36fcc17350175674809ead6fe033333906..df28e1d21e81cff65602b394fb9fcceb76cdcbc6 100755 (executable)
@@ -2,15 +2,9 @@
 #
 # Copyright (c) 2018, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import argparse
 import json
 import os
index 7159463f6ed91af1644fe3fe0b6bae2e48a24536..70d23a48fdcb70dc8bb61fd755a793f89d1ebe23 100644 (file)
@@ -3,15 +3,9 @@
 # Copyright (c) 2019, Intel Corporation.
 # Copyright (c) 2019, Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import os
 import json
 import resulttool.resultutils as resultutils
index fa90ab1e522bb5636ecf60e1a9444576f8dd8c18..9f952951b3f1eca9febf7a8a221f80a6b40a281c 100644 (file)
@@ -3,15 +3,9 @@
 # Copyright (c) 2019, Intel Corporation.
 # Copyright (c) 2019, Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import resulttool.resultutils as resultutils
 import json
 
index b9a8903f4c2357a8617657b8f4f5e5b0bc1aa48a..cb6b1cf9487ac98486b6883352b5ffca158af16e 100644 (file)
@@ -3,15 +3,9 @@
 # Copyright (c) 2019, Intel Corporation.
 # Copyright (c) 2019, Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import os
 import glob
 import json
index 07dab4cbd317d7ef94e1118ae7f61dc33e8d6657..ea4ab42d9a042003f8c8df178712fc2c35d2a5de 100644 (file)
@@ -3,15 +3,9 @@
 # Copyright (c) 2019, Intel Corporation.
 # Copyright (c) 2019, Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import os
 import json
 import scriptpath
index acdfbd94fdf261795131a505b9c518c91f38e491..06505aecc05c75ec7504bde69a080d28b4aaae21 100644 (file)
@@ -3,15 +3,9 @@
 # Copyright (c) 2019, Intel Corporation.
 # Copyright (c) 2019, Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import tempfile
 import os
 import subprocess
index d00317e18d9aa98b231e9285a1c7cac0c07fc9aa..f32326db3a1fcc51dacab4a2297368839d310211 100644 (file)
@@ -3,18 +3,8 @@
 # Copyright (C) 2012-2014 Intel Corporation
 # Copyright (C) 2011 Mentor Graphics Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index 0633c7066e6c3bc58685c55e7bfbf8acc7cd1a9f..e7e7021c2458d21c2bbb5a6c2bd996527130d7ab 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2014 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import argparse
 import glob
index 85876b138c7120eb57a50ee4182d0f007a455ffc..ba2d6140619cdccf0009b77c69759311e81a3e4b 100644 (file)
@@ -3,18 +3,8 @@
 # Copyright (c) 2007 Red Hat, Inc.
 # Copyright (c) 2011 Intel, Inc.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; version 2 of the License
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc., 59
-# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 class WicError(Exception):
     pass
index ab33fa6042e9d1e7d656f35031d9472f4c35d5bd..42e93c3eb829f2ffe0759a18ae0974d26ea1dec4 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2013, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 
index abbf958b8c86320843f3774f835cf08922f0b0fd..244c07a71cf7768195268fdb5dcd462232c8bf02 100644 (file)
@@ -1,13 +1,8 @@
+#
 # Copyright (c) 2012 Intel, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License, version 2,
-# as published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
 
 """
 This module implements python implements a way to get file block. Two methods
index 64f08052c7a790d59b663cb18fb238e8e15d76ce..3a40fc0ea29ec18e50607f8eebc347fe794093ca 100644 (file)
@@ -1,21 +1,6 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-#
 # Copyright (c) 2013, Intel Corporation.
-# All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This module implements some basic help invocation functions along
index 08baf76123e2a6c6af4174d46571d627c3dafe7e..62048213b30b8b6037818f272462812722b978b3 100644 (file)
@@ -1,21 +1,8 @@
 #!/usr/bin/env python -tt
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2016 Intel, Inc.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; version 2 of the License
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc., 59
-# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This module provides parser for kickstart format
index ee888b478ccffbadf89c25c299989c16efb376f4..1f199b9f234c5f8e494dd9cf4902e20d3941b41d 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2013, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This module provides a place to collect various wic-related utils
index df31c17c40d5a261a324346855267ae339bddaa4..01466b258d49dd88b460375fd9378d4baebf960b 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2013-2016 Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This module provides the OpenEmbedded partition object definitions.
index 686d2fee3b3acf65aeb2f2aec720d63a14a42e43..bfb73ca6155673411f61635fa661ce7f014fd3ee 100644 (file)
@@ -2,18 +2,8 @@
 #
 # Copyright (c) 2011 Intel, Inc.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; version 2 of the License
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc., 59
-# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 __all__ = ['ImagerPlugin', 'SourcePlugin']
 
index bb14a334b2ce818e7ecd17eb453f79693dfbb30b..67addeff3e10099e44cc8ee2c7c04c61b7e5a2f5 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2013, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This implements the 'direct' imager plugin class for 'wic'
index 83a7e189ed91dc5d4734d9fa0241eb72c6896ab3..3540b08440af6793dc8986d9c7bb8fe8137cf3d5 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2014, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This implements the 'bootimg-efi' source plugin class for 'wic'
index ddc880be366f4e355c1c402a84f52357a071f29a..138986a71ef9144d40ef5e9279950338dcdfaa06 100644 (file)
@@ -1,18 +1,5 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This implements the 'bootimg-partition' source plugin class for
index 9347aa7fcb7fd25dd41e20db771a0e1a4ec126fc..6c9f54a89746c2421699161ce574a0c68d56bea6 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2014, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This implements the 'bootimg-pcbios' source plugin class for 'wic'
index 170077c22c21ee2320065beaa9d7068875af665b..96d07ff629b3fe5f81377f91916255801a7cd74e 100644 (file)
@@ -1,18 +1,5 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This implements the 'isoimage-isohybrid' source plugin class for 'wic'
index e86398ac8fbabf36efa4265b38c3f1e9ee8e1eb9..df86d6729c68603ee7e357cf9131bbd183a9a2c9 100644 (file)
@@ -1,18 +1,5 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import logging
index aec720fb22771f0e7cbbb8a0cf644f09fd931b08..e26e95b9913bab255f96d15e8cad5e287dec0171 100644 (file)
@@ -1,21 +1,7 @@
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2014, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This implements the 'rootfs' source plugin class for 'wic'
index 5fed780eb2ca347f7af602b683f11957f1da1ae5..a2ac4fec0f225dafdc93dd42dce8b646b3ea4e14 100755 (executable)
@@ -1,4 +1,7 @@
 #! /usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 # Create a *relative* symlink, just like ln --relative does but without needing
 # coreutils 8.16.
index 4824790783e6929714d8e799e6c40ddf03494879..c81e7ee5e897dcde652ac45a86788d0760288f14 100644 (file)
@@ -1,23 +1,7 @@
 /*
  * Copyright (C) 2005-2011 by Wind River Systems, Inc.
  *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
+ * SPDX-License-Identifier: MIT
  * 
  */
 
index 4f43271c2b10be68734422b801e4db5f47700586..399c979f9acce32386b2e308d844a2eeb81d8940 100755 (executable)
@@ -1,2 +1,5 @@
 #! /bin/sh
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 echo "Intercept $0: $@ -- do nothing"
index f6fb458c2eb1925231f97d6b08a5f3f1619d58f1..21bde7e15618c28bd423da25b67e3a1ff7ec316d 100755 (executable)
@@ -4,15 +4,9 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import argparse
 import json
 import logging
index 669470fa978b38802288bf28393dfa2b0fbffc20..0b13f24888a263be67735deb3563398833acd621 100755 (executable)
@@ -4,16 +4,9 @@
 #
 # Copyright (c) 2016, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
-#
-"""Build performance test script"""
+
 import argparse
 import errno
 import fcntl
index 52ce32987c01c042c692692da1fb1310f161ca20..96bb0c3dc950a8db89fa0bdab090b9231e23961d 100755 (executable)
@@ -4,19 +4,8 @@
 #
 # Copyright (C) 2006-2011 Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 if ! $(return >/dev/null 2>&1) ; then
     echo 'oe-buildenv-internal: error: this script must be sourced'
index d06efe436a562af7c6a20d63d81d33394d9c1b81..ca249ca67b9331579c53c30bcf406eacf795bda3 100755 (executable)
@@ -5,18 +5,8 @@
 # Copyright 2016 Intel Corporation
 # Authored-by:  Paul Eggleton <paul.eggleton@intel.com>
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index 6c7e9d3383b83ca24774bb84f778ad10f947dd37..5eb3e12769a6541ffeb3a47e735da1f49dda3e66 100755 (executable)
@@ -2,18 +2,8 @@
 #
 # Copyright (C) 2018 Wind River Systems, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 import os
 import sys
index cc146b3fdbcdec9ec098b2ec991c650bae472c3e..5146bbf99990f2f6429f48e2a1542333bab5e3e0 100755 (executable)
 #
 # Copyright (c) 2010 Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 if [ "$1" = '--help' -o "$1" = '-h' -o $# -ne 1 ] ; then
     echo 'Usage: oe-find-native-sysroot <recipe> [-h|--help]'
index ab1c2b9ad4cf294ab27bced28e597c8de8988ca3..9305ed0b0f9717fdf7b7534133b0b411681bd58b 100755 (executable)
@@ -4,15 +4,9 @@
 #
 # Copyright (c) 2017, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+
 import argparse
 import logging
 import os
index 1800942f3642ade8f997b00588e18df004fb5e6d..bb2ed2a46e45deef0f67a4f54014d8cf659ab333 100755 (executable)
@@ -13,7 +13,8 @@
 # ALL_PROXY=https://proxy.example.com:8080
 #
 # Copyright (c) 2013, Intel Corporation.
-# All rights reserved.
+#
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # AUTHORS
 # Darren Hart <dvhart@linux.intel.com>
index e02354883a260962d7fa4a025496bd00124d657b..b6b9a3867b21c7c8d557f34fa27f371dff062feb 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Gnome terminal won't tell us which PID a given command is run as 
 # or allow a single instance so we can't tell when it completes.
 # This allows us to figure out the PID of the target so we can tell 
index 53739b0bfc504ff558e83f374581fc5a0b68110d..9cc78d110498dc2133639165a0b899f0d1d418f1 100755 (executable)
@@ -6,18 +6,7 @@
 #
 # Copyright 2012-2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import sys
index ee33acf902c699358b3409c4a24bad3ff86bc24c..4b70f436b1a1a4b946e445d74d16a441d20895eb 100755 (executable)
@@ -1,21 +1,11 @@
 #!/usr/bin/env python3
-
+#
 # OpenEmbedded SDK publishing tool
-
-# Copyright (C) 2015-2016 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# Copyright (C) 2015-2016 Intel Corporation
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index 74ff4b884de245562a50a4fb282f5ba3717e4da5..7cc1ccb010e08c197cdc02cdb7405de1bf2d0f96 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Run the pylint3 against our common python module spaces and print a report of potential issues
 #
 this_dir=$(dirname $(readlink -f $0))
index a29e99438a5a68dca8d128169e48989ca3965f3d..bea5d696d7001653057b9cace3dcb0cf7d004e03 100755 (executable)
@@ -1,20 +1,8 @@
 #!/bin/bash
 #
 # Copyright (c) 2016,  Intel Corporation.
-# All Rights Reserved
 #
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program;  if not, see <http://www.gnu.org/licenses/>
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 
 #
index 1bf860a41555837bb8b35300ce7f1050b5fbc5b7..57662b2f75d0f4ebc02d8d6b41edaabbc132e2e1 100755 (executable)
@@ -2,18 +2,8 @@
 
 # Copyright (c) 2013-2017 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # DESCRIPTION
 # This script runs tests defined in meta/lib/oeqa/selftest/
index 55d73ca1e46fb18864ec08c5a910da4b714d00d4..30eaa8efbe1fef6c19a7815c028a672f38aedca6 100755 (executable)
@@ -4,19 +4,8 @@
 #
 # Copyright (C) 2006-2011 Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 if [ -z "$BUILDDIR" ]; then
     echo >&2 "Error: The build directory (BUILDDIR) must be set!"
index 34d9012d14311b6e7c83fcc535c4a83e08ff4f64..55985b0b2453da7ff5bf7e3e46931b437537441a 100755 (executable)
@@ -3,7 +3,9 @@
 # OpenEmbedded test tool
 #
 # Copyright (C) 2016 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index 7c199ef1df2dfc1accfab1f3afa4036c2cd1e356..bf77c8cf643a81a9ffc91466530ce655e27aed1b 100755 (executable)
@@ -1,4 +1,7 @@
 #! /usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import sys
 try:
index 2f7d5d433e876839799761955bb042babe0f31a0..96c078ef3dff1150e742b4682e5938263d41d86f 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import os
 import sys
index ce89491f60bdc5107dbac44fcc09efced052bbf0..bc3ab43823ae0f51261edae03dc2dc4f9781c70e 100755 (executable)
@@ -6,21 +6,8 @@
 #
 # Copyright 2012 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-#
-
 
 import sys
 import fileinput
index ecdbef95dde03cb2ec8e068bc3e1304a28cb9275..fa8e1caaf5c86481fb2a55b5d6f6098aff9baa9b 100644 (file)
@@ -1,2 +1,6 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
+
 exit 1
index b18e806d43175a8dca3047753722a99fbbdefa8d..b91974c885883afe66fa72776fddef7fdb30b0d2 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 #
+# SPDX-License-Identifier: MIT
+#
 # This script is called from inside postinstall scriptlets at do_rootfs time. It
 # actually adds, at the end, the list of packages for which the intercept script
 # is valid. Also, if one wants to pass any variables to the intercept script from
index e0ec471964c77f45bbc43ef16b444feafdfa5490..3053c7065f45f17b3dd4a6bf8e4b73b5dfb82c50 100644 (file)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
 
 set -e
 
index d1f0140947e288ed46f37956d7c9c6d14035207b..c87fa85db9eca3470099faff3b29aeb6efa7146b 100644 (file)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
 
 set -e
 
index 395516971e925fe9da814aab5b8a9444f23ec242..9f07ccca6b8087760336060428c06b4307c8b761 100644 (file)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
 
 set -e
 
index 9cf2a72a0cf55b943f2b76cbb6594da76c534c62..212209a9dafdf4da0cc2c6ee0170b3ef0246f21c 100644 (file)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
 
 set -e
 
index ebea07c356a381fc7fcbe237c7e816a7e41aeec1..ea12814474e11228a35eb58112f33bd66f103a02 100644 (file)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
 
 set -e
 
index b5cce0a09d15c13f33f3cdff0a5bb4773303066a..c4fb2bffcbf06b35e7ae61ca9310f46c8f8f6463 100644 (file)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
 
 set -e
 
index 3e13a587eefc1a8a2dde34048f6762df47e058e8..be21dd84ebc0217c8dcf7fcc079ed8285cbd0fa0 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/env python3
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Determine dependencies of python scripts or available python modules in a search path.
 #
 # Given the -d argument and a filename/filenames, returns the modules imported by those files.
index 3a3c9b74450122584dd7a09ecd6c82e745c64358..e2d585d2c54e87391183a825e705a792d2a952e8 100755 (executable)
@@ -4,18 +4,8 @@
 #
 # Copyright (C) 2014 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import sys
 import os
index c752fa2c6192c9246dce89bf5c68244d54482e9a..8c0fdb986aa1ba6865e18164317a9c20a93c84a5 100755 (executable)
@@ -2,18 +2,7 @@
 #
 # Copyright (c) 2012 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION
 # This script is called by the SDK installer script. It replaces the dynamic
index 9477667a870e97e73c8f2cfb87aead63d484b943..fc282bda6c61d62341249b1cfdb060a7c810f9c0 100755 (executable)
 #
 # Copyright (c) 2019, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 import os
index cf23472ba95ae10dd8501e346d507805c07fb15a..876c53c5d913afad6759299975c8dbc55f2f8e8e 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh -efu
-
 # This file comes from rpm 4.x distribution
 
 fatal() {
index a4fc606e50ca3a2684552c5c415984e4fd287157..39bed038d5aadcb2da0c1e44166a9f93cf89504f 100755 (executable)
@@ -5,18 +5,8 @@
 # Copyright (C) 2006-2011 Linux Foundation
 # Copyright (c) 2016 Wind River Systems, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
 import sys
index f0195ad8a3208b9d297bff7b19f96ded8ce0cece..ca29427258c684a301834666fe4830e197f3a207 100755 (executable)
@@ -4,20 +4,8 @@
 #
 # Copyright (C) 2006-2007 OpenedHand Ltd.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
 
 IMAGE=$1
 IMAGEOUT=$2
index 70cdcdbb13fa7bf2b57589ee9a6b28a80f363919..384c0917130a292ac2c5c6f45466d9d497c83f55 100755 (executable)
@@ -2,18 +2,8 @@
 #
 # Copyright (c) 2005-2009 Wind River Systems, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 usage() {
        echo "Usage: $0 {start|stop|restart} <nfs-export-dir>"
index 4da3eb10a795d7c42b017e5f9339eaf5f7c034f3..8a4ee90a1d68b7f8f5dbddb7ef99de00ada23f9a 100755 (executable)
@@ -7,18 +7,8 @@
 #
 # Copyright (c) 2010 Intel Corp.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 function usage() {
        echo "Usage: $0 <image-tarball> <extract-dir>"
index 869fee261d4eff4012f5ada5f923bc3d7500b320..a6ee4517dadd62030696c6b6e0dbc657bf78545b 100755 (executable)
@@ -9,18 +9,8 @@
 #
 # Copyright (C) 2010 Intel Corp.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 uid=`id -u`
 gid=`id -g`
index 24869685889d4474db0185277e2a1ba20386d307..a104c37bf8b40751ed9db9a14ab2d03ace014192 100755 (executable)
 #
 # Copyright (c) 2006-2011 Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 usage() {
        echo "sudo $(basename $0) <tap-dev> <native-sysroot-basedir>"
index 59a15eaa2e6dcdb28f03edc251a2e1c291a8c540..bb661740c575a13f8441501e72339627d7abb47f 100755 (executable)
 #
 # Copyright (c) 2006-2011 Linux Foundation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 usage() {
        echo "sudo $(basename $0) <uid> <gid> <native-sysroot-basedir>"
index 0ed7cc905e68dd228d442f1216dd2e88650e31a1..cfbcaa52cbc36712183065f46b2d10feb83dd0b4 100755 (executable)
@@ -6,6 +6,9 @@
 # Copyright (C) 2013 Intel Corporation
 # Author: Andreea Proca <andreea.b.proca@intel.com>
 # Author: Michael Wood <michael.g.wood@intel.com>
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import urllib.request, urllib.error
 import sys
index 883deacb07f6219afba29fece7eda554bdf0174b..70b5a5cfb2c085a1914678fcbec7096cac8d941b 100755 (executable)
@@ -1,21 +1,8 @@
 #!/bin/bash
 #
 # Copyright (c) 2010-2011,  Intel Corporation.
-# All Rights Reserved
-# 
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program;  if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 
 #
index 2ab450ab59cda89f6441ecf94255939a72b6a88e..f1706a2229c7a5f340208b494d6f7d6a2f78cf93 100755 (executable)
@@ -2,18 +2,7 @@
 
 #  Copyright (c) 2012 Wind River Systems, Inc.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# SPDX-License-Identifier: GPL-2.0-only
 #
 
 # Global vars
index 27c6a330060c5129361cbb0d0c228c8e00a6f7a1..1d721eb87ddb8973348ccd1b65b4c93d6ebaef12 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Used to compare sstate checksums between MACHINES.
 # Execute script and compare generated list.M files.
 # Using bash to have PIPESTATUS variable.
index d9917f5152c90acd619141f65a36a6109ee5bf89..fbf1ca3c4317edad85357261c2f9a74d6f913c14 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
-
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Used to find files installed in sysroot which are not tracked by sstate manifest
 
 # Global vars
index ffe254728b57ab104db2feb40344cdb2be0157f9..56e36f3ad5492a1c800a539eb93f8239ed1691ca 100755 (executable)
@@ -1,4 +1,8 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
 import sys
 import os
 
index e58040a9b98d42c09e6b794a0366d6446037235c..bcd1e25817570a70f86d339bf3710ed84b1e9e18 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import argparse
 import os
index 30e792c7d9b22be33b47a37800e057d2f96ec577..fccdac4da637ac990771f0c54735de3063120135 100755 (executable)
@@ -3,21 +3,8 @@
 # Test Script for task re-execution
 # 
 # Copyright 2012 Intel Corporation
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # DESCRIPTION
 # This script is intended to address issues for re-execution of 
index 27b1cae38fa3205b2dacab56d510e93b45aa0015..d209d228544a2d6d0c677b734dcfc690b1de1329 100755 (executable)
@@ -1,19 +1,9 @@
 #!/usr/bin/env python3
-
-# Copyright (c) 2014 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# Copyright (c) 2014 Intel Corporation
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # DESCRIPTION
 # This script is used to test public autobuilder images on remote hardware.
index ddccc5a8c8f77b9a078fbb785fa9bc6fdf840f47..501516b0d44a9ed42e256971dc02e8310c9ea123 100755 (executable)
@@ -1,22 +1,8 @@
 #!/usr/bin/env python3
 #
 # Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # Display details of the root filesystem size, broken up by directory.
 # Allows for limiting by size to focus on the larger files.
index ea1ca7ff23581eb0bd3ce3bffa87baa3296f07fb..bc11919f4b305de5d8d8cb57451d4903fe6b3729 100755 (executable)
@@ -1,22 +1,8 @@
 #!/usr/bin/env python3
 #
 # Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # Display details of the kernel build size, broken up by built-in.o. Sort
 # the objects by size. Run from the top level kernel build directory.
index d4f3892156da5d1572045d8f0a8224a60a09f221..f38ae055dbfccafcabea33b6b51fea9ed2e060e1 100755 (executable)
@@ -1,22 +1,8 @@
 #!/usr/bin/env python
-# ex:ts=4:sw=4:sts=4:et
-# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
 #
 # Copyright (c) 2016, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION 'ksum.py' generates a combined summary of vmlinux and
 # module sizes for a built kernel, as a quick tool for comparing the
index a979bd29650977d4c6b46b9be784055682ff8105..fb0cc719ea2e43590d80e5e8566b6e516e3083d5 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 import sys, os, subprocess, re, shutil
 
index 017ef99dda5eedd7fc145089251d9654fb5a9a01..1d89fb2edac4a516d2b32d0e50075205dac9baaa 100755 (executable)
@@ -1,22 +1,8 @@
 #!/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, Intel Corporation.
-# All rights reserved.
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # DESCRIPTION 'wic' is the OpenEmbedded Image Creator that users can
 # use to generate bootable images.  Invoking it without any arguments
index 106c95525177051a4efe91641118e211cd2fcdfb..010830f842ebe1f471591f4f8df7ffbe7ab648d5 100755 (executable)
@@ -3,7 +3,9 @@
 # Yocto Project layer checking tool
 #
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 import os
 import sys
index b5df9ce989817363860b86ec91646a05a4516faa..2e3b699031eb71f63789a71c126da5e431b3c088 100755 (executable)
@@ -6,7 +6,9 @@
 # script to avoid a contaminated environment.
 #
 # Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
+#
+# SPDX-License-Identifier: MIT
+#
 
 if [ -z "$BUILDDIR" ]; then
        echo "Please source oe-init-build-env before run this script."