openvswitch: fix RDEPENDS issue for installers.
PATCH 1/1 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.
--- recipes-networking/openvswitch/openvswitch_1.10.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch_1.10.0.bb +5 -1
@@ -14,7 +14,11 @@ RDEPENDS_${PN}-pki = "${PN}" RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" RRECOMMENDS_${PN} += "kernel-module-openvswitch" -PR = "r2" +# Some installers will fail because of an install order based on +# rdeps. E.g. ovs-pki calls sed in the postinstall. sed may be +# queued for install later. +RDEPENDS_${PN} += "sed gawk grep" +PR = "r3" SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \ file://openvswitch-switch \
Signature · 1 line
1.8.1.4
Bruce Ashfield
AppliedQuoted 5 lines · Paul Barrette
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.
Looks fine to me, better to be explicit with the dependencies.
merged to the tree.
Bruce
Quoted 30 lines
Signed-off-by Paul Barrette <[email protected]>--- recipes-networking/openvswitch/openvswitch_1.10.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)recipes-networking/openvswitch/openvswitch_1.10.0.bb +5
-2@@ -14,7 +14,11 @@ RDEPENDS_${PN}-pki = "${PN}" RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" RRECOMMENDS_${PN} += "kernel-module-openvswitch" -PR = "r2" +# Some installers will fail because of an install order based on +# rdeps. E.g. ovs-pki calls sed in the postinstall. sed may be +# queued for install later. +RDEPENDS_${PN} += "sed gawk grep" +PR = "r3" SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \ file://openvswitch-switch \ --1.8.1.4
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"