mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
lxc: enable selinux if package is selected
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
03f9ce5463
commit
25707b2fd6
@ -29,6 +29,13 @@ else
|
|||||||
LXC_CONF_OPTS += --disable-seccomp
|
LXC_CONF_OPTS += --disable-seccomp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||||
|
LXC_CONF_OPTS += --enable-selinux
|
||||||
|
LXC_DEPENDENCIES += libselinux
|
||||||
|
else
|
||||||
|
LXC_CONF_OPTS += --disable-selinux
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
|
ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
|
||||||
LXC_CONF_OPTS += --enable-lua
|
LXC_CONF_OPTS += --enable-lua
|
||||||
LXC_DEPENDENCIES += luainterpreter
|
LXC_DEPENDENCIES += luainterpreter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user