diff mbox series

[meta-oe] ostree: Remove strace from ptest rdeps

Message ID 20240227175604.2844370-1-raj.khem@gmail.com
State Accepted, archived
Headers show
Series [meta-oe] ostree: Remove strace from ptest rdeps | expand

Commit Message

Khem Raj Feb. 27, 2024, 5:56 p.m. UTC
it checks for strace and then try fault injection if it exists. So,
while it will be good to have strace port for rv32 it can be disabled
for now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/ostree/ostree_2024.3.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/ostree/ostree_2024.3.bb b/meta-oe/recipes-extended/ostree/ostree_2024.3.bb
index 07dedc8b81..158ec9bc23 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2024.3.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2024.3.bb
@@ -28,8 +28,6 @@  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:
@@ -203,6 +201,7 @@  RDEPENDS:${PN}-ptest += " \
     python3-pyyaml \
     ${@bb.utils.contains('PACKAGECONFIG', 'gjs', 'gjs', '', d)} \
 "
+RDEPENDS:${PN}-ptest:remove:riscv32 = "strace"
 RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-localedata-en-us"
 
 RRECOMMENDS:${PN}:append:class-target = " kernel-module-overlay"