]>
Commit | Line | Data |
---|---|---|
659611a3 CB |
1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
2 | ||
659611a3 | 3 | hooks_unmount_namespace_sources = files('unmount-namespace.c') |
faa4ae06 SG |
4 | if srcconf.get('IS_BIONIC') == 1 or srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0 |
5 | hooks_unmount_namespace_sources += files( | |
6 | '../src/include/lxcmntent.c', | |
7 | '../src/include/lxcmntent.h') | |
8 | endif | |
659611a3 CB |
9 | |
10 | hook_programs += executable( | |
20b03401 SG |
11 | 'unmount-namespace', |
12 | hooks_unmount_namespace_sources, | |
8d77f43f | 13 | include_directories: liblxc_includes, |
20b03401 | 14 | install: true, |
31985a04 | 15 | install_dir: join_paths(lxclibexec, 'hooks')) |
659611a3 CB |
16 | |
17 | hook_programs = configure_file( | |
20b03401 SG |
18 | configuration: dummy_config_data, |
19 | input: 'clonehostname', | |
20 | output: 'clonehostname') | |
21 | install_data(join_paths(project_build_root, 'hooks/clonehostname'), install_dir: lxchookdir) | |
659611a3 CB |
22 | |
23 | hook_programs = configure_file( | |
20b03401 SG |
24 | configuration: dummy_config_data, |
25 | input: 'dhclient-script', | |
26 | output: 'dhclient-script') | |
27 | install_data(join_paths(project_build_root, 'hooks/dhclient-script'), install_dir: lxchookdir) | |
659611a3 | 28 | |
659611a3 | 29 | hook_programs = configure_file( |
eba7f7a6 | 30 | configuration: conf, |
20b03401 SG |
31 | input: 'dhclient.in', |
32 | output: 'dhclient') | |
33 | install_data(join_paths(project_build_root, 'hooks/dhclient'), install_dir: lxchookdir) | |
659611a3 CB |
34 | |
35 | hook_programs = configure_file( | |
20b03401 SG |
36 | configuration: dummy_config_data, |
37 | input: 'mountecryptfsroot', | |
38 | output: 'mountecryptfsroot') | |
39 | install_data(join_paths(project_build_root, 'hooks/mountecryptfsroot'), install_dir: lxchookdir) | |
659611a3 CB |
40 | |
41 | hook_programs = configure_file( | |
20b03401 SG |
42 | configuration: dummy_config_data, |
43 | input: 'nvidia', | |
44 | output: 'nvidia') | |
45 | install_data(join_paths(project_build_root, 'hooks/nvidia'), install_dir: lxchookdir) | |
659611a3 CB |
46 | |
47 | hook_programs = configure_file( | |
20b03401 SG |
48 | configuration: dummy_config_data, |
49 | input: 'squid-deb-proxy-client', | |
50 | output: 'squid-deb-proxy-client') | |
51 | install_data(join_paths(project_build_root, 'hooks/squid-deb-proxy-client'), install_dir: lxchookdir) | |
659611a3 CB |
52 | |
53 | hook_programs = configure_file( | |
20b03401 SG |
54 | configuration: dummy_config_data, |
55 | input: 'ubuntu-cloud-prep', | |
56 | output: 'ubuntu-cloud-prep') | |
57 | install_data(join_paths(project_build_root, 'hooks/ubuntu-cloud-prep'), install_dir: lxchookdir) |