Skip to contentSkip to conversation

ostree: Remove strace from ptest rdeps

PATCH New Khem Raj 1 participant 1 message Feb 27, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ostree: Remove strace from ptest rdeps

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

---
 meta-oe/recipes-extended/ostree/ostree_2024.3.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-extended/ostree/ostree_2024.3.bb +1 -2
index 07dedc8b81..158ec9bc23 100644
@@ -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"
Signature · 1 line
2.44.0