mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 20:23:36 +08:00
meson: simplify with_runlevels ternany op usage
This commit is contained in:
parent
6706384a89
commit
d5816b6138
@ -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', ''],
|
||||
|
Loading…
Reference in New Issue
Block a user