From: Gregory Bell <grb...@redhat.com> redhat/spec: package full bpftool in selftests JIRA: https://issues.redhat.com/browse/RHEL-91378 Upstream Status: RHEL-only
test_bpftool.sh selftests fails because selftests is packaged with bootstrap bpftool. Replace bootstrap bpftool with full bpftool in selftests package Signed-off-by: Gregory Bell <grb...@redhat.com> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -3249,6 +3249,11 @@ for dir in bpf bpf/no_alu32 bpf/progs; do done %buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" %buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32" + +# Copy bpftool to kselftests so selftests is packaged with +# the full bpftool instead of bootstrap bpftool +cp ./bpf/tools/sbin/bpftool %{buildroot}%{_libexecdir}/kselftests/bpf/bpftool + popd %{log_msg "end build selftests"} %endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3948 -- _______________________________________________ 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