|
2780 | 2780 | pushd tools/testing/selftests
|
2781 | 2781 | # We need to install here because we need to call make with ARCH set which
|
2782 | 2782 | # doesn't seem possible to do in the install section.
|
2783 |
| -%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm livepatch net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu cachestat drivers/net" SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" DEFAULT_INSTALL_HDR_PATH=0 install |
| 2783 | +%{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm livepatch net net/forwarding net/mptcp net/netfilter tc-testing memfd drivers/net/bonding iommu cachestat drivers/net" SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" DEFAULT_INSTALL_HDR_PATH=0 install |
2784 | 2784 |
|
2785 | 2785 | # 'make install' for bpf is broken and upstream refuses to fix it.
|
2786 | 2786 | # Install the needed files manually.
|
@@ -3158,11 +3158,11 @@ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/livepatch/{}
|
3158 | 3158 | find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \;
|
3159 | 3159 | find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/livepatch/{} \;
|
3160 | 3160 | popd
|
3161 |
| -# install netfilter selftests |
3162 |
| -pushd tools/testing/selftests/netfilter |
3163 |
| -find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; |
3164 |
| -find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; |
3165 |
| -find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/netfilter/{} \; |
| 3161 | +# install net/netfilter selftests |
| 3162 | +pushd tools/testing/selftests/net/netfilter |
| 3163 | +find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/net/netfilter/{} \; |
| 3164 | +find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/net/netfilter/{} \; |
| 3165 | +find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/net/netfilter/{} \; |
3166 | 3166 | popd
|
3167 | 3167 |
|
3168 | 3168 | # install memfd selftests
|
|
0 commit comments