!159 [sync] PR-158: replace fgrep witch grep -F
From: @openeuler-sync-bot Reviewed-by: @robertxw Signed-off-by: @robertxw
This commit is contained in:
commit
5c92a01247
@ -13,7 +13,7 @@ Name: openvswitch
|
|||||||
Summary: Open vSwitch daemon/database/utilities
|
Summary: Open vSwitch daemon/database/utilities
|
||||||
URL: https://www.openvswitch.org/
|
URL: https://www.openvswitch.org/
|
||||||
Version: 2.17.5
|
Version: 2.17.5
|
||||||
Release: 5
|
Release: 6
|
||||||
License: ASL 2.0 and LGPLv2+ and SISSL
|
License: ASL 2.0 and LGPLv2+ and SISSL
|
||||||
|
|
||||||
Source0: https://www.openvswitch.org/releases/%{name}-%{version}.tar.gz
|
Source0: https://www.openvswitch.org/releases/%{name}-%{version}.tar.gz
|
||||||
@ -321,7 +321,7 @@ done
|
|||||||
|
|
||||||
%if %{with dpdk}
|
%if %{with dpdk}
|
||||||
%post dpdk
|
%post dpdk
|
||||||
if fgrep -qw sse4_1 /proc/cpuinfo; then
|
if grep -Fqw sse4_1 /proc/cpuinfo; then
|
||||||
priority=20
|
priority=20
|
||||||
else
|
else
|
||||||
echo "Warning: the CPU doesn't support SSE 4.1, dpdk support is not enabled." >&2
|
echo "Warning: the CPU doesn't support SSE 4.1, dpdk support is not enabled." >&2
|
||||||
@ -426,6 +426,9 @@ fi
|
|||||||
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
|
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 29 2023 zhangpan <zhangpan103@h-partners.com> - 2.17.5-6
|
||||||
|
- replace fgrep witch grep -F
|
||||||
|
|
||||||
* Mon Aug 28 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.17.5-5
|
* Mon Aug 28 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.17.5-5
|
||||||
- sync pulls/150: clean up openswitch group and user
|
- sync pulls/150: clean up openswitch group and user
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user