]> code.ossystems Code Review - meta-freescale.git/commitdiff
lxc: create the /var/lib/lxc directory
authorStuart Yoder <stuart.yoder@freescale.com>
Wed, 10 Oct 2012 03:28:29 +0000 (03:28 +0000)
committerMatthew McClintock <msm@freescale.com>
Tue, 4 Dec 2012 19:16:52 +0000 (13:16 -0600)
-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 <stuart.yoder@freescale.com>
meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb

index c8d90aea06dbee98bacfe3d6e57066e06f157c47..64f36b3cb168beabda786d696e9da69a4ca50db9 100644 (file)
@@ -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
+}