[meta-virtualization] [PATCH] openvswitch: Make openvswitch a machine_arch package

Bruce Ashfield bruce.ashfield at gmail.com
Thu Oct 18 08:43:57 PDT 2018


merged

Bruce
On Wed, Oct 17, 2018 at 4:04 PM Mark Hatle <mark.hatle at windriver.com> wrote:
>
> Openvswitch recipe depends on the kernel source, which is machine specific.
> It can then use this machine specific resource to configure and build the
> recipe.  This mix causes the hash values of this package to change based on
> the machine, so this package must also be a machine_arch package.
>
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
>  recipes-networking/openvswitch/openvswitch_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
> index 4cd82d7..a930933 100644
> --- a/recipes-networking/openvswitch/openvswitch_git.bb
> +++ b/recipes-networking/openvswitch/openvswitch_git.bb
> @@ -2,6 +2,8 @@ require openvswitch.inc
>
>  DEPENDS += "virtual/kernel"
>
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
>  RDEPENDS_${PN}-ptest += "\
>         python3-logging python3-syslog python3-io \
>         python3-fcntl python3-shell python3-xml python3-math \
> --
> 2.16.0.rc2
>
> --
> _______________________________________________
> 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