mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09: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:
committed by
Thomas Petazzoni
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
|
||||||
|
|||||||
Reference in New Issue
Block a user