Skip to content

Commit 35df744

Browse files
committed
Add SPDX license headers to python scripts
1 parent d74a9ad commit 35df744

12 files changed

+16
-1
lines changed

test/create-sys-script.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: LGPL-2.1+
23

34
OUTFILE_HEADER = """#!/usr/bin/env python3
5+
# SPDX-License-Identifier: LGPL-2.1+
46
#
57
# create-sys-script.py
68
#

test/networkd-test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: LGPL-2.1+
23
#
34
# networkd integration test
45
# This uses temporary configuration in /run and temporary veth devices, and

test/rule-syntax-check.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: LGPL-2.1+
3+
#
24
# Simple udev rules syntax checker
35
#
46
# (C) 2010 Canonical Ltd.

test/sys-script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: LGPL-2.1+
23
#
34
# sys-script.py
45
#

test/sysv-generator-test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: LGPL-2.1+
23
#
34
# systemd-sysv-generator integration test
45
#

test/test-exec-deserialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
2+
# SPDX-License-Identifier: LGPL-2.1+
33
#
44
# Copyright 2017 Michal Sekletar <msekleta@redhat.com>
55
#

tools/catalog-report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
3+
# SPDX-License-Identifier: MIT
34
#
45
# This file is part of systemd. It is distrubuted under the MIT license, see
56
# below.

tools/gdb-sd_dump_hashmaps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
3+
# SPDX-License-Identifier: LGPL-2.1+
34
#
45
# This file is part of systemd.
56
#

tools/make-directive-index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
3+
# SPDX-License-Identifier: LGPL-2.1+
34
#
45
# This file is part of systemd.
56
#

tools/make-man-index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
3+
# SPDX-License-Identifier: LGPL-2.1+
34
#
45
# This file is part of systemd.
56
#

0 commit comments

Comments
 (0)