summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-11 16:09:47 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-18 11:39:07 +0200
commitd279ec4a50d83ab44200ea410fa09d7ba2e5c824 (patch)
treee1b87b316d7fda520bc552657771bdbdc30b6182 /meson.build
parentmkosi: Skip sync script if NO_BUILD is enabled (diff)
downloadsystemd-d279ec4a50d83ab44200ea410fa09d7ba2e5c824.tar.xz
systemd-d279ec4a50d83ab44200ea410fa09d7ba2e5c824.zip
mkosi: Streamline running the integration tests without building systemd
Let's document in detail how to build the integration test image and run the integration tests without building systemd. To streamline the process, we stop automatically using binaries from build/ when invoking mkosi directly and don't automatically use a tools tree anymore if systemd on the host is too old. Instead, we document these options in HACKING.md and change the mkosi meson target to automatically use the current build directory as an extra binary search path for mkosi.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 69dc53cde2..3893a9fabe 100644
--- a/meson.build
+++ b/meson.build
@@ -2673,6 +2673,7 @@ if mkosi.found()
'--output-dir', meson.current_build_dir() / 'mkosi.output',
'--cache-dir', meson.current_build_dir() / 'mkosi.cache',
'--build-dir', meson.current_build_dir() / 'mkosi.builddir',
+ '--extra-search-path', meson.current_build_dir(),
'--force',
'build',
],