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

Dai Caiyun daicy.fnst at cn.fujitsu.com
Fri May 20 02:22:11 UTC 2016


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






More information about the Openembedded-devel mailing list