diff options
author | Paul Barrette <paul.barrette@windriver.com> | 2013-10-25 17:26:27 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-26 23:50:34 -0400 |
commit | 0997753a6e8cbb3103996b0971be2974e3aede1e (patch) | |
tree | 53df8c84e0a2e8f2f7de8cc5f9d4f62ab257caf6 | |
parent | 7908efdb9c9060ee8c80f8f1e41622ba7e9e7fa8 (diff) | |
download | meta-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>
-rw-r--r-- | recipes-networking/openvswitch/openvswitch_1.10.0.bb | 6 |
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}" | |||
14 | RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" | 14 | RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" |
15 | RRECOMMENDS_${PN} += "kernel-module-openvswitch" | 15 | RRECOMMENDS_${PN} += "kernel-module-openvswitch" |
16 | 16 | ||
17 | PR = "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. | ||
20 | RDEPENDS_${PN} += "sed gawk grep" | ||
21 | PR = "r3" | ||
18 | 22 | ||
19 | SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \ | 23 | SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \ |
20 | file://openvswitch-switch \ | 24 | file://openvswitch-switch \ |