diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-10-27 10:49:11 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-08 18:08:30 +0100 |
commit | 141f3e4dd065b7aa7f4b5b1353a99b74cf5089c6 (patch) | |
tree | 7f5abfb5c50beef50f7a85955f33f80bc7dbb157 /units | |
parent | 59b8000e124b2694d8f2ad2fa9bc1280b224ac1e (diff) | |
download | systemd-141f3e4dd065b7aa7f4b5b1353a99b74cf5089c6.tar.gz |
meson: simplify with_runlevels ternany op usage
(cherry picked from commit d5816b6138be788f3d3ea72359bb28dc239c3235)
Diffstat (limited to 'units')
-rw-r--r-- | units/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/meson.build b/units/meson.build index 275daad3f4..20a1e07503 100644 --- a/units/meson.build +++ b/units/meson.build @@ -21,7 +21,7 @@ units = [ 'multi-user.target.wants/'], ['getty-pre.target', ''], ['graphical.target', '', - (with_runlevels ? 'runlevel5.target default.target' : 'default.target')], + 'default.target' + (with_runlevels ? ' runlevel5.target' : '')], ['halt.target', ''], ['hibernate.target', 'ENABLE_HIBERNATE'], ['hybrid-sleep.target', 'ENABLE_HIBERNATE'], @@ -58,7 +58,7 @@ units = [ 'sysinit.target.wants/'], ['proc-sys-fs-binfmt_misc.mount', 'ENABLE_BINFMT'], ['reboot.target', '', - (with_runlevels ? 'runlevel6.target ctrl-alt-del.target' : 'ctrl-alt-del.target')], + 'ctrl-alt-del.target' + (with_runlevels ? ' runlevel6.target' : '')], ['remote-cryptsetup.target', 'HAVE_LIBCRYPTSETUP'], ['remote-fs-pre.target', ''], ['remote-fs.target', ''], |