Test build fix
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
parent
c5ebb5ed42
commit
f9ee8c808a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user