diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-01 13:04:32 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-01 14:45:00 +0200 |
commit | 8f5bcd615be7ca14d2375cd9099ad230508c9392 (patch) | |
tree | 084a2ecdc1dbc56887742c7c791edaa8a5035f15 | |
parent | 098621aff34d31bf9b535d9deb5c144c8d79ebdd (diff) | |
download | systemd-8f5bcd615be7ca14d2375cd9099ad230508c9392.tar.gz |
licensing: add forgotten spdx headers
Those are all "our" files, but we forgot to add the headers,
most likely because of non-standard file extensions.
-rw-r--r-- | man/custom-entities.ent.in | 1 | ||||
-rwxr-xr-x | mkosi.build | 1 | ||||
-rw-r--r-- | shell-completion/zsh/_systemd-path | 1 | ||||
-rw-r--r-- | src/basic/missing_mount.h | 1 | ||||
-rw-r--r-- | src/basic/missing_securebits.h | 1 | ||||
-rw-r--r-- | src/login/systemd-user.in | 1 | ||||
-rwxr-xr-x | src/rpm/systemd-update-helper.in | 1 | ||||
-rwxr-xr-x | test/create-busybox-container | 1 | ||||
-rwxr-xr-x | test/mkosi.build.networkd-test | 1 | ||||
-rw-r--r-- | test/mkosi.default.networkd-test | 2 | ||||
-rw-r--r-- | test/mkosi.nspawn.networkd-test | 2 | ||||
-rwxr-xr-x | test/run-integration-tests.sh | 1 | ||||
-rwxr-xr-x | test/run-unit-tests.py | 1 | ||||
-rwxr-xr-x | test/test-efi-create-disk.sh | 1 | ||||
-rw-r--r-- | test/test-functions | 4 | ||||
-rwxr-xr-x | test/test-network-generator-conversion.sh | 1 | ||||
-rwxr-xr-x | test/test-sysusers.sh.in | 1 | ||||
-rwxr-xr-x | test/udev-test.pl | 1 |
18 files changed, 22 insertions, 1 deletions
diff --git a/man/custom-entities.ent.in b/man/custom-entities.ent.in index 76a3dace33..5c01ccb701 100644 --- a/man/custom-entities.ent.in +++ b/man/custom-entities.ent.in @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> +<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> <!ENTITY MOUNT_PATH "{{MOUNT_PATH}}"> <!ENTITY UMOUNT_PATH "{{UMOUNT_PATH}}"> <!ENTITY SYSTEM_GENERATOR_DIR "{{SYSTEM_GENERATOR_DIR}}"> diff --git a/mkosi.build b/mkosi.build index 1ed6815bf9..bb04d5edaa 100755 --- a/mkosi.build +++ b/mkosi.build @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -e # This is a build script for OS image generation using mkosi (https://github.com/systemd/mkosi). diff --git a/shell-completion/zsh/_systemd-path b/shell-completion/zsh/_systemd-path index dd2e720fd9..d1fb24b2fd 100644 --- a/shell-completion/zsh/_systemd-path +++ b/shell-completion/zsh/_systemd-path @@ -1,4 +1,5 @@ #compdef systemd-path +# SPDX-License-Identifier: LGPL-2.1-or-later typeset -A sdpath=( ${$(systemd-path)/:/} ) _arguments -S \ diff --git a/src/basic/missing_mount.h b/src/basic/missing_mount.h index c60acf041a..69b0bcfcbf 100644 --- a/src/basic/missing_mount.h +++ b/src/basic/missing_mount.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include <sys/mount.h> diff --git a/src/basic/missing_securebits.h b/src/basic/missing_securebits.h index 40d6ec9d71..03fad6f503 100644 --- a/src/basic/missing_securebits.h +++ b/src/basic/missing_securebits.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include <linux/securebits.h> diff --git a/src/login/systemd-user.in b/src/login/systemd-user.in index 19e649bbe9..39bcbd71fe 100644 --- a/src/login/systemd-user.in +++ b/src/login/systemd-user.in @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # This file is part of systemd. # # Used by systemd --user instances. diff --git a/src/rpm/systemd-update-helper.in b/src/rpm/systemd-update-helper.in index 0c6675a9db..fa35e7ba90 100755 --- a/src/rpm/systemd-update-helper.in +++ b/src/rpm/systemd-update-helper.in @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu set -o pipefail diff --git a/test/create-busybox-container b/test/create-busybox-container index b6f34b47ec..05ab2b11c9 100755 --- a/test/create-busybox-container +++ b/test/create-busybox-container @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -e set -u diff --git a/test/mkosi.build.networkd-test b/test/mkosi.build.networkd-test index cdaa4302f7..ea97d012fa 100755 --- a/test/mkosi.build.networkd-test +++ b/test/mkosi.build.networkd-test @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -ex # First, source in the main build script diff --git a/test/mkosi.default.networkd-test b/test/mkosi.default.networkd-test index fc9a5d3134..6423417b81 100644 --- a/test/mkosi.default.networkd-test +++ b/test/mkosi.default.networkd-test @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# # Puts together an nspawn container and runs networkd-test.py in it, inside a # network namespace and everything. Run this with # diff --git a/test/mkosi.nspawn.networkd-test b/test/mkosi.nspawn.networkd-test index a23aed6eda..f624f241f3 100644 --- a/test/mkosi.nspawn.networkd-test +++ b/test/mkosi.nspawn.networkd-test @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + [Network] Private=yes diff --git a/test/run-integration-tests.sh b/test/run-integration-tests.sh index 2b48417d58..89058f4aca 100755 --- a/test/run-integration-tests.sh +++ b/test/run-integration-tests.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -e if [ "$NO_BUILD" ]; then diff --git a/test/run-unit-tests.py b/test/run-unit-tests.py index f4d290aa91..314182d980 100755 --- a/test/run-unit-tests.py +++ b/test/run-unit-tests.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: LGPL-2.1-or-later import argparse import glob diff --git a/test/test-efi-create-disk.sh b/test/test-efi-create-disk.sh index e0949ba729..46062e46e7 100755 --- a/test/test-efi-create-disk.sh +++ b/test/test-efi-create-disk.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -eo pipefail out="${1:?}" diff --git a/test/test-functions b/test/test-functions index a9a01a80d0..31eb86f2bd 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1,6 +1,8 @@ #!/usr/bin/env bash -# shellcheck disable=SC2030,SC2031 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# shellcheck disable=SC2030,SC2031 # ex: ts=8 sw=4 sts=4 et filetype=sh tw=180 # Note: the shellcheck line above disables warning for variables which were # modified in a subshell. In our case this behavior is expected, but diff --git a/test/test-network-generator-conversion.sh b/test/test-network-generator-conversion.sh index da7f985dee..3b6b1ec8ba 100755 --- a/test/test-network-generator-conversion.sh +++ b/test/test-network-generator-conversion.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -ex if [[ -n "$1" ]]; then diff --git a/test/test-sysusers.sh.in b/test/test-sysusers.sh.in index 6e133cc841..c9d9bd993b 100755 --- a/test/test-sysusers.sh.in +++ b/test/test-sysusers.sh.in @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -e SYSUSERS="${1:-systemd-sysusers}" diff --git a/test/udev-test.pl b/test/udev-test.pl index 5c1b364848..3aeac65578 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1,4 +1,5 @@ #!/usr/bin/env perl +# SPDX-License-Identifier: LGPL-2.1-or-later # udev test # |