mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-12-15 06:35:42 +01:00
oci-image-tools: don't build for riscv64
Currently oci-image-tools has a do_compile error for riscv64. The
problem could be reproduced by:
MACHINE=qemuriscv64 bitbake oci-image-tools
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.
Also don't build packagegroup-container/packagegroup-kubernetes since
they depends on oci-image-tools
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
72a943b5f1
commit
8f25bfcbae
|
|
@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
|
|||
|
||||
S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
|
||||
|
||||
COMPATIBLE_HOST:riscv64 = "null"
|
||||
|
||||
do_compile() {
|
||||
export GOARCH="${TARGET_GOARCH}"
|
||||
export GOROOT="${STAGING_LIBDIR}/go"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
|||
|
||||
inherit packagegroup
|
||||
|
||||
COMPATIBLE_HOST:riscv64 = "null"
|
||||
|
||||
PACKAGES = "\
|
||||
packagegroup-container \
|
||||
packagegroup-lxc \
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
|||
|
||||
inherit packagegroup
|
||||
|
||||
COMPATIBLE_HOST:riscv64 = "null"
|
||||
|
||||
# k3s has this restriction
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES ?= "seccomp"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user