add in RHEL conditional for removed fcoe.ko support
This commit is contained in:
parent
a245371706
commit
957367e7d7
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: fcoe-utils
|
Name: fcoe-utils
|
||||||
Version: 1.0.33
|
Version: 1.0.33
|
||||||
Release: 4.git%{shortcommit0}%{?dist}
|
Release: 5.git%{shortcommit0}%{?dist}
|
||||||
Summary: Fibre Channel over Ethernet utilities
|
Summary: Fibre Channel over Ethernet utilities
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://www.open-fcoe.org
|
URL: http://www.open-fcoe.org
|
||||||
@ -35,6 +35,12 @@ fcoemon - service to configure DCB Ethernet QOS filters, works with lldpad
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n fcoe-utils-%{commit0}
|
%autosetup -p1 -n fcoe-utils-%{commit0}
|
||||||
|
%if 0%{?rhel} >= 8
|
||||||
|
# RHEL dropped support for software fcoe (fcoe.ko)
|
||||||
|
sed -i 's/^\(SUPPORTED_DRIVERS\)=".*"$/\1="bnx2fc qedf"/' etc/config
|
||||||
|
# make the defaults sane for supported offload drivers
|
||||||
|
sed -i 's/^\(DCB_REQUIRED\)=".*"$/\1="no"/' etc/cfg-ethx
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
@ -73,6 +79,9 @@ done
|
|||||||
%{_libexecdir}/fcoe/
|
%{_libexecdir}/fcoe/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 02 2021 Chris Leech <cleech@redhat.com> - 1.0.33-5.git848bcc6
|
||||||
|
- add in RHEL conditional for removed fcoe.ko support
|
||||||
|
|
||||||
* Mon Feb 01 2021 Chris Leech <cleech@redhat.com> - 1.0.33-4.git848bcc6
|
* Mon Feb 01 2021 Chris Leech <cleech@redhat.com> - 1.0.33-4.git848bcc6
|
||||||
- drop any differences with upstream service and config files
|
- drop any differences with upstream service and config files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user