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 <[email protected]>
---
 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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to