mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 09:48:32 +00:00
meson: Add common configs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
7c927048f1
commit
c2931f74c5
8
config/templates/common.conf.d/meson.build
Normal file
8
config/templates/common.conf.d/meson.build
Normal file
@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
lxc_conf_common_readme = configure_file(
|
||||
configuration: dummy_config_data,
|
||||
input: 'README',
|
||||
output: 'README',
|
||||
install: true,
|
||||
install_dir: lxctemplateconfcommondir)
|
36
config/templates/meson.build
Normal file
36
config/templates/meson.build
Normal file
@ -0,0 +1,36 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
lxc_conf_common_seccomp = configure_file(
|
||||
configuration: conf,
|
||||
input: 'common.seccomp',
|
||||
output: 'common.seccomp',
|
||||
install: true,
|
||||
install_dir: lxctemplateconfdir)
|
||||
|
||||
lxc_conf_common_main = configure_file(
|
||||
configuration: conf,
|
||||
input: 'common.conf.in',
|
||||
output: 'common.conf',
|
||||
install: true,
|
||||
install_dir: lxctemplateconfdir)
|
||||
|
||||
lxc_conf_common_nesting = configure_file(
|
||||
configuration: conf,
|
||||
input: 'nesting.conf.in',
|
||||
output: 'nesting.conf',
|
||||
install: true,
|
||||
install_dir: lxctemplateconfdir)
|
||||
|
||||
lxc_conf_common_oci = configure_file(
|
||||
configuration: conf,
|
||||
input: 'oci.common.conf.in',
|
||||
output: 'oci.common.conf',
|
||||
install: true,
|
||||
install_dir: lxctemplateconfdir)
|
||||
|
||||
lxc_conf_common_userns = configure_file(
|
||||
configuration: conf,
|
||||
input: 'userns.conf.in',
|
||||
output: 'userns.conf',
|
||||
install: true,
|
||||
install_dir: lxctemplateconfdir)
|
@ -80,6 +80,8 @@ lxclibexec = join_paths(libexecdir, 'lxc')
|
||||
lxclogpath = join_paths(localstatedir, logpath)
|
||||
lxcpath = join_paths(localstatedir, lxcpathprefix)
|
||||
lxcrootfsmount = join_paths(libdir, rootfsmount)
|
||||
lxctemplateconfdir = join_paths(datadir, 'lxc/config')
|
||||
lxctemplateconfcommondir = join_paths(datadir, 'lxc/config/common.conf.d')
|
||||
lxcselinuxdir = join_paths(datadir, 'lxc/selinux')
|
||||
lxctemplateconfig = join_paths(datadir, 'lxc/config')
|
||||
lxctemplatedir = join_paths(datadir, 'lxc/templates')
|
||||
@ -598,6 +600,8 @@ liblxc_dep = declare_dependency(
|
||||
subdir('config/bash')
|
||||
subdir('config/etc')
|
||||
subdir('config/selinux')
|
||||
subdir('config/templates')
|
||||
subdir('config/templates/common.conf.d')
|
||||
subdir('doc/examples')
|
||||
subdir('doc/rootfs')
|
||||
subdir('hooks')
|
||||
|
Loading…
Reference in New Issue
Block a user