From 0ba87e08ce230f5b1d16946af3c93178167d14fd Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jan 29 2019 00:27:48 +0000 Subject: 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. --- diff --git a/linux-firmware.spec b/linux-firmware.spec index 6f4dd8b..0298e64 100644 --- a/linux-firmware.spec +++ b/linux-firmware.spec @@ -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 20190118-91.gita8b75cac - Latest Intel 9000 series WiFi/Bluetooth firmware