diff options
author | Luca Boccassi <bluca@debian.org> | 2024-06-09 21:14:45 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-06-10 09:10:59 +0200 |
commit | fb8e05cc4359e36f1380208671278fde07c248cc (patch) | |
tree | 29fb23acf9512608dc0b1412ad2e04b4c417a7f4 /mkosi.images/system/mkosi.conf.d | |
parent | NEWS: fix typo (diff) | |
download | systemd-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')
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 |