All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] openct: Fix rootfs creation errors
@ 2016-05-20  2:22 Dai Caiyun
  2016-05-20  7:29 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Dai Caiyun @ 2016-05-20  2:22 UTC (permalink / raw)
  To: openembedded-devel

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@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
+}
 
 do_install () {
     rm -rf ${D}
-- 
1.8.4.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] openct: Fix rootfs creation errors
  2016-05-20  2:22 [meta-oe][PATCH] openct: Fix rootfs creation errors Dai Caiyun
@ 2016-05-20  7:29 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-05-20  7:29 UTC (permalink / raw)
  To: openembeded-devel

On Sat, Feb 27, 2016 at 3:26 PM, Dai Caiyun <daicy.fnst@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-20  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20  2:22 [meta-oe][PATCH] openct: Fix rootfs creation errors Dai Caiyun
2016-05-20  7:29 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.