[meta-virtualization] [PATCH 2/3] lxc: Add PACKAGECONFIG for seccomp
Bogdan Purcareata
bogdan.purcareata at freescale.com
Tue Mar 10 05:11:29 PDT 2015
Determine whether libseccomp is installed in the Yocto image, and based on that,
compile the necessary support for LXC as well.
Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
---
recipes-containers/lxc/lxc_1.0.7.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-containers/lxc/lxc_1.0.7.bb b/recipes-containers/lxc/lxc_1.0.7.bb
index c618c84..4110ac5 100644
--- a/recipes-containers/lxc/lxc_1.0.7.bb
+++ b/recipes-containers/lxc/lxc_1.0.7.bb
@@ -43,12 +43,14 @@ EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}"
PACKAGECONFIG ??= "templates \
${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
+ ${@base_contains('IMAGE_INSTALL', 'libseccomp', 'seccomp', '', d)} \
"
PACKAGECONFIG[doc] = "--enable-doc --enable-api-docs,--disable-doc --disable-api-docs,,"
PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,,"
PACKAGECONFIG[apparmour] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor"
PACKAGECONFIG[templates] = ",,, ${PN}-templates"
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
+PACKAGECONFIG[seccomp] ="--enable-seccomp,--disable-seccomp,libseccomp,libseccomp"
inherit autotools pkgconfig ptest update-rc.d systemd
--
2.1.4
More information about the meta-virtualization
mailing list