From 76bca8285e1f9def4e390334aafcd8da8c4b34c7 Mon Sep 17 00:00:00 2001 From: He Zhe Date: Tue, 28 Apr 2020 21:10:24 +0800 Subject: bcc bpftrace: Add xz to RDEPENDS bcc and bpftrace require xz to extract /sys/kernel/kheaders.tar.xz, otherwise the tools would fail as below. tar (child): xz: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Signed-off-by: He Zhe --- dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb | 2 +- .../openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb index 115084e..b4b5a92 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb @@ -12,7 +12,7 @@ DEPENDS += "bison-native \ clang \ " -RDEPENDS_${PN} += "bash python3 python3-core" +RDEPENDS_${PN} += "bash python3 python3-core xz" SRC_URI = "gitsm://github.com/iovisor/bcc \ file://0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch \ diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb index c0b3c66..ad044fd 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb @@ -10,7 +10,7 @@ DEPENDS += "bison-native \ bcc \ " -RDEPENDS_${PN} += "bash python3" +RDEPENDS_${PN} += "bash python3 xz" SRC_URI = "git://github.com/iovisor/bpftrace \ " -- cgit v1.2.3-54-g00ecf