Merge pull request #20907 from keszybz/licensing-cleanup

Licensing cleanup
This commit is contained in:
Luca Boccassi 2021-10-01 17:26:08 +01:00 committed by GitHub
commit ab885bedbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 140 additions and 31 deletions

View file

@ -1,7 +1,7 @@
--- ---
name: Bug report name: Bug report
about: A report of an error in a recent systemd version about: A report of an error in a recent systemd version
SPDX-License-Identifier: LGPL-2.1-or-later
--- ---
**systemd version the issue has been seen with** **systemd version the issue has been seen with**

View file

@ -1,7 +1,7 @@
--- ---
name: Feature request name: Feature request
about: Suggest an improvement about: Suggest an improvement
SPDX-License-Identifier: LGPL-2.1-or-later
--- ---
**Is your feature request related to a problem? Please describe.** **Is your feature request related to a problem? Please describe.**

2
.github/labeler.yml vendored
View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
hwdb: hwdb:
- hwdb.d/**/* - hwdb.d/**/*
units: units:

View file

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

View file

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# #
name: Build test name: Build test
on: on:

View file

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/ # See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
name: CIFuzz name: CIFuzz

View file

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# #
name: Coverity name: Coverity

View file

@ -1,4 +1,9 @@
---
# vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
#
name: "Pull Request Labeler" name: "Pull Request Labeler"
on: on:
- pull_request_target - pull_request_target

View file

@ -1,6 +1,7 @@
--- ---
# vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# https://github.com/marketplace/actions/super-linter # https://github.com/marketplace/actions/super-linter
name: Lint Code Base name: Lint Code Base
on: on:

View file

@ -1,7 +1,9 @@
---
# vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# Simple boot tests that build and boot the mkosi images generated by the mkosi config files in mkosi.default.d/.
name: mkosi name: mkosi
# Simple boot tests that build and boot the mkosi images generated by the mkosi config files in .mkosi.
on: on:
push: push:
branches: branches:
@ -31,7 +33,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2 run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2
- name: Configure - name: Configure
run: echo -e "[Distribution]\nDistribution=${{ matrix.distro }}\n" > mkosi.default run: echo -e "[Distribution]\nDistribution=${{ matrix.distro }}\n" >mkosi.default
# Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is # Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is
# required, since current Arch's glibc implements faccessat() via faccessat2(). # required, since current Arch's glibc implements faccessat() via faccessat2().

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
# shellcheck disable=SC2206 # shellcheck disable=SC2206
PHASES=(${@:-SETUP RUN RUN_ASAN_UBSAN CLEANUP}) PHASES=(${@:-SETUP RUN RUN_ASAN_UBSAN CLEANUP})

View file

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# #
name: Unit tests name: Unit tests
on: on:

View file

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

View file

@ -1,4 +1,5 @@
--- ---
# SPDX-License-Identifier: LGPL-2.1-or-later
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
version: v1.0 version: v1.0

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
bool b; bool b;
expression y; expression y;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression fd; expression fd;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y; expression x, y;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
constant s; constant s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
( (

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y; expression x, y;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* We want to stick with dup() in test-fd-util.c */ /* We want to stick with dup() in test-fd-util.c */
position p : script:python() { p[0].file != "src/test/test-fd-util.c" }; position p : script:python() { p[0].file != "src/test/test-fd-util.c" };

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Avoid running this transformation on the empty_to_null function itself */ /* Avoid running this transformation on the empty_to_null function itself */
position p : script:python() { p[0].current_element != "empty_to_null" }; position p : script:python() { p[0].current_element != "empty_to_null" };

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
- ENOTSUP - ENOTSUP

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression e; expression e;
statement s; statement s;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
constant c; constant c;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$"; identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r; local idexpression r;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
- exit(0); - exit(0);

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Disable this transformation in cases where it doesn't make sense or /* Disable this transformation in cases where it doesn't make sense or
* where it makes the resulting expression more confusing * where it makes the resulting expression more confusing

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression f, path, options; expression f, path, options;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p, q; expression p, q;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* Limit the number of expressions to 6 for performance reasons */ /* Limit the number of expressions to 6 for performance reasons */
@@ @@
expression e; expression e;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y, p, l; expression x, y, p, l;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Disable this transformation for the test-string-util.c */ /* Disable this transformation for the test-string-util.c */
position p : script:python() { p[0].file != "src/test/test-string-util.c" }; position p : script:python() { p[0].file != "src/test/test-string-util.c" };

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression e, v, flags; expression e, v, flags;
expression list args; expression list args;

View file

@ -1,4 +1,6 @@
/* Collected macros from our systemd codebase to make the cocci semantic /* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Collected macros from our systemd codebase to make the cocci semantic
* parser happy. Inspired by the original cocci macros file * parser happy. Inspired by the original cocci macros file
* /usr/lib64/coccinelle/standard.h (including the YACFE_* symbols) * /usr/lib64/coccinelle/standard.h (including the YACFE_* symbols)
*/ */

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression q, n, m; expression q, n, m;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Avoid running this transformation on the mfree function itself */ /* Avoid running this transformation on the mfree function itself */
position p : script:python() { p[0].current_element != "mfree" }; position p : script:python() { p[0].current_element != "mfree" };

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p, q; expression p, q;
identifier r; identifier r;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* Limit the number of expressions to 6 for performance reasons */ /* Limit the number of expressions to 6 for performance reasons */
@@ @@
expression e; expression e;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
- O_NDELAY - O_NDELAY

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression q, p, n, m; expression q, p, n, m;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression r; expression r;
@@ @@

View file

@ -1,4 +1,5 @@
#!/bin/bash -e #!/bin/bash -e
# SPDX-License-Identifier: LGPL-2.1-or-later
# Exclude following paths from the Coccinelle transformations # Exclude following paths from the Coccinelle transformations
EXCLUDED_PATHS=( EXCLUDED_PATHS=(

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression fd; expression fd;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression fd; expression fd;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
local idexpression r; local idexpression r;
expression p, k, x; expression p, k, x;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Avoid running this transformation on the strempty function itself and /* Avoid running this transformation on the strempty function itself and
* on the "make_expression" macro in src/libsystemd/sd-bus/bus-convenience.c. * on the "make_expression" macro in src/libsystemd/sd-bus/bus-convenience.c.

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { p[0].current_element != "test_strjoin" }; position p : script:python() { p[0].current_element != "test_strjoin" };
expression t; expression t;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { p[0].current_element != "test_strjoina" }; position p : script:python() { p[0].current_element != "test_strjoina" };
expression n, m; expression n, m;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y, z; expression x, y, z;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression e; expression e;
expression list args; expression list args;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
local idexpression p; local idexpression p;
expression q; expression q;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
local idexpression p; local idexpression p;
expression q; expression q;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
statement s; statement s;
@@ @@

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { not p[0].file.startswith("man/") }; position p : script:python() { not p[0].file.startswith("man/") };
expression e, fmt; expression e, fmt;

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { p[0].file != "src/journal/lookup3.c" }; position p : script:python() { p[0].file != "src/journal/lookup3.c" };
identifier id; identifier id;

View file

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<!ENTITY MOUNT_PATH "{{MOUNT_PATH}}"> <!ENTITY MOUNT_PATH "{{MOUNT_PATH}}">
<!ENTITY UMOUNT_PATH "{{UMOUNT_PATH}}"> <!ENTITY UMOUNT_PATH "{{UMOUNT_PATH}}">
<!ENTITY SYSTEM_GENERATOR_DIR "{{SYSTEM_GENERATOR_DIR}}"> <!ENTITY SYSTEM_GENERATOR_DIR "{{SYSTEM_GENERATOR_DIR}}">

View file

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e set -e
# This is a build script for OS image generation using mkosi (https://github.com/systemd/mkosi). # This is a build script for OS image generation using mkosi (https://github.com/systemd/mkosi).

View file

@ -1,3 +1,12 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# 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.
[Match] [Match]
Type=wlan Type=wlan
WLANInterfaceType=ad-hoc WLANInterfaceType=ad-hoc

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
src/core/org.freedesktop.systemd1.policy.in src/core/org.freedesktop.systemd1.policy.in
src/home/org.freedesktop.home1.policy src/home/org.freedesktop.home1.policy
src/hostname/org.freedesktop.hostname1.policy src/hostname/org.freedesktop.hostname1.policy

View file

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # Finnish translation of systemd.
# Jan Kuparinen <copper_fin@hotmail.com>, 2021. # Jan Kuparinen <copper_fin@hotmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View file

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # Kabyle translation of systemd.
# Slimane Selyan Amiri <selyan.kab@gmail.com>, 2021. # Slimane Selyan Amiri <selyan.kab@gmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View file

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # Dutch translation of systemd.
# Pjotr Vertaalt <pjotrvertaalt@gmail.com>, 2021. # Pjotr Vertaalt <pjotrvertaalt@gmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View file

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # Portuguese translation of systemd.
# Hugo Carvalho <hugokarvalho@hotmail.com>, 2021. # Hugo Carvalho <hugokarvalho@hotmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View file

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # Sinhala translation of systemd.
# Hela Basa <r45xveza@pm.me>, 2021. # Hela Basa <r45xveza@pm.me>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View file

@ -1,7 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
# #
# SOME DESCRIPTIVE TITLE. # Serbian translation of systemd.
# This file is distributed under the same license as the PACKAGE package.
# Frantisek Sumsal <frantisek@sumsal.cz>, 2021. # Frantisek Sumsal <frantisek@sumsal.cz>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View file

@ -1,7 +1,4 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the systemd package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""

View file

@ -1,4 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
#
# Ukrainian translation for systemd. # Ukrainian translation for systemd.
# Eugene Melnik <jeka7js@gmail.com>, 2014. # Eugene Melnik <jeka7js@gmail.com>, 2014.
# Daniel Korostil <ted.korostiled@gmail.com>, 2014, 2016, 2018. # Daniel Korostil <ted.korostiled@gmail.com>, 2014, 2016, 2018.

View file

@ -1,7 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
# #
# Simplified Chinese translation for systemd. # Simplified Chinese translation for systemd.
#
# Frank Hill <hxf.prc@gmail.com>, 2014. # Frank Hill <hxf.prc@gmail.com>, 2014.
# Boyuan Yang <073plan@gmail.com>, 2015. # Boyuan Yang <073plan@gmail.com>, 2015.
# Jeff Bai <jeffbai@aosc.xyz>, 2016. # Jeff Bai <jeffbai@aosc.xyz>, 2016.

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex set -ex
# First, source in the main build script # 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 # Puts together an nspawn container and runs networkd-test.py in it, inside a
# network namespace and everything. Run this with # network namespace and everything. Run this with
# #

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC2030,SC2031
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # -*- 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 # ex: ts=8 sw=4 sts=4 et filetype=sh tw=180
# Note: the shellcheck line above disables warning for variables which were # Note: the shellcheck line above disables warning for variables which were
# modified in a subshell. In our case this behavior is expected, but # modified in a subshell. In our case this behavior is expected, but

View file

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

View file

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

View file

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

View file

@ -1,9 +1,10 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-License-Identifier: BSD-3-Clause
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2017 The Chromium OS Authors. All rights reserved. # Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSES/BSD-3-Clause.txt file.
"""Autosuspend udev rule generator """Autosuspend udev rule generator

View file

@ -1,4 +1,12 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# 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.
systemctl --user import-environment DISPLAY XAUTHORITY systemctl --user import-environment DISPLAY XAUTHORITY