[meta-virtualization] [PATCH] openvswitch: Fix rootfs creation errors

Dai Caiyun daicy.fnst at cn.fujitsu.com
Wed May 11 23:55:13 PDT 2016


error: file /var/run from install of openvswitch-2.1.3-r0.x86_64
    conflicts with file from package base-files-3.0.14-r89.ubinux_x86_64

Signed-off-by: Dai Caiyun <daicy.fnst at cn.fujitsu.com>
---
 recipes-networking/openvswitch/openvswitch_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
index b46d5af..1c6252a 100644
--- a/recipes-networking/openvswitch/openvswitch_git.bb
+++ b/recipes-networking/openvswitch/openvswitch_git.bb
@@ -50,4 +50,5 @@ do_install_ptest() {
 
 do_install_append() {
 	oe_runmake modules_install INSTALL_MOD_PATH=${D}
+	rm -r ${D}/${localstatedir}/run
 }
-- 
1.8.4.2





More information about the meta-virtualization mailing list