Test build fix

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
Justin M. Forbes 2023-05-03 10:56:11 -05:00
parent c5ebb5ed42
commit f9ee8c808a
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140
1 changed files with 0 additions and 2 deletions

View File

@ -2573,9 +2573,7 @@ for dir in bpf bpf/no_alu32 bpf/progs; do
-name '*.o' -exec sh -c 'readelf -h "{}" | grep -q "^ Machine:.*BPF"' \; \) -print0 | \
xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true
done
ln -sr %{buildroot}%{_libexecdir}/kselftests/bpf/bpftool %{buildroot}%{_libexecdir}/kselftests/bpf/no_alu32/bpftool
%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs"
%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32"
popd
export -n BPFTOOL
%endif