Currently docker-distribution has a do_compile error for riscv64.
The problem could be reproduced by:
  MACHINE=qemuriscv64 bitbake docker-distribution

So explicitly set COMPATIBLE_HOST here to avoid it building for
riscv64. When someone interested in using this recipe for riscv64
fixes the compile issue, this setting could be removed.

Signed-off-by: Chen Qi <[email protected]>
---
 .../docker-distribution/docker-distribution_git.bb              | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb 
b/recipes-containers/docker-distribution/docker-distribution_git.bb
index d0cd8f3..86fcd62 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -73,3 +73,5 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
 RDEPENDS:${PN}-ptest:remove = "${PN}"
 
 CVE_PRODUCT = "docker_registry"
+
+COMPATIBLE_HOST:riscv64 = "null"
-- 
2.37.1

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

Reply via email to