From: Zbigniew Jędrzejewski-Szmek Date: Tue, 27 Oct 2020 09:49:11 +0000 (+0100) Subject: meson: simplify with_runlevels ternany op usage X-Git-Tag: v247-rc2~48^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5816b6138be788f3d3ea72359bb28dc239c3235;p=thirdparty%2Fsystemd.git meson: simplify with_runlevels ternany op usage --- diff --git a/units/meson.build b/units/meson.build index a55e7178688..670f366b92e 100644 --- a/units/meson.build +++ b/units/meson.build @@ -22,7 +22,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'], @@ -61,7 +61,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', ''],