From: Viktor Malik on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3948#note_2555064791

Are we sure `/usr/sbin/bpftool` is the version from the current build and not
a version of bpftool potentially installed on the host from RPM? I think the
version of bpftool that we want is in `./tools/sbin/bpftool`.

Also, use the `%{_libexecdir}` macro instead of `/usr/libexec`.

So, it should probably look something like this:
```suggestion:-0+0
cp ./tools/sbin/bpftool %{buildroot}%{_libexecdir}/kselftests/bpf/bpftool
```

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to