summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-18 18:18:16 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-19 19:08:15 +0100
commitd9215cd838eed27c41c9f1ca30b6354ebf87ecb6 (patch)
treedb4618e13335418dd0471cd862cf8a2e886374ba
parentAdd missing headers and SPDX identifiers to man pages (diff)
downloadsystemd-d9215cd838eed27c41c9f1ca30b6354ebf87ecb6.tar.xz
systemd-d9215cd838eed27c41c9f1ca30b6354ebf87ecb6.zip
Add SPDX license headers to various assorted files
-rw-r--r--.mkosi/mkosi.arch2
-rw-r--r--.mkosi/mkosi.debian2
-rw-r--r--.mkosi/mkosi.fedora2
-rw-r--r--modprobe.d/systemd.conf2
-rw-r--r--network/80-container-host0.network2
-rw-r--r--network/80-container-ve.network2
-rw-r--r--network/80-container-vz.network2
-rw-r--r--network/99-default.link9
-rw-r--r--rules/99-systemd.rules.in2
-rw-r--r--src/basic/sparse-endian.h4
-rw-r--r--src/core/macros.systemd.in1
-rw-r--r--src/core/org.freedesktop.systemd1.conf2
-rw-r--r--src/core/org.freedesktop.systemd1.policy.in.in2
-rw-r--r--src/core/org.freedesktop.systemd1.service2
-rw-r--r--src/core/systemd.pc.in2
-rw-r--r--src/core/triggers.systemd.in1
-rw-r--r--src/hostname/org.freedesktop.hostname1.conf2
-rw-r--r--src/hostname/org.freedesktop.hostname1.policy.in2
-rw-r--r--src/hostname/org.freedesktop.hostname1.service2
-rw-r--r--src/import/org.freedesktop.import1.conf2
-rw-r--r--src/import/org.freedesktop.import1.policy.in2
-rw-r--r--src/import/org.freedesktop.import1.service2
-rw-r--r--src/journal/fsprg.c3
-rw-r--r--src/journal/fsprg.h2
-rw-r--r--src/kernel-install/kernel-install1
-rw-r--r--src/libsystemd/libsystemd.pc.in2
-rw-r--r--src/libsystemd/libsystemd.sym2
-rw-r--r--src/libudev/libudev.pc.in2
-rw-r--r--src/libudev/libudev.sym2
-rw-r--r--src/locale/org.freedesktop.locale1.conf2
-rw-r--r--src/locale/org.freedesktop.locale1.policy.in2
-rw-r--r--src/locale/org.freedesktop.locale1.service2
-rw-r--r--src/login/70-power-switch.rules2
-rw-r--r--src/login/70-uaccess.rules2
-rw-r--r--src/login/71-seat.rules.in2
-rw-r--r--src/login/73-seat-late.rules.in2
-rw-r--r--src/login/org.freedesktop.login1.conf2
-rw-r--r--src/login/org.freedesktop.login1.policy.in2
-rw-r--r--src/login/org.freedesktop.login1.service2
-rw-r--r--src/login/pam_systemd.sym2
-rw-r--r--src/machine/org.freedesktop.machine1.policy.in2
-rw-r--r--src/machine/org.freedesktop.machine1.service2
-rw-r--r--src/network/org.freedesktop.network1.service2
-rw-r--r--src/nss-myhostname/nss-myhostname.sym2
-rw-r--r--src/nss-mymachines/nss-mymachines.sym2
-rw-r--r--src/nss-resolve/nss-resolve.sym2
-rw-r--r--src/nss-systemd/nss-systemd.sym2
-rw-r--r--src/resolve/org.freedesktop.resolve1.service2
-rw-r--r--src/timedate/org.freedesktop.timedate1.conf2
-rw-r--r--src/timedate/org.freedesktop.timedate1.policy.in2
-rw-r--r--src/timedate/org.freedesktop.timedate1.service2
-rw-r--r--src/udev/udev-ctrl.c3
-rw-r--r--src/vconsole/90-vconsole.rules.in2
-rw-r--r--system-preset/90-systemd.preset2
-rwxr-xr-xtest/hwdb-test.sh6
55 files changed, 117 insertions, 5 deletions
diff --git a/.mkosi/mkosi.arch b/.mkosi/mkosi.arch
index c2487c9ef2..a823a95e70 100644
--- a/.mkosi/mkosi.arch
+++ b/.mkosi/mkosi.arch
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# Copyright 2016 Zeal Jagannatha
diff --git a/.mkosi/mkosi.debian b/.mkosi/mkosi.debian
index 1a3b517d0f..a93eb7b539 100644
--- a/.mkosi/mkosi.debian
+++ b/.mkosi/mkosi.debian
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# Copyright 2016 Daniel Rusek
diff --git a/.mkosi/mkosi.fedora b/.mkosi/mkosi.fedora
index f54cbe08f3..4d7168c00b 100644
--- a/.mkosi/mkosi.fedora
+++ b/.mkosi/mkosi.fedora
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# Copyright 2016 Lennart Poettering
diff --git a/modprobe.d/systemd.conf b/modprobe.d/systemd.conf
index 3b0a49a0e6..0c4a3eaa3a 100644
--- a/modprobe.d/systemd.conf
+++ b/modprobe.d/systemd.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/network/80-container-host0.network b/network/80-container-host0.network
index b012cf98cb..44c59b7dde 100644
--- a/network/80-container-host0.network
+++ b/network/80-container-host0.network
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
index ac796bfb07..8a8df2fcd3 100644
--- a/network/80-container-ve.network
+++ b/network/80-container-ve.network
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/network/80-container-vz.network b/network/80-container-vz.network
index 3d532d6f60..4d4482b33a 100644
--- a/network/80-container-vz.network
+++ b/network/80-container-vz.network
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/network/99-default.link b/network/99-default.link
index 79538f9b29..561bf329e4 100644
--- a/network/99-default.link
+++ b/network/99-default.link
@@ -1,3 +1,12 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
[Link]
NamePolicy=kernel database onboard slot path
MACAddressPolicy=persistent
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
index 62f0b98cd3..419ca4ed87 100644
--- a/rules/99-systemd.rules.in
+++ b/rules/99-systemd.rules.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/basic/sparse-endian.h b/src/basic/sparse-endian.h
index a3573b84a9..5e59de5437 100644
--- a/src/basic/sparse-endian.h
+++ b/src/basic/sparse-endian.h
@@ -1,4 +1,6 @@
-/* Copyright (c) 2012 Josh Triplett <josh@joshtriplett.org>
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (c) 2012 Josh Triplett <josh@joshtriplett.org>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in
index 03fb2a8389..940f1e895a 100644
--- a/src/core/macros.systemd.in
+++ b/src/core/macros.systemd.in
@@ -1,4 +1,5 @@
# -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/src/core/org.freedesktop.systemd1.conf b/src/core/org.freedesktop.systemd1.conf
index e824a2233c..97f6094b66 100644
--- a/src/core/org.freedesktop.systemd1.conf
+++ b/src/core/org.freedesktop.systemd1.conf
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/core/org.freedesktop.systemd1.policy.in.in b/src/core/org.freedesktop.systemd1.policy.in.in
index 9f9263762e..2c6ed749fd 100644
--- a/src/core/org.freedesktop.systemd1.policy.in.in
+++ b/src/core/org.freedesktop.systemd1.policy.in.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/core/org.freedesktop.systemd1.service b/src/core/org.freedesktop.systemd1.service
index d4df3e93a2..8bd7302d6c 100644
--- a/src/core/org.freedesktop.systemd1.service
+++ b/src/core/org.freedesktop.systemd1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/core/systemd.pc.in b/src/core/systemd.pc.in
index ac52b30dd3..22e8cbda8b 100644
--- a/src/core/systemd.pc.in
+++ b/src/core/systemd.pc.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/core/triggers.systemd.in b/src/core/triggers.systemd.in
index f8c8cbc5f9..985c6d8b26 100644
--- a/src/core/triggers.systemd.in
+++ b/src/core/triggers.systemd.in
@@ -1,4 +1,5 @@
# -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/src/hostname/org.freedesktop.hostname1.conf b/src/hostname/org.freedesktop.hostname1.conf
index 46b4aadc83..e2658c6c95 100644
--- a/src/hostname/org.freedesktop.hostname1.conf
+++ b/src/hostname/org.freedesktop.hostname1.conf
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/hostname/org.freedesktop.hostname1.policy.in b/src/hostname/org.freedesktop.hostname1.policy.in
index cf61c15619..b10ca31ac5 100644
--- a/src/hostname/org.freedesktop.hostname1.policy.in
+++ b/src/hostname/org.freedesktop.hostname1.policy.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/hostname/org.freedesktop.hostname1.service b/src/hostname/org.freedesktop.hostname1.service
index 6041ed60ca..421a8c607b 100644
--- a/src/hostname/org.freedesktop.hostname1.service
+++ b/src/hostname/org.freedesktop.hostname1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/import/org.freedesktop.import1.conf b/src/import/org.freedesktop.import1.conf
index ed2539a03b..9889cd6b10 100644
--- a/src/import/org.freedesktop.import1.conf
+++ b/src/import/org.freedesktop.import1.conf
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/import/org.freedesktop.import1.policy.in b/src/import/org.freedesktop.import1.policy.in
index 39167b06bc..d96ca2d060 100644
--- a/src/import/org.freedesktop.import1.policy.in
+++ b/src/import/org.freedesktop.import1.policy.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/import/org.freedesktop.import1.service b/src/import/org.freedesktop.import1.service
index 8fc4c47881..34d26d0732 100644
--- a/src/import/org.freedesktop.import1.service
+++ b/src/import/org.freedesktop.import1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/journal/fsprg.c b/src/journal/fsprg.c
index e7c22880be..281b48904a 100644
--- a/src/journal/fsprg.c
+++ b/src/journal/fsprg.c
@@ -1,4 +1,5 @@
-/*
+/* SPDX-License-Identifier: LGPL-2.1+
+ *
* fsprg v0.1 - (seekable) forward-secure pseudorandom generator
* Copyright (C) 2012 B. Poettering
* Contact: fsprg@point-at-infinity.org
diff --git a/src/journal/fsprg.h b/src/journal/fsprg.h
index 829b56e240..e0ec8884be 100644
--- a/src/journal/fsprg.h
+++ b/src/journal/fsprg.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+
#ifndef __fsprgh__
#define __fsprgh__
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
index 66bc4a6e8e..6eabb09e3c 100644
--- a/src/kernel-install/kernel-install
+++ b/src/kernel-install/kernel-install
@@ -1,6 +1,7 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
+# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
diff --git a/src/libsystemd/libsystemd.pc.in b/src/libsystemd/libsystemd.pc.in
index 7e6d4999cb..c861905b67 100644
--- a/src/libsystemd/libsystemd.pc.in
+++ b/src/libsystemd/libsystemd.pc.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym
index 2becf104d7..1a29b03e85 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/libudev/libudev.pc.in b/src/libudev/libudev.pc.in
index 1becae45fd..69f5c6463e 100644
--- a/src/libudev/libudev.pc.in
+++ b/src/libudev/libudev.pc.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/libudev/libudev.sym b/src/libudev/libudev.sym
index 76726fca77..1e8dbfa056 100644
--- a/src/libudev/libudev.sym
+++ b/src/libudev/libudev.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/locale/org.freedesktop.locale1.conf b/src/locale/org.freedesktop.locale1.conf
index 79d0ecd2bb..d74cbc11ab 100644
--- a/src/locale/org.freedesktop.locale1.conf
+++ b/src/locale/org.freedesktop.locale1.conf
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/locale/org.freedesktop.locale1.policy.in b/src/locale/org.freedesktop.locale1.policy.in
index 575a1ffaaf..4c1c34da09 100644
--- a/src/locale/org.freedesktop.locale1.policy.in
+++ b/src/locale/org.freedesktop.locale1.policy.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/locale/org.freedesktop.locale1.service b/src/locale/org.freedesktop.locale1.service
index 025f9a0fc2..b15d39540c 100644
--- a/src/locale/org.freedesktop.locale1.service
+++ b/src/locale/org.freedesktop.locale1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules
index 394a80f1f8..d69e65b3d5 100644
--- a/src/login/70-power-switch.rules
+++ b/src/login/70-power-switch.rules
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/70-uaccess.rules b/src/login/70-uaccess.rules
index e946bf2380..f2c838f353 100644
--- a/src/login/70-uaccess.rules
+++ b/src/login/70-uaccess.rules
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
index de55c9a4ec..0db46adc84 100644
--- a/src/login/71-seat.rules.in
+++ b/src/login/71-seat.rules.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/73-seat-late.rules.in b/src/login/73-seat-late.rules.in
index 901df750fd..d2546c8ee9 100644
--- a/src/login/73-seat-late.rules.in
+++ b/src/login/73-seat-late.rules.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/org.freedesktop.login1.conf b/src/login/org.freedesktop.login1.conf
index 27aac0dd7c..d842411781 100644
--- a/src/login/org.freedesktop.login1.conf
+++ b/src/login/org.freedesktop.login1.conf
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 17bae02f5e..47162022d2 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/org.freedesktop.login1.service b/src/login/org.freedesktop.login1.service
index 762dae2bb3..68f1ed0f48 100644
--- a/src/login/org.freedesktop.login1.service
+++ b/src/login/org.freedesktop.login1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/login/pam_systemd.sym b/src/login/pam_systemd.sym
index 23ff75f688..d48b9e8ccd 100644
--- a/src/login/pam_systemd.sym
+++ b/src/login/pam_systemd.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/machine/org.freedesktop.machine1.policy.in b/src/machine/org.freedesktop.machine1.policy.in
index b266b564b0..eeeeb4c0f8 100644
--- a/src/machine/org.freedesktop.machine1.policy.in
+++ b/src/machine/org.freedesktop.machine1.policy.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/machine/org.freedesktop.machine1.service b/src/machine/org.freedesktop.machine1.service
index d3dc99852b..d07bcae6eb 100644
--- a/src/machine/org.freedesktop.machine1.service
+++ b/src/machine/org.freedesktop.machine1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/network/org.freedesktop.network1.service b/src/network/org.freedesktop.network1.service
index bea885fe53..641a1a5cc1 100644
--- a/src/network/org.freedesktop.network1.service
+++ b/src/network/org.freedesktop.network1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/nss-myhostname/nss-myhostname.sym b/src/nss-myhostname/nss-myhostname.sym
index 78646c38b4..0dcdb9bd40 100644
--- a/src/nss-myhostname/nss-myhostname.sym
+++ b/src/nss-myhostname/nss-myhostname.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/nss-mymachines/nss-mymachines.sym b/src/nss-mymachines/nss-mymachines.sym
index 0728ac3ba7..056d4276f9 100644
--- a/src/nss-mymachines/nss-mymachines.sym
+++ b/src/nss-mymachines/nss-mymachines.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/nss-resolve/nss-resolve.sym b/src/nss-resolve/nss-resolve.sym
index df8dff2a20..27570dfce4 100644
--- a/src/nss-resolve/nss-resolve.sym
+++ b/src/nss-resolve/nss-resolve.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/nss-systemd/nss-systemd.sym b/src/nss-systemd/nss-systemd.sym
index 955078788a..e3fe56f684 100644
--- a/src/nss-systemd/nss-systemd.sym
+++ b/src/nss-systemd/nss-systemd.sym
@@ -1,4 +1,6 @@
/***
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/resolve/org.freedesktop.resolve1.service b/src/resolve/org.freedesktop.resolve1.service
index 7ac5c323f0..2c25a6129c 100644
--- a/src/resolve/org.freedesktop.resolve1.service
+++ b/src/resolve/org.freedesktop.resolve1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/timedate/org.freedesktop.timedate1.conf b/src/timedate/org.freedesktop.timedate1.conf
index 36557d5841..53f6c8435d 100644
--- a/src/timedate/org.freedesktop.timedate1.conf
+++ b/src/timedate/org.freedesktop.timedate1.conf
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/timedate/org.freedesktop.timedate1.policy.in b/src/timedate/org.freedesktop.timedate1.policy.in
index c706050985..cc2e1652da 100644
--- a/src/timedate/org.freedesktop.timedate1.policy.in
+++ b/src/timedate/org.freedesktop.timedate1.policy.in
@@ -3,6 +3,8 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<!--
+ SPDX-License-Identifier: LGPL-2.1+
+
This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
diff --git a/src/timedate/org.freedesktop.timedate1.service b/src/timedate/org.freedesktop.timedate1.service
index 875f4bec78..d5f3a6e30d 100644
--- a/src/timedate/org.freedesktop.timedate1.service
+++ b/src/timedate/org.freedesktop.timedate1.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c
index 92e4f8d9c0..7b8110582d 100644
--- a/src/udev/udev-ctrl.c
+++ b/src/udev/udev-ctrl.c
@@ -1,4 +1,5 @@
-/*
+/* SPDX-License-Identifier: LGPL-2.1+
+ *
* libudev - interface to udev device information
*
* Copyright (C) 2008 Kay Sievers <kay@vrfy.org>
diff --git a/src/vconsole/90-vconsole.rules.in b/src/vconsole/90-vconsole.rules.in
index 84b4d575bd..11137163ed 100644
--- a/src/vconsole/90-vconsole.rules.in
+++ b/src/vconsole/90-vconsole.rules.in
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/system-preset/90-systemd.preset b/system-preset/90-systemd.preset
index 98bc4c3c55..11960e5423 100644
--- a/system-preset/90-systemd.preset
+++ b/system-preset/90-systemd.preset
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
diff --git a/test/hwdb-test.sh b/test/hwdb-test.sh
index 2221c0d7fd..68c7692eca 100755
--- a/test/hwdb-test.sh
+++ b/test/hwdb-test.sh
@@ -1,5 +1,7 @@
#!/bin/sh
-# call built systemd-hwdb update on our hwdb files to ensure that they parse
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Call built systemd-hwdb update on our hwdb files to ensure that they parse
# without error
#
# (C) 2016 Canonical Ltd.
@@ -9,7 +11,7 @@
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-
+#
# systemd 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