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

Mark Hatle mark.hatle at windriver.com
Wed Oct 17 13:04:10 PDT 2018


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



More information about the meta-virtualization mailing list