From 0afb6647c1ba91b9197d3720537cdb8b211ddcee Mon Sep 17 00:00:00 2001 From: Lei Yang Date: Thu, 31 Jan 2013 15:18:47 +0800 Subject: openvswtich: start openvswitch at the boot time When I define the bridge, I get below error root@intel_5500_server:~# ovs-vsctl add-br ovsbr0 Jan 25 17:34:07|00002|stream_unix|ERR|/tmp/stream-unix.1487.0: connection to /var/run/openvswitch/db.sock failed: No such file or directory ........ ........ This is because openvswitch damon isn't running,so we'd better start it at the boot time. The split-package ${PN}-switch ${PN}-controller provide us to start necessary daemon with update-rc.d so we add them to the RDEPENDS. Since openvswitch depends on openvswtich kernel module, so auto load the kernel module too. Signed-off-by: Lei Yang Signed-off-by: Bruce Ashfield --- recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend b/recipes-kernel/linux/linux-yocto_3.4.bbappend index 454c00f4..2893a01c 100644 --- a/recipes-kernel/linux/linux-yocto_3.4.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend @@ -5,7 +5,7 @@ SRC_URI += "file://xt-checksum.scc \ file://vswitch.scc \ file://lxc.scc \ " - +module_autoload_openvswitch = "openvswitch" KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc" module_autoload_kvm = "kvm" -- cgit v1.2.3-54-g00ecf