File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -3200,7 +3200,7 @@ pushd tools/testing/selftests
32003200export CFLAGS="%{build_cflags}"
32013201export CXXFLAGS="%{build_cxxflags}"
32023202
3203- TARGETS="bpf cgroup mm net net/forwarding net/mptcp net/netfilter net/packetdrill tc-testing memfd drivers/net/bonding iommu cachestat pid_namespace rlimits"
3203+ TARGETS="bpf cgroup mm net net/forwarding net/mptcp net/netfilter net/packetdrill tc-testing memfd drivers/net/bonding iommu cachestat pid_namespace rlimits timens pidfd "
32043204%{make} %{?_smp_mflags} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_CXXFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" ARCH=$Arch V=1 TARGETS="$TARGETS" SKIP_TARGETS="" $force_targets VMLINUX_H="${RPM_VMLINUX_H}"
32053205
32063206# Restore the original level of source fortification
@@ -3626,6 +3626,18 @@ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/pid_namespac
36263626find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/pid_namespace/{} \;
36273627find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/pid_namespace/{} \;
36283628popd
3629+ # install timens selftests
3630+ pushd tools/testing/selftests/timens
3631+ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/timens/{} \;
3632+ find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/timens/{} \;
3633+ find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/timens/{} \;
3634+ popd
3635+ # install pidfd selftests
3636+ pushd tools/testing/selftests/pidfd
3637+ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/pidfd/{} \;
3638+ find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/pidfd/{} \;
3639+ find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/pidfd/{} \;
3640+ popd
36293641%endif
36303642
36313643###
You can’t perform that action at this time.
0 commit comments