Move netronome firmware to a dedicated sub package

The netronome firmware currently equates to around 100Mb which is about
25% of the current total size of the actual firmware in linux-firmware.
It's also increasing in size overall quite a bit. Being a high end
Smart NIC that is basically a linux instance to offload eBPF to the NIC
itself it also has quite a small user base.
This commit is contained in:
Peter Robinson 2019-01-29 00:27:48 +00:00
parent 734797568b
commit 0ba87e08ce

View File

@ -270,6 +270,13 @@ Requires: linux-firmware-whence
%description -n libertas-sd8787-firmware
Firmware for Marvell Libertas SD 8787 Network Adapter
%package -n netronome-firmware
Summary: Firmware for Netronome Smart NICs
License: Redistributable, no modification permitted
Requires: linux-firmware-whence
%description -n netronome-firmware
Firmware for Netronome Smart NICs
%prep
%autosetup -p1 -n linux-firmware-%{checkout}
@ -310,6 +317,7 @@ sed -i -e '/^iwlwifi/d' \
-i -e '/^libertas\/sd8686/d' \
-i -e '/^libertas\/usb8388/d' \
-i -e '/^mrvl\/sd8787/d' \
-i -e '/^netronome/d' \
linux-firmware.files
sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs}
sed -i -e 's/^/"/;s/$/"/' linux-firmware.files
@ -414,6 +422,11 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
%dir %{_firmwarepath}
%license LICENCE.* LICENSE.*
%files -n netronome-firmware
%license LICENCE.Netronome
%dir %{_firmwarepath}/netronome
%{_firmwarepath}/netronome/*
%changelog
* Tue Jan 22 2019 Peter Robinson <pbrobinson@fedoraproject.org> 20190118-91.gita8b75cac
- Latest Intel 9000 series WiFi/Bluetooth firmware