mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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 <lei.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
176a8d2ed8
commit
0afb6647c1
|
@ -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"
|
||||
|
|
|
@ -7,7 +7,7 @@ LICENSE = "Apache-2"
|
|||
DEPENDS += "bridge-utils openssl python perl"
|
||||
|
||||
RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid \
|
||||
python perl perl-module-strict"
|
||||
python perl perl-module-strict ${PN}-switch ${PN}-controller"
|
||||
RDEPENDS_${PN}-controller = "${PN} lsb ${PN}-pki"
|
||||
RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen"
|
||||
RDEPENDS_${PN}-pki = "${PN}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user