Fix %post dpdk

f38
Timothy Redaelli 3 years ago
parent 63ef724755
commit b8503265fa

@ -428,6 +428,8 @@ fi
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
%endif
%if %{with dpdk}
%ifarch %{dpdkarches}
%post dpdk
if fgrep -qw sse4_1 /proc/cpuinfo; then
priority=20
@ -442,6 +444,8 @@ fi
if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove ovs-vswitchd %{_sbindir}/ovs-vswitchd.dpdk
fi
%endif
%endif
%files -n python3-openvswitch
%{python3_sitearch}/ovs

Loading…
Cancel
Save