diff options
author | Stuart Yoder <stuart.yoder@freescale.com> | 2012-10-10 03:28:29 +0000 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2012-12-04 13:16:52 -0600 |
commit | 3355f8ed04a1af5fb0af7b2ca02693b4ef632d69 (patch) | |
tree | d17db77d85c5a1f774228be14861834b33a33965 | |
parent | 8574faf4ca824c07c0b185a2758e725fce94a773 (diff) | |
download | meta-fsl-ppc-3355f8ed04a1af5fb0af7b2ca02693b4ef632d69.tar.gz |
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 <stuart.yoder@freescale.com>
-rw-r--r-- | recipes-tools/lxc/lxc_0.8.0-rc1.bb | 7 |
1 files changed, 6 insertions, 1 deletions
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" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" |
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | PR = "r3" | 6 | PR = "r4" |
7 | DEPENDS = "libxml2 libcap" | 7 | DEPENDS = "libxml2 libcap" |
8 | RDEPENDS_${PN} = " \ | 8 | RDEPENDS_${PN} = " \ |
9 | rsync \ | 9 | rsync \ |
@@ -36,3 +36,8 @@ EXTRA_OECONF = "--disable-doc --disable-rpath" | |||
36 | inherit autotools | 36 | inherit autotools |
37 | 37 | ||
38 | FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" | 38 | FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" |
39 | |||
40 | # create empty dir needed by lxc | ||
41 | do_install_append() { | ||
42 | install -d ${D}${localstatedir}/lib/lxc | ||
43 | } | ||