]> git.proxmox.com Git - mirror_lxcfs.git/blob - config/init/meson.build
meson: handle fuse versions with buggy dt_type handling
[mirror_lxcfs.git] / config / init / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 if init_script == 'systemd'
4 systemd_service = custom_target(
5 'lxcfs.service',
6 input: 'systemd/lxcfs.service.in',
7 output: 'lxcfs.service',
8 command: [
9 meson_render_jinja2,
10 config_h,
11 '@INPUT@',
12 '@OUTPUT@',
13 ],
14 install: true,
15 install_dir: '/lib/systemd/system')
16
17 elif init_script == 'upstart'
18 install_data('upstart/lxcfs.conf', install_dir: join_paths(sysconfdir, 'init'))
19 elif init_script == 'openrc'
20 install_data('sysvinit/lxcfs', install_dir: join_paths(sysconfdir, 'rc.d/init.d/lxcfs'))
21 elif init_script == 'sysvinit'
22 install_data('sysvinit/lxcfs', install_dir: join_paths(sysconfdir, 'rc.d/init.d/lxcfs'))
23 endif