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
|
||||
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)
|
||||
LXC_CONF_OPTS += --enable-lua
|
||||
LXC_DEPENDENCIES += luainterpreter
|
||||
|
Loading…
Reference in New Issue
Block a user