mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-04-28 16:37:44 +00:00
58 lines
2.1 KiB
Meson
58 lines
2.1 KiB
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
hooks_unmount_namespace_sources = files('unmount-namespace.c')
|
|
if srcconf.get('IS_BIONIC') == 1 or srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0
|
|
hooks_unmount_namespace_sources += files(
|
|
'../src/include/lxcmntent.c',
|
|
'../src/include/lxcmntent.h')
|
|
endif
|
|
|
|
hook_programs += executable(
|
|
'unmount-namespace',
|
|
hooks_unmount_namespace_sources,
|
|
include_directories: liblxc_includes,
|
|
install: true,
|
|
install_dir: join_paths(lxclibexec, 'hooks'))
|
|
|
|
hook_programs = configure_file(
|
|
configuration: dummy_config_data,
|
|
input: 'clonehostname',
|
|
output: 'clonehostname')
|
|
install_data(join_paths(project_build_root, 'hooks/clonehostname'), install_dir: lxchookdir)
|
|
|
|
hook_programs = configure_file(
|
|
configuration: dummy_config_data,
|
|
input: 'dhclient-script',
|
|
output: 'dhclient-script')
|
|
install_data(join_paths(project_build_root, 'hooks/dhclient-script'), install_dir: lxchookdir)
|
|
|
|
hook_programs = configure_file(
|
|
configuration: conf,
|
|
input: 'dhclient.in',
|
|
output: 'dhclient')
|
|
install_data(join_paths(project_build_root, 'hooks/dhclient'), install_dir: lxchookdir)
|
|
|
|
hook_programs = configure_file(
|
|
configuration: dummy_config_data,
|
|
input: 'mountecryptfsroot',
|
|
output: 'mountecryptfsroot')
|
|
install_data(join_paths(project_build_root, 'hooks/mountecryptfsroot'), install_dir: lxchookdir)
|
|
|
|
hook_programs = configure_file(
|
|
configuration: dummy_config_data,
|
|
input: 'nvidia',
|
|
output: 'nvidia')
|
|
install_data(join_paths(project_build_root, 'hooks/nvidia'), install_dir: lxchookdir)
|
|
|
|
hook_programs = configure_file(
|
|
configuration: dummy_config_data,
|
|
input: 'squid-deb-proxy-client',
|
|
output: 'squid-deb-proxy-client')
|
|
install_data(join_paths(project_build_root, 'hooks/squid-deb-proxy-client'), install_dir: lxchookdir)
|
|
|
|
hook_programs = configure_file(
|
|
configuration: dummy_config_data,
|
|
input: 'ubuntu-cloud-prep',
|
|
output: 'ubuntu-cloud-prep')
|
|
install_data(join_paths(project_build_root, 'hooks/ubuntu-cloud-prep'), install_dir: lxchookdir)
|