On 1/24/19 11:28 AM, Jiri Olsa wrote:
Adding explicit bzip2 dependency for perf tool. The bzip2
is used in perf archive script command, and without bzip2
command it fails, like:
$ perf archive
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
With explicit bzip2 dependency we're ok:
$ rpm -qp --requires perf-...rpm | grep bzip2
bzip2
koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=32223307
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
kernel-tools.spec | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel-tools.spec b/kernel-tools.spec
index a93e789a2caa..6faaa2d17a60 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -136,6 +136,7 @@ and the supporting documentation.
%package -n perf
Summary: Performance monitoring for the Linux kernel
+Requires: bzip2
License: GPLv2
%description -n perf
This package contains the perf tool, which enables performance monitoring
Applied, thanks!
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx