mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
Merge pull request #20907 from keszybz/licensing-cleanup
Licensing cleanup
This commit is contained in:
commit
ab885bedbf
2
.github/ISSUE_TEMPLATE/Bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/Bug_report.md
vendored
@ -1,7 +1,7 @@
|
||||
---
|
||||
name: Bug report
|
||||
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**
|
||||
|
2
.github/ISSUE_TEMPLATE/Feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/Feature_request.md
vendored
@ -1,7 +1,7 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an improvement
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
|
2
.github/labeler.yml
vendored
2
.github/labeler.yml
vendored
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
hwdb:
|
||||
- hwdb.d/**/*
|
||||
units:
|
||||
|
1
.github/workflows/build_test.sh
vendored
1
.github/workflows/build_test.sh
vendored
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set -ex
|
||||
|
||||
|
1
.github/workflows/build_test.yml
vendored
1
.github/workflows/build_test.yml
vendored
@ -1,5 +1,6 @@
|
||||
---
|
||||
# vi: ts=2 sw=2 et:
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
name: Build test
|
||||
on:
|
||||
|
1
.github/workflows/cifuzz.yml
vendored
1
.github/workflows/cifuzz.yml
vendored
@ -1,5 +1,6 @@
|
||||
---
|
||||
# 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/
|
||||
|
||||
name: CIFuzz
|
||||
|
1
.github/workflows/coverity.yml
vendored
1
.github/workflows/coverity.yml
vendored
@ -1,5 +1,6 @@
|
||||
---
|
||||
# vi: ts=2 sw=2 et:
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
name: Coverity
|
||||
|
||||
|
5
.github/workflows/labeler.yml
vendored
5
.github/workflows/labeler.yml
vendored
@ -1,4 +1,9 @@
|
||||
---
|
||||
# vi: ts=2 sw=2 et:
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
name: "Pull Request Labeler"
|
||||
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
|
3
.github/workflows/linter.yml
vendored
3
.github/workflows/linter.yml
vendored
@ -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
|
||||
|
||||
name: Lint Code Base
|
||||
|
||||
on:
|
||||
|
8
.github/workflows/mkosi.yml
vendored
8
.github/workflows/mkosi.yml
vendored
@ -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
|
||||
|
||||
# Simple boot tests that build and boot the mkosi images generated by the mkosi config files in .mkosi.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -31,7 +33,7 @@ jobs:
|
||||
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2
|
||||
|
||||
- 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
|
||||
# required, since current Arch's glibc implements faccessat() via faccessat2().
|
||||
|
1
.github/workflows/unit_tests.sh
vendored
1
.github/workflows/unit_tests.sh
vendored
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# shellcheck disable=SC2206
|
||||
PHASES=(${@:-SETUP RUN RUN_ASAN_UBSAN CLEANUP})
|
||||
|
1
.github/workflows/unit_tests.yml
vendored
1
.github/workflows/unit_tests.yml
vendored
@ -1,5 +1,6 @@
|
||||
---
|
||||
# vi: ts=2 sw=2 et:
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
name: Unit tests
|
||||
on:
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# vi: ts=2 sw=2 et:
|
||||
|
||||
version: v1.0
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
bool b;
|
||||
expression y;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression fd;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression x, y;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
constant s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
@@
|
||||
(
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression x, y;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
/* We want to stick with dup() in test-fd-util.c */
|
||||
position p : script:python() { p[0].file != "src/test/test-fd-util.c" };
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
/* Avoid running this transformation on the empty_to_null function itself */
|
||||
position p : script:python() { p[0].current_element != "empty_to_null" };
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
@@
|
||||
- ENOTSUP
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression e;
|
||||
statement s;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
constant c;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
|
||||
local idexpression r;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
@@
|
||||
- exit(0);
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
/* Disable this transformation in cases where it doesn't make sense or
|
||||
* where it makes the resulting expression more confusing
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression f, path, options;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p, q;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
/* Limit the number of expressions to 6 for performance reasons */
|
||||
@@
|
||||
expression e;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression x, y, p, l;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
/* Disable this transformation for the test-string-util.c */
|
||||
position p : script:python() { p[0].file != "src/test/test-string-util.c" };
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression e, v, flags;
|
||||
expression list args;
|
||||
|
@ -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
|
||||
* /usr/lib64/coccinelle/standard.h (including the YACFE_* symbols)
|
||||
*/
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression q, n, m;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
/* Avoid running this transformation on the mfree function itself */
|
||||
position p : script:python() { p[0].current_element != "mfree" };
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p, q;
|
||||
identifier r;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
/* Limit the number of expressions to 6 for performance reasons */
|
||||
@@
|
||||
expression e;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
@@
|
||||
- O_NDELAY
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression q, p, n, m;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression r;
|
||||
@@
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# Exclude following paths from the Coccinelle transformations
|
||||
EXCLUDED_PATHS=(
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression fd;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression fd;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
local idexpression r;
|
||||
expression p, k, x;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
/* Avoid running this transformation on the strempty function itself and
|
||||
* on the "make_expression" macro in src/libsystemd/sd-bus/bus-convenience.c.
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
position p : script:python() { p[0].current_element != "test_strjoin" };
|
||||
expression t;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
position p : script:python() { p[0].current_element != "test_strjoina" };
|
||||
expression n, m;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression p;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression x, y, z;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
expression e;
|
||||
expression list args;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
local idexpression p;
|
||||
expression q;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
local idexpression p;
|
||||
expression q;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
statement s;
|
||||
@@
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
position p : script:python() { not p[0].file.startswith("man/") };
|
||||
expression e, fmt;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
@@
|
||||
position p : script:python() { p[0].file != "src/journal/lookup3.c" };
|
||||
identifier id;
|
||||
|
@ -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}}">
|
||||
|
@ -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).
|
||||
|
@ -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]
|
||||
Type=wlan
|
||||
WLANInterfaceType=ad-hoc
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
src/core/org.freedesktop.systemd1.policy.in
|
||||
src/home/org.freedesktop.home1.policy
|
||||
src/hostname/org.freedesktop.hostname1.policy
|
||||
|
6
po/fi.po
6
po/fi.po
@ -1,6 +1,6 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the systemd package.
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Finnish translation of systemd.
|
||||
# Jan Kuparinen <copper_fin@hotmail.com>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the systemd package.
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Kabyle translation of systemd.
|
||||
# Slimane Selyan Amiri <selyan.kab@gmail.com>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
6
po/nl.po
6
po/nl.po
@ -1,6 +1,6 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the systemd package.
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Dutch translation of systemd.
|
||||
# Pjotr Vertaalt <pjotrvertaalt@gmail.com>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
6
po/pt.po
6
po/pt.po
@ -1,6 +1,6 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the systemd package.
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Portuguese translation of systemd.
|
||||
# Hugo Carvalho <hugokarvalho@hotmail.com>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
6
po/si.po
6
po/si.po
@ -1,6 +1,6 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the systemd package.
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Sinhala translation of systemd.
|
||||
# Hela Basa <r45xveza@pm.me>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
3
po/sr.po
3
po/sr.po
@ -1,7 +1,6 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# Serbian translation of systemd.
|
||||
# Frantisek Sumsal <frantisek@sumsal.cz>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
@ -1,7 +1,4 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# 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.
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
|
1
po/uk.po
1
po/uk.po
@ -1,4 +1,5 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Ukrainian translation for systemd.
|
||||
# Eugene Melnik <jeka7js@gmail.com>, 2014.
|
||||
# Daniel Korostil <ted.korostiled@gmail.com>, 2014, 2016, 2018.
|
||||
|
@ -1,7 +1,6 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Simplified Chinese translation for systemd.
|
||||
#
|
||||
# Frank Hill <hxf.prc@gmail.com>, 2014.
|
||||
# Boyuan Yang <073plan@gmail.com>, 2015.
|
||||
# Jeff Bai <jeffbai@aosc.xyz>, 2016.
|
||||
|
@ -1,4 +1,5 @@
|
||||
#compdef systemd-path
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
typeset -A sdpath=( ${$(systemd-path)/:/} )
|
||||
_arguments -S \
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <sys/mount.h>
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <linux/securebits.h>
|
||||
|
@ -1,3 +1,4 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# This file is part of systemd.
|
||||
#
|
||||
# Used by systemd --user instances.
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -ex
|
||||
|
||||
# First, source in the main build script
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -1,2 +1,4 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
[Network]
|
||||
Private=yes
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if [ "$NO_BUILD" ]; then
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eo pipefail
|
||||
|
||||
out="${1:?}"
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -ex
|
||||
|
||||
if [[ -n "$1" ]]; then
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
SYSUSERS="${1:-systemd-sysusers}"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env perl
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# udev test
|
||||
#
|
||||
|
@ -1,9 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2017 The Chromium OS Authors. All rights reserved.
|
||||
# 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
|
||||
|
||||
|
@ -1,4 +1,12 @@
|
||||
#!/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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user