Bug 1329918

Summary: more fine-graned subpackages
Product: [Fedora] Fedora Reporter: Jan Včelák <jv+fedora>
Component: linux-firmwareAssignee: David Woodhouse <dwmw2>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dwmw2, jforbes, kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 12:21:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Včelák 2016-04-24 22:11:44 UTC
Description of problem:

Currently the linux-firmware package splits only the firmware files for some Intel and Marvel network adapters into subpackages. All other firmware files are in the main package which is really huge. Most of the systems will probably need just a few firmware files.

Can the main package be split some more?

Here is an example for an Intel Bluetooth device in my laptop:

% modinfo btintel | grep firmware
firmware:       intel/ibt-11-5.ddc
firmware:       intel/ibt-11-5.sfi
% rpm -qf /usr/lib/firmware/intel/ibt-11-5.sfi
linux-firmware-20160204-61.git91d5dd13.fc24.noarch
% rpm -q --qf "%{name}: %{size}\n" linux-firmware 
linux-firmware: 98177490
% du -c /usr/lib/firmware/intel/ibt-* 
4	/usr/lib/firmware/intel/ibt-hw-37.7.bseq
24	/usr/lib/firmware/intel/ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
28	/usr/lib/firmware/intel/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
24	/usr/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
28	/usr/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
4	/usr/lib/firmware/intel/ibt-hw-37.8.bseq
32	/usr/lib/firmware/intel/ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
40	/usr/lib/firmware/intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
32	/usr/lib/firmware/intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
4	/usr/lib/firmware/intel/ibt-11-5.ddc
560	/usr/lib/firmware/intel/ibt-11-5.sfi
780	total

That's 93 MB installed vs 0.76 MB needed.

Version-Release number of selected component (if applicable):
linux-firmware-20160204-61.git91d5dd13.fc24.noarch

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Josh Boyer 2016-04-25 12:21:35 UTC
(In reply to Jan Včelák from comment #0)
> Description of problem:
> 
> Currently the linux-firmware package splits only the firmware files for some
> Intel and Marvel network adapters into subpackages. All other firmware files
> are in the main package which is really huge. Most of the systems will
> probably need just a few firmware files.
> 
> Can the main package be split some more?

Thank you for the report.

The intel and marvell firmware packages are split out because they were originally all stand-alone packages that were folded into the main linux-firmware SRPM.

We are not looking to split linux-firmware up any further, as it is tedious to maintain lots of subpackages all with their own versioning.