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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Chen Qi 2022-11-20 17:48:56 -08:00 committed by Bruce Ashfield
parent d2cfa7fac8
commit 3626f2c9cc

View File

@ -73,3 +73,5 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
RDEPENDS:${PN}-ptest:remove = "${PN}"
CVE_PRODUCT = "docker_registry"
COMPATIBLE_HOST:riscv64 = "null"