The go related recipe (such as docker-moby, podman) inherited
goarch.bbclass in which centralize definition of COMPATIBLE_HOST

Due to the packagegroup runtime depends on these go related recipes,
inherits goarch.bbclass to apply the same COMPATIBLE_HOST

$ echo "MACHINE = 'qemuppc'" >> conf/local.conf
$ bitbake world
ERROR: Nothing RPROVIDES 'podman' (but 
meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb 
RDEPENDS on or otherwise requires it)
podman was skipped: incompatible with host powerpc-wrs-linux (not in 
COMPATIBLE_HOST)
NOTE: Runtime target 'podman' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['podman']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'packagegroup-container', 'podman']

Signed-off-by: Hongxu Jia <[email protected]>
---
 recipes-core/packagegroups/packagegroup-container.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-container.bb 
b/recipes-core/packagegroups/packagegroup-container.bb
index 21402d65..3e2d2a25 100644
--- a/recipes-core/packagegroups/packagegroup-container.bb
+++ b/recipes-core/packagegroups/packagegroup-container.bb
@@ -2,7 +2,7 @@ SUMMARY = "All packages for container host"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-inherit packagegroup
+inherit packagegroup goarch
 
 COMPATIBLE_HOST = "^(?!(mips|riscv)).*"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9063): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9063
Mute This Topic: https://lists.yoctoproject.org/mt/110315544/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to