From: Stuart Yoder Date: Wed, 10 Oct 2012 03:28:29 +0000 (+0000) Subject: lxc: create the /var/lib/lxc directory X-Git-Tag: 2.1~534^2~363 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5e636803458e7f6aebbbc62e4429ad56890dd6c1;p=meta-freescale.git lxc: create the /var/lib/lxc directory -lxc requires this directory to be present -this patch is a workaround for the issue, plan is to submit a patch upstream to fix this and see what feedback we receive Signed-off-by: Stuart Yoder --- diff --git a/meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb index c8d90aea..64f36b3c 100644 --- a/meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb +++ b/meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb @@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" PRIORITY = "optional" -PR = "r3" +PR = "r4" DEPENDS = "libxml2 libcap" RDEPENDS_${PN} = " \ rsync \ @@ -36,3 +36,8 @@ EXTRA_OECONF = "--disable-doc --disable-rpath" inherit autotools FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" + +# create empty dir needed by lxc +do_install_append() { + install -d ${D}${localstatedir}/lib/lxc +}