Skip to contentSkip to conversation

openvswitch: Make openvswitch a machine_arch package

PATCH In review Mark Hatle 2 participants 2 messages Oct 17, 2018 – Oct 18, 2018

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 openvswitch: Make openvswitch a machine_arch package

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.

---
 recipes-networking/openvswitch/openvswitch_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-networking/openvswitch/openvswitch_git.bb +2 -0
index 4cd82d7..a930933 100644
@@ -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 \
Signature · 1 line
2.16.0.rc2
#1 lore raw

merged

Bruce

Quoted 32 lines · Mark Hatle

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.

---
 recipes-networking/openvswitch/openvswitch_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-networking/openvswitch/openvswitch_git.bb +2 -1
index 4cd82d7..a930933 100644
@@ -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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"