From 5e636803458e7f6aebbbc62e4429ad56890dd6c1 Mon Sep 17 00:00:00 2001 From: Stuart Yoder Date: Wed, 10 Oct 2012 03:28:29 +0000 Subject: [PATCH] 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 --- meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 +} -- 2.40.1