Put Cavium LiquidIO in it's own sub package
At the moment the Cavium LiquidIO drivers aren't built in the Fedora kernel and take up a reasonable amount of space. Ship them in their own sub package so if someone builds them into their own kernel the firmware is still available.
This commit is contained in:
parent
0ba87e08ce
commit
ff6920ab21
@ -270,6 +270,13 @@ Requires: linux-firmware-whence
|
||||
%description -n libertas-sd8787-firmware
|
||||
Firmware for Marvell Libertas SD 8787 Network Adapter
|
||||
|
||||
%package -n liquidio-firmware
|
||||
Summary: Firmware for Cavium LiquidIO Intelligent Server Adapter
|
||||
License: Redistributable, no modification permitted
|
||||
Requires: linux-firmware-whence
|
||||
%description -n liquidio-firmware
|
||||
Firmware for Cavium LiquidIO Intelligent Server Adapter
|
||||
|
||||
%package -n netronome-firmware
|
||||
Summary: Firmware for Netronome Smart NICs
|
||||
License: Redistributable, no modification permitted
|
||||
@ -317,6 +324,7 @@ sed -i -e '/^iwlwifi/d' \
|
||||
-i -e '/^libertas\/sd8686/d' \
|
||||
-i -e '/^libertas\/usb8388/d' \
|
||||
-i -e '/^mrvl\/sd8787/d' \
|
||||
-i -e '/^liquidio/d' \
|
||||
-i -e '/^netronome/d' \
|
||||
linux-firmware.files
|
||||
sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs}
|
||||
@ -422,6 +430,11 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
|
||||
%dir %{_firmwarepath}
|
||||
%license LICENCE.* LICENSE.*
|
||||
|
||||
%files -n liquidio-firmware
|
||||
%license LICENCE.cavium_liquidio
|
||||
%dir %{_firmwarepath}/liquidio
|
||||
%{_firmwarepath}/liquidio/*
|
||||
|
||||
%files -n netronome-firmware
|
||||
%license LICENCE.Netronome
|
||||
%dir %{_firmwarepath}/netronome
|
||||
|
Loading…
Reference in New Issue
Block a user