[meta-virtualization] [PATCH] openvswitch: fix RDEPENDS issue for installers.

Bruce Ashfield bruce.ashfield at gmail.com
Sat Oct 26 20:51:34 PDT 2013


On Fri, Oct 25, 2013 at 5:26 PM, Paul Barrette
<paul.barrette at windriver.com> wrote:
> 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

>
> Signed-off-by: Paul Barrette <paul.barrette at windriver.com>
> ---
>  recipes-networking/openvswitch/openvswitch_1.10.0.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-networking/openvswitch/openvswitch_1.10.0.bb b/recipes-networking/openvswitch/openvswitch_1.10.0.bb
> index 9cdd839..02c8ab3 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}"
>  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
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the meta-virtualization mailing list