[meta-freescale] [PATCH 12/27] lxc: create the /var/lib/lxc directory
Matthew McClintock
msm at freescale.com
Thu Nov 29 11:15:36 PST 2012
From: Stuart Yoder <stuart.yoder at freescale.com>
-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 at freescale.com>
---
recipes-tools/lxc/lxc_0.8.0-rc1.bb | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
index c8d90ae..64f36b3 100644
--- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb
+++ b/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
+}
--
1.7.9.7
More information about the meta-freescale
mailing list