diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-07-17 20:54:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-07-20 14:37:05 +0200 |
commit | a818a2ae601dc1b15ae3cb50f4291f01187f2885 (patch) | |
tree | 2ad7c139e59c39f50d221a853f1d87b2f3578f48 /mkosi.build | |
parent | 708d423915c4ea48d408b5a3395c11055247b9bc (diff) | |
download | systemd-a818a2ae601dc1b15ae3cb50f4291f01187f2885.tar.gz |
mkosi: support mkosi's --without-tests switch
This adds support for the mkosi switch --without-tests that is
introduced by:
https://github.com/systemd/mkosi/pull/122
With this in place doing "mkosi -ifT shell" is the fastest way from a
git clone to a shell within a freshly compiled systemd system.
Diffstat (limited to 'mkosi.build')
-rwxr-xr-x | mkosi.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.build b/mkosi.build index a36460c6f5..c722e23192 100755 --- a/mkosi.build +++ b/mkosi.build @@ -27,7 +27,7 @@ export LC_CTYPE=C.UTF-8 test -f "$BUILDDIR"/build.ninja || meson "$BUILDDIR" ninja -C "$BUILDDIR" all -ninja -C "$BUILDDIR" test +[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test ninja -C "$BUILDDIR" install mkdir -p "$DESTDIR"/etc |