Skip to contentSkip to conversation

lxc: enable selinux if package is selected

PATCH New Fabrice Fontaine 2 participants 2 messages Feb 10, 2017 – Feb 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lxc: enable selinux if package is selected

From: Fabrice Fontaine <[email protected]>

---
 package/lxc/lxc.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/lxc/lxc.mk +7 -0
index 455814b..b79197f 100644
@@ -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
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 lxc: enable selinux if package is selected

Hello,

Quoted 6 lines · Fabrice Fontaine

From: Fabrice Fontaine <[email protected]>

---
 package/lxc/lxc.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com