[meta-virtualization] [PATCH] lxc: add missing inherit

Mark Asselstine mark.asselstine at windriver.com
Wed Dec 18 10:11:30 PST 2013


lxc's configure script makes use of pkg-config so we need to inherit
pkgconfig or else we may see an error like

./configure: line 5315: syntax error near unexpected token `PYTHONDEV,'
./configure: line 5315: `      PKG_CHECK_MODULES(PYTHONDEV, python3 >= \
                     3.2,,AC_MSG_ERROR([You must install python3-dev]))'

during configure.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 recipes-containers/lxc/lxc_0.9.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/lxc/lxc_0.9.0.bb b/recipes-containers/lxc/lxc_0.9.0.bb
index 8f7736b..fbb35de 100644
--- a/recipes-containers/lxc/lxc_0.9.0.bb
+++ b/recipes-containers/lxc/lxc_0.9.0.bb
@@ -41,7 +41,7 @@ PACKAGECONFIG[doc] = "--enable-doc,--disable-doc,,"
 PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,,"
 PACKAGECONFIG[apparmour] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor"
 
-inherit autotools
+inherit autotools pkgconfig
 
 FILES_${PN}-doc = "${mandir} ${infodir}"
 # For LXC the docdir only contains example configuration files and should be included in the lxc package
-- 
1.8.3.2



More information about the meta-virtualization mailing list