summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch
diff options
context:
space:
mode:
authorPaul Barrette <paul.barrette@windriver.com>2013-10-25 17:26:27 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-10-26 23:50:34 -0400
commit0997753a6e8cbb3103996b0971be2974e3aede1e (patch)
tree53df8c84e0a2e8f2f7de8cc5f9d4f62ab257caf6 /recipes-networking/openvswitch
parent7908efdb9c9060ee8c80f8f1e41622ba7e9e7fa8 (diff)
downloadmeta-virtualization-0997753a6e8cbb3103996b0971be2974e3aede1e.tar.gz
openvswitch: fix RDEPENDS issue for installers.
Make sure openvswitch has all the runtime dependencies defined. Without e.g. sed, an installer may calculate dependencies and order packages based on the deps, which may install openvswitch before sed. This would result in an install failure, when the post install step calls ovs-pki, which uses sed. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch')
-rw-r--r--recipes-networking/openvswitch/openvswitch_1.10.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-networking/openvswitch/openvswitch_1.10.0.bb b/recipes-networking/openvswitch/openvswitch_1.10.0.bb
index 9cdd839d..02c8ab3d 100644
--- a/recipes-networking/openvswitch/openvswitch_1.10.0.bb
+++ b/recipes-networking/openvswitch/openvswitch_1.10.0.bb
@@ -14,7 +14,11 @@ RDEPENDS_${PN}-pki = "${PN}"
14RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" 14RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch"
15RRECOMMENDS_${PN} += "kernel-module-openvswitch" 15RRECOMMENDS_${PN} += "kernel-module-openvswitch"
16 16
17PR = "r2" 17# Some installers will fail because of an install order based on
18# rdeps. E.g. ovs-pki calls sed in the postinstall. sed may be
19# queued for install later.
20RDEPENDS_${PN} += "sed gawk grep"
21PR = "r3"
18 22
19SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \ 23SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \
20 file://openvswitch-switch \ 24 file://openvswitch-switch \