mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
mkosi: Skip build if NO_BUILD is set
This allows running the integration tests against the distro's packaged version of systemd.
This commit is contained in:
parent
453ce77c07
commit
bda54ae03f
@ -2,6 +2,10 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if ((NO_BUILD)); then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /usr/lib/os-release
|
||||
|
||||
|
@ -2,6 +2,10 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if ((NO_BUILD)); then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /usr/lib/os-release
|
||||
|
||||
|
@ -2,6 +2,10 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if ((NO_BUILD)); then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /usr/lib/os-release
|
||||
|
||||
|
@ -2,6 +2,10 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
if ((NO_BUILD)); then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /usr/lib/os-release
|
||||
ID="${ID%-*}"
|
||||
|
Loading…
Reference in New Issue
Block a user