aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDai Caiyun <daicy.fnst@cn.fujitsu.com>2016-02-28 02:30:32 +0300
committerArmin Kuster <akuster808@gmail.com>2016-08-16 10:29:39 -0700
commit2bc19a8341f06424fa3778c0bab04933f4c2ad50 (patch)
tree698cf86b1ad7d0f11adfb41a1b8b7b734605cd39
parent59bcc717bdfc72a10a2ded3ef9453bc90eb81c84 (diff)
downloadmeta-openembedded-2bc19a8341f06424fa3778c0bab04933f4c2ad50.tar.gz
meta-openembedded-2bc19a8341f06424fa3778c0bab04933f4c2ad50.tar.bz2
meta-openembedded-2bc19a8341f06424fa3778c0bab04933f4c2ad50.zip
iptraf: Fix rootfs creation errors
fix errors as following: file /var/run from install of iptraf-3.0.0-r0.x86_64 conflicts with file from package base-files-3.0.14-r89.ubinux_x86_64 Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit e49c2c2ba054cc8aa266f71e6204707cadd0f044) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb b/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb
index 25e60013d..4d677efb1 100644
--- a/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb
+++ b/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb
@@ -23,6 +23,10 @@ do_compile() {
oe_runmake -C src all
}
+do_install_append() {
+ rm -r ${D}/${localstatedir}/run
+}
+
do_install() {
install -d ${D}${bindir}
oe_runmake -C src install \