From: Daan De Meyer Date: Thu, 19 Dec 2024 10:43:01 +0000 (+0100) Subject: mkosi: Use build/ as extra search path by default X-Git-Tag: v258-rc1~1797^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c5b4df5435ff9e49421ef8db0ca6de06c856b04;p=thirdparty%2Fsystemd.git mkosi: Use build/ as extra search path by default Building systemd with mkosi generally requires a very recent version of systemd which might not be installed on the host. Let's configure mkosi to look for extra executables in the build/ directory by default so that we prefer systemd executables from the build directory over those on the host as those on the host are likely to be too old. --- diff --git a/mkosi.conf.d/20-extra-search-path.conf b/mkosi.conf.d/20-extra-search-path.conf new file mode 100644 index 00000000000..b7308f7f215 --- /dev/null +++ b/mkosi.conf.d/20-extra-search-path.conf @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +PathExists=build/ + +[Build] +ExtraSearchPaths=build/