[oe] [meta-oe][PATCH] openct: Fix rootfs creation errors

Khem Raj raj.khem at gmail.com
Fri May 20 07:29:05 UTC 2016


On Sat, Feb 27, 2016 at 3:26 PM, Dai Caiyun <daicy.fnst at cn.fujitsu.com> wrote:
> To fix error as following:
>     file /var/run from install of openct-0.6.20-r0
>     conflicts with file from package base-files-3.0.14
>
> Signed-off-by: Dai Caiyun <daicy.fnst at cn.fujitsu.com>
> ---
>  meta-oe/recipes-support/openct/openct_0.6.20.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-support/openct/openct_0.6.20.bb b/meta-oe/recipes-support/openct/openct_0.6.20.bb
> index bf1ff57..d4ad9c1 100644
> --- a/meta-oe/recipes-support/openct/openct_0.6.20.bb
> +++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb
> @@ -55,6 +55,9 @@ FILES_${PN}-dbg += " \
>
>  INSANE_SKIP_${PN} += "dev-deps"
>
> +do_install_append() {
> +    rm -r ${D}/${localstatedir}/run
> +}

This is ok, however, there might be some files being created in that
directory, it will be good to create them at runtime when this service
starts
so may be adding it to systemd unit file or init file would be good.

>
>  do_install () {
>      rm -rf ${D}
> --
> 1.8.4.2
>
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list