aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDai Caiyun <daicy.fnst@cn.fujitsu.com>2016-02-28 02:26:32 +0300
committerArmin Kuster <akuster808@gmail.com>2016-08-16 10:29:39 -0700
commit48603df0d4155be7ce48d52da55e107f12a8b8dd (patch)
treea12753d96c21ad34cffa8215028e6a99e213db93
parent2bc19a8341f06424fa3778c0bab04933f4c2ad50 (diff)
downloadmeta-openembedded-contrib-48603df0d4155be7ce48d52da55e107f12a8b8dd.tar.gz
meta-openembedded-contrib-48603df0d4155be7ce48d52da55e107f12a8b8dd.tar.bz2
meta-openembedded-contrib-48603df0d4155be7ce48d52da55e107f12a8b8dd.zip
openct: Fix rootfs creation errors
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 387824f1763c573fd05c97c4b94122350717340c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/openct/openct_0.6.20.bb3
1 files changed, 3 insertions, 0 deletions
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 bf1ff570b3..d4ad9c1c4b 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}