mirror of
https://github.com/systemd/systemd
synced 2026-04-10 17:15:03 +02:00
Compare commits
7 Commits
2e081f18d6
...
fdae4504c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdae4504c7 | ||
|
|
a0630d46a5 | ||
|
|
1805759ea0 | ||
|
|
109a157cea | ||
|
|
1e8c094cb8 | ||
|
|
a6ac4cbc4e | ||
|
|
f1e6f93372 |
2
.github/workflows/build_test.sh
vendored
2
.github/workflows/build_test.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set -ex
|
||||
|
||||
2
.github/workflows/cifuzz.yml
vendored
2
.github/workflows/cifuzz.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
dry-run: false
|
||||
sanitizer: ${{ matrix.sanitizer }}
|
||||
- name: Upload Crash
|
||||
uses: actions/upload-artifact@27121b0bdffd731efa15d66772be8dc71245d074
|
||||
uses: actions/upload-artifact@da838ae9595ac94171fa2d4de5a2f117b3e7ac32
|
||||
if: failure() && steps.build.outcome == 'success'
|
||||
with:
|
||||
name: ${{ matrix.sanitizer }}-artifacts
|
||||
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@546b30f35ae5a3db0e0be1843008c2224f71c3b0
|
||||
uses: github/codeql-action/init@5f532563584d71fdef14ee64d17bafb34f751ce5
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
config-file: ./.github/codeql-config.yml
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
- run: sudo -E .github/workflows/unit_tests.sh SETUP
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@546b30f35ae5a3db0e0be1843008c2224f71c3b0
|
||||
uses: github/codeql-action/autobuild@5f532563584d71fdef14ee64d17bafb34f751ce5
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@546b30f35ae5a3db0e0be1843008c2224f71c3b0
|
||||
uses: github/codeql-action/analyze@5f532563584d71fdef14ee64d17bafb34f751ce5
|
||||
|
||||
2
.github/workflows/run_mkosi.sh
vendored
2
.github/workflows/run_mkosi.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# shellcheck disable=SC2064
|
||||
|
||||
|
||||
2
.github/workflows/unit_tests.sh
vendored
2
.github/workflows/unit_tests.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# shellcheck disable=SC2206
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set -eux
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
# Exclude following paths from the Coccinelle transformations
|
||||
EXCLUDED_PATHS=(
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
# set the default value
|
||||
XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}"
|
||||
|
||||
# add a directory if it exists
|
||||
if [[ -d /opt/foo/share ]]; then
|
||||
if [ -d /opt/foo/share ]; then
|
||||
XDG_DATA_DIRS="/opt/foo/share:${XDG_DATA_DIRS}"
|
||||
fi
|
||||
|
||||
|
||||
@ -166,13 +166,13 @@
|
||||
after having set up its communication channel. During runtime it
|
||||
sends further status updates to the init system:</para>
|
||||
|
||||
<programlisting>#!/bin/bash
|
||||
<programlisting>#!/bin/sh
|
||||
|
||||
mkfifo /tmp/waldo
|
||||
systemd-notify --ready --status="Waiting for data…"
|
||||
|
||||
while : ; do
|
||||
read a < /tmp/waldo
|
||||
read -r a < /tmp/waldo
|
||||
systemd-notify --status="Processing $a"
|
||||
|
||||
# Do something with $a …
|
||||
|
||||
@ -479,10 +479,10 @@ Dec 08 20:44:48 container systemd[1]: Started /bin/touch /tmp/foo.</programlisti
|
||||
<example>
|
||||
<title>Allowing access to the tty</title>
|
||||
|
||||
<para>The following command invokes <filename>/bin/bash</filename> as a service
|
||||
passing its standard input, output and error to the calling TTY.</para>
|
||||
<para>The following command invokes <citerefentry><refentrytitle>bash</refentrytitle><manvolnum>1</manvolnum></citerefentry>
|
||||
as a service passing its standard input, output and error to the calling TTY.</para>
|
||||
|
||||
<programlisting># systemd-run -t --send-sighup /bin/bash</programlisting>
|
||||
<programlisting># systemd-run -t --send-sighup bash</programlisting>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
@ -12,7 +12,7 @@ TEST_INSTALL_VERITY_MINIMAL=1
|
||||
# shellcheck source=test/test-functions
|
||||
. "${TEST_BASE_DIR:?}/test-functions"
|
||||
|
||||
QEMU_TIMEOUT=300
|
||||
QEMU_TIMEOUT=600
|
||||
|
||||
command -v mksquashfs >/dev/null 2>&1 || exit 0
|
||||
command -v veritysetup >/dev/null 2>&1 || exit 0
|
||||
|
||||
@ -5,7 +5,7 @@ set -e
|
||||
TEST_DESCRIPTION="dm-integrity test"
|
||||
|
||||
TEST_NO_NSPAWN=1
|
||||
QEMU_TIMEOUT=300
|
||||
QEMU_TIMEOUT=600
|
||||
|
||||
# shellcheck source=test/test-functions
|
||||
. "${TEST_BASE_DIR:?}/test-functions"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# Download and extract coverity tool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user