Skip to contentSkip to conversation

ostree: not compatible with riscv32 when ptest enabled

PATCH New [email protected] 1 participant 1 message Sep 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ostree: not compatible with riscv32 when ptest enabled

From: Kai Kang <[email protected]>

ostree-ptest rdepends on strace which is not compatible with riscv32. So when ptest is enabled, set ostree not compatible with riscv32.

---
 meta-oe/recipes-extended/ostree/ostree_2023.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/ostree/ostree_2023.5.bb +2 -0
index 3028c4c92..bc465dd62 100644
@@ -28,6 +28,8 @@ S = "${WORKDIR}/libostree-${PV}"
 
 inherit autotools bash-completion gobject-introspection github-releases gtk-doc manpages pkgconfig ptest-gnome systemd
 
+COMPATIBLE_HOST:riscv32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'null', 'riscv32', d)}"
+
 UNKNOWN_CONFIGURE_OPT_IGNORE = "--disable-introspection --enable-introspection"
 
 # Workaround compile failure:
Signature · 1 line
2.34.1