diff options
author | 2017-07-17 20:54:16 +0200 | |
---|---|---|
committer | 2017-07-20 14:37:05 +0200 | |
commit | a818a2ae601dc1b15ae3cb50f4291f01187f2885 (patch) | |
tree | 2ad7c139e59c39f50d221a853f1d87b2f3578f48 /mkosi.build | |
parent | test-condition: don't assume that all non-root users are normal users (#6409) (diff) | |
download | systemd-a818a2ae601dc1b15ae3cb50f4291f01187f2885.tar.gz systemd-a818a2ae601dc1b15ae3cb50f4291f01187f2885.tar.bz2 systemd-a818a2ae601dc1b15ae3cb50f4291f01187f2885.zip |
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 a36460c6f..c722e2319 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 |