summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system/mkosi.conf.d
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-06-09 21:14:45 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-10 09:10:59 +0200
commitfb8e05cc4359e36f1380208671278fde07c248cc (patch)
tree29fb23acf9512608dc0b1412ad2e04b4c417a7f4 /mkosi.images/system/mkosi.conf.d
parentNEWS: fix typo (diff)
downloadsystemd-fb8e05cc4359e36f1380208671278fde07c248cc.tar.xz
systemd-fb8e05cc4359e36f1380208671278fde07c248cc.zip
mkosi.prepare: do not install build dependencies with NO_BUILD
Diffstat (limited to 'mkosi.images/system/mkosi.conf.d')
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare2
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.prepare2
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.prepare2
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.prepare2
4 files changed, 4 insertions, 4 deletions
diff --git a/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare b/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare
index 58930c250a..fd78e81114 100755
--- a/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare
+++ b/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
-if [ "$1" = "build" ]; then
+if [ "$1" = "build" ] || ((NO_BUILD)); then
exit 0
fi
diff --git a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.prepare b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.prepare
index a2b8287182..1b86073ef5 100755
--- a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.prepare
+++ b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.prepare
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
-if [ "$1" = "build" ]; then
+if [ "$1" = "build" ] || ((NO_BUILD)); then
exit 0
fi
diff --git a/mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.prepare b/mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.prepare
index c9b69fc2db..645671a031 100755
--- a/mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.prepare
+++ b/mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.prepare
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
-if [ "$1" = "build" ]; then
+if [ "$1" = "build" ] || ((NO_BUILD)); then
exit 0
fi
diff --git a/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.prepare b/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.prepare
index 492aa0e45f..282a360bca 100755
--- a/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.prepare
+++ b/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.prepare
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
-if [ "$1" = "build" ]; then
+if [ "$1" = "build" ] || ((NO_BUILD)); then
exit 0
fi