mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 00:09:52 +00:00
meson: Add SELinux configs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
9d18059b8d
commit
7c927048f1
15
config/selinux/meson.build
Normal file
15
config/selinux/meson.build
Normal file
@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
lxc_selinux_if = configure_file(
|
||||
configuration: dummy_config_data,
|
||||
input: 'lxc.if',
|
||||
output: 'lxc.if',
|
||||
install: libselinux.found(),
|
||||
install_dir: lxcselinuxdir)
|
||||
|
||||
lxc_selinux_te = configure_file(
|
||||
configuration: dummy_config_data,
|
||||
input: 'lxc.te',
|
||||
output: 'lxc.te',
|
||||
install: libselinux.found(),
|
||||
install_dir: lxcselinuxdir)
|
@ -80,6 +80,7 @@ lxclibexec = join_paths(libexecdir, 'lxc')
|
||||
lxclogpath = join_paths(localstatedir, logpath)
|
||||
lxcpath = join_paths(localstatedir, lxcpathprefix)
|
||||
lxcrootfsmount = join_paths(libdir, rootfsmount)
|
||||
lxcselinuxdir = join_paths(datadir, 'lxc/selinux')
|
||||
lxctemplateconfig = join_paths(datadir, 'lxc/config')
|
||||
lxctemplatedir = join_paths(datadir, 'lxc/templates')
|
||||
lxc_user_network_conf = join_paths(sysconfdir, user_network_conf_opt)
|
||||
@ -596,6 +597,7 @@ liblxc_dep = declare_dependency(
|
||||
# Rest of sub-directories.
|
||||
subdir('config/bash')
|
||||
subdir('config/etc')
|
||||
subdir('config/selinux')
|
||||
subdir('doc/examples')
|
||||
subdir('doc/rootfs')
|
||||
subdir('hooks')
|
||||
|
Loading…
Reference in New Issue
Block a user