diff options
author | Fabrice Fontaine <fabrice.fontaine@orange.com> | 2017-02-10 17:17:10 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-02-11 16:45:38 +0100 |
commit | 25707b2fd63abbf93417d7d878c29d7585914ea9 (patch) | |
tree | 714cee85c088c5cb2d3e55f52c98ad18ce5d097a | |
parent | 03f9ce54630c3fdc7b3f227ef24f3c6ddea95051 (diff) | |
download | buildroot-25707b2fd63abbf93417d7d878c29d7585914ea9.tar.gz buildroot-25707b2fd63abbf93417d7d878c29d7585914ea9.zip |
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>
-rw-r--r-- | package/lxc/lxc.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk index 455814b9c9..b79197fa57 100644 --- a/package/lxc/lxc.mk +++ b/package/lxc/lxc.mk @@ -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 |