From e591325b2bd901c381003deb96a7b32a7148e93e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 10 Aug 2022 20:58:46 +0100 Subject: bitbake: Add copyright headers where missing Where copyright headers were not present, add them to make things clear. Signed-off-by: Richard Purdie (cherry picked from commit 1aa338a216350a2751fff52f866039343e9ac013) Signed-off-by: Steve Sakoman --- bin/bitbake-prserv | 2 ++ bin/bitbake-worker | 2 ++ bin/git-make-shallow | 2 ++ lib/bb/COW.py | 2 ++ lib/bb/asyncrpc/__init__.py | 2 ++ lib/bb/asyncrpc/client.py | 2 ++ lib/bb/asyncrpc/serv.py | 2 ++ lib/bb/codeparser.py | 2 ++ lib/bb/compress/_pipecompress.py | 2 ++ lib/bb/compress/lz4.py | 2 ++ lib/bb/compress/zstd.py | 2 ++ lib/bb/daemonize.py | 2 ++ lib/bb/exceptions.py | 2 ++ lib/bb/fetch2/osc.py | 2 ++ lib/bb/process.py | 2 ++ lib/bb/siggen.py | 2 ++ lib/bb/tests/compression.py | 2 ++ lib/bb/tests/cooker.py | 2 ++ lib/bblayers/__init__.py | 2 ++ lib/bblayers/action.py | 2 ++ lib/bblayers/common.py | 2 ++ lib/bblayers/layerindex.py | 2 ++ lib/bblayers/query.py | 2 ++ lib/prserv/__init__.py | 2 ++ lib/prserv/client.py | 2 ++ lib/prserv/db.py | 2 ++ lib/prserv/serv.py | 2 ++ lib/toaster/manage.py | 2 ++ 28 files changed, 56 insertions(+) diff --git a/bin/bitbake-prserv b/bin/bitbake-prserv index 323df66dd..5be42f3ce 100755 --- a/bin/bitbake-prserv +++ b/bin/bitbake-prserv @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/bin/bitbake-worker b/bin/bitbake-worker index 9d850ec77..2f3e9f72f 100755 --- a/bin/bitbake-worker +++ b/bin/bitbake-worker @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/bin/git-make-shallow b/bin/git-make-shallow index 1d00fbf18..d0532c5ab 100755 --- a/bin/git-make-shallow +++ b/bin/git-make-shallow @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/COW.py b/lib/bb/COW.py index 23c22b65e..76bc08a3e 100644 --- a/lib/bb/COW.py +++ b/lib/bb/COW.py @@ -3,6 +3,8 @@ # # Copyright (C) 2006 Tim Ansell # +# SPDX-License-Identifier: GPL-2.0-only +# # Please Note: # Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW. # Assign a file to __warn__ to get warnings about slow operations. diff --git a/lib/bb/asyncrpc/__init__.py b/lib/bb/asyncrpc/__init__.py index c2f2b3c00..9a85e9965 100644 --- a/lib/bb/asyncrpc/__init__.py +++ b/lib/bb/asyncrpc/__init__.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/asyncrpc/client.py b/lib/bb/asyncrpc/client.py index 34960197d..881434d2e 100644 --- a/lib/bb/asyncrpc/client.py +++ b/lib/bb/asyncrpc/client.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/asyncrpc/serv.py b/lib/bb/asyncrpc/serv.py index b4cffff21..e14df18e7 100644 --- a/lib/bb/asyncrpc/serv.py +++ b/lib/bb/asyncrpc/serv.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py index 3b3c3b41f..9d66d3ae4 100644 --- a/lib/bb/codeparser.py +++ b/lib/bb/codeparser.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/compress/_pipecompress.py b/lib/bb/compress/_pipecompress.py index 5de17a82e..4a403d62c 100644 --- a/lib/bb/compress/_pipecompress.py +++ b/lib/bb/compress/_pipecompress.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # # Helper library to implement streaming compression and decompression using an diff --git a/lib/bb/compress/lz4.py b/lib/bb/compress/lz4.py index 0f6bc51a5..88b098932 100644 --- a/lib/bb/compress/lz4.py +++ b/lib/bb/compress/lz4.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/compress/zstd.py b/lib/bb/compress/zstd.py index 50c42133f..cdbbe9d60 100644 --- a/lib/bb/compress/zstd.py +++ b/lib/bb/compress/zstd.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/daemonize.py b/lib/bb/daemonize.py index 4957bfd4b..768940443 100644 --- a/lib/bb/daemonize.py +++ b/lib/bb/daemonize.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/exceptions.py b/lib/bb/exceptions.py index ecbad5997..801db9c82 100644 --- a/lib/bb/exceptions.py +++ b/lib/bb/exceptions.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/fetch2/osc.py b/lib/bb/fetch2/osc.py index eb0f82c8e..bf4c2f051 100644 --- a/lib/bb/fetch2/osc.py +++ b/lib/bb/fetch2/osc.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # """ diff --git a/lib/bb/process.py b/lib/bb/process.py index be2c15a18..4c7b6d39d 100644 --- a/lib/bb/process.py +++ b/lib/bb/process.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index bd6fc204f..9a20fc8e5 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/tests/compression.py b/lib/bb/tests/compression.py index d3ddf67f1..95af3f96d 100644 --- a/lib/bb/tests/compression.py +++ b/lib/bb/tests/compression.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bb/tests/cooker.py b/lib/bb/tests/cooker.py index c82d4b7b8..9e524ae34 100644 --- a/lib/bb/tests/cooker.py +++ b/lib/bb/tests/cooker.py @@ -1,6 +1,8 @@ # # BitBake Tests for cooker.py # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bblayers/__init__.py b/lib/bblayers/__init__.py index 4e7c09da0..78efd2975 100644 --- a/lib/bblayers/__init__.py +++ b/lib/bblayers/__init__.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bblayers/action.py b/lib/bblayers/action.py index 6723e2c60..454c25141 100644 --- a/lib/bblayers/action.py +++ b/lib/bblayers/action.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bblayers/common.py b/lib/bblayers/common.py index 6c76ef350..f7b9cee37 100644 --- a/lib/bblayers/common.py +++ b/lib/bblayers/common.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bblayers/layerindex.py b/lib/bblayers/layerindex.py index 793651620..0ac8fd2ec 100644 --- a/lib/bblayers/layerindex.py +++ b/lib/bblayers/layerindex.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/bblayers/query.py b/lib/bblayers/query.py index 525d4f0d4..9142ec447 100644 --- a/lib/bblayers/query.py +++ b/lib/bblayers/query.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/prserv/__init__.py b/lib/prserv/__init__.py index 9961040b5..38ced818a 100644 --- a/lib/prserv/__init__.py +++ b/lib/prserv/__init__.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/prserv/client.py b/lib/prserv/client.py index a3f19ddaf..69ab7a4ac 100644 --- a/lib/prserv/client.py +++ b/lib/prserv/client.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/prserv/db.py b/lib/prserv/db.py index 2710d4a22..b4bda7078 100644 --- a/lib/prserv/db.py +++ b/lib/prserv/db.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/prserv/serv.py b/lib/prserv/serv.py index 0a20b927c..c686b2065 100644 --- a/lib/prserv/serv.py +++ b/lib/prserv/serv.py @@ -1,4 +1,6 @@ # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # diff --git a/lib/toaster/manage.py b/lib/toaster/manage.py index ae32619d1..f8de49c26 100755 --- a/lib/toaster/manage.py +++ b/lib/toaster/manage.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# Copyright BitBake Contributors +# # SPDX-License-Identifier: GPL-2.0-only # -- cgit 1.2.3-korg