[meta-freescale] [PATCH 12/27] lxc: create the /var/lib/lxc directory

Daiane Angolini daiane.list at gmail.com
Fri Nov 30 02:38:17 PST 2012


On Thu, Nov 29, 2012 at 5:15 PM, Matthew McClintock <msm at freescale.com> wrote:
> 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

I think it´s fine until fix it not up-streamed .



Daiane

> 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
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



More information about the meta-freescale mailing list