[Bug 1143959] New: Reduce kernel firmware file installations
http://bugzilla.opensuse.org/show_bug.cgi?id=1143959 Bug ID: 1143959 Summary: Reduce kernel firmware file installations Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: tiwai@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Currently kernel-firmware package contains the full contents of uncompressed files and its footprint is significant large, over 400MB. For reducing this installation size, we can try the following: - Compress firmware files: 5.3 kernel got a new feature to support loading the XZ-compressed firmware files. We can package the compressed files instead of the raw files. - Split kernel-firmware package to several packages: Instead of the all-in-one package, we may split per functionality or such. Some more details: * We still need to provide the plain kernel-firmware package for compatibility with the older kernels and older releases. The new split-and-compress packages will be a multibuild or such one. * A new package, kernel-firmware-all, contains only Requires of all f/w subpackages. And this contains the following tags: Provides: kernel-firmware = %{version} Obsoletes: kernel-firmware <= %{version} Conflicts: kernel < 5.3 so that it'll replace the old kernel-firmware once when the system has only new kernels that support the compressed format. * kernel-$binary.spec contains currently "Recommends: kernel-firmware", and this will be dropped. Instead, we provide Supplements: modalias(...) in each f/w subpackage. The problem of Supplements was that we generated the list dynamically at the package build time from the kernel-binary RPMs in the same project. This depends on the architecture and the config at the moment, so it would be incomplete or broken for other releases. The new approach I'm thinking is to provide a static mapping in the package, and the mapping is updated manually (or semi-automatically) at each kernel package update. A script to generate / update the mapping is provided in kernel-firmware package. Also, this would require the changes in install patterns. We may keep kernel-firmware-all at start, then drop the Recommends, and change to the minimalistic subpackages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143959
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1143959
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1143959
Frank Kruger
participants (1)
-
bugzilla_noreply@novell.com