mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user