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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-10-01 13:04:32 +02:00
parent 098621aff3
commit 8f5bcd615b
18 changed files with 22 additions and 1 deletions

View File

@ -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}}">

View File

@ -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).

View File

@ -1,4 +1,5 @@
#compdef systemd-path
# SPDX-License-Identifier: LGPL-2.1-or-later
typeset -A sdpath=( ${$(systemd-path)/:/} )
_arguments -S \

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <sys/mount.h>

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <linux/securebits.h>

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# This file is part of systemd.
#
# Used by systemd --user instances.

View File

@ -1,4 +1,5 @@
#!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
set -o pipefail

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
set -u

View File

@ -1,4 +1,5 @@
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
# First, source in the main build script

View File

@ -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
#

View File

@ -1,2 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Network]
Private=yes

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
if [ "$NO_BUILD" ]; then

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: LGPL-2.1-or-later
import argparse
import glob

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eo pipefail
out="${1:?}"

View File

@ -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

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
if [[ -n "$1" ]]; then

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
SYSUSERS="${1:-systemd-sysusers}"

View File

@ -1,4 +1,5 @@
#!/usr/bin/env perl
# SPDX-License-Identifier: LGPL-2.1-or-later
# udev test
#