mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +02:00
[1] says: > Since 0.60.0 the name argument is optional and defaults to the basename of > the first output We specify >= 0.62 as the supported version, so drop the duplicate name in all cases where it is the same as outputs[0], i.e. almost all cases. [1] https://mesonbuild.com/Reference-manual_functions.html#custom_target
25 lines
716 B
Meson
25 lines
716 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
install_data(
|
|
'README',
|
|
'50-default.conf',
|
|
install_dir : sysctldir)
|
|
|
|
# Kernel determines PID_MAX_LIMIT by
|
|
# #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
|
|
# (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
|
|
if cc.sizeof('long') > 4
|
|
install_data('50-pid-max.conf', install_dir : sysctldir)
|
|
endif
|
|
|
|
custom_target(
|
|
input : '50-coredump.conf.in',
|
|
output : '50-coredump.conf',
|
|
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
|
|
install : conf.get('ENABLE_COREDUMP') == 1,
|
|
install_dir : sysctldir)
|
|
|
|
if install_sysconfdir
|
|
install_emptydir(sysconfdir / 'sysctl.d')
|
|
endif
|