Skip to contentSkip to conversation

docker-distribution: do not build for riscv64

PATCH In review Chen Qi 2 participants 2 messages Nov 21, 2022 – Nov 23, 2022

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 docker-distribution: do not build for riscv64

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.

---
 .../docker-distribution/docker-distribution_git.bb              | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/docker-distribution/docker-distribution_git.bb +2 -0
index d0cd8f3..86fcd62 100644
@@ -73,3 +73,5 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
 RDEPENDS:${PN}-ptest:remove = "${PN}"
 
 CVE_PRODUCT = "docker_registry"
+
+COMPATIBLE_HOST:riscv64 = "null"
Signature · 1 line
2.37.1
#1 lore raw

merged.

Bruce

In message: [meta-virtualization][PATCH] docker-distribution: do not build for riscv64

Quoted 36 lines · on 20/11/2022 Chen Qi wrote:

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.

---
 .../docker-distribution/docker-distribution_git.bb              | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/docker-distribution/docker-distribution_git.bb +2 -0
index d0cd8f3..86fcd62 100644
@@ -73,3 +73,5 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
 RDEPENDS:${PN}-ptest:remove = "${PN}"
 
 CVE_PRODUCT = "docker_registry"
+
+COMPATIBLE_HOST:riscv64 = "null"
Signature · 11 lines
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/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-