09.08.2019 22:40, Michal Suchánek пишет:
On Fri, 09 Aug 2019 17:57:02 +0200 Takashi Iwai
wrote: Hello, Hi,
- The firmware files are split into a bunch of sub-packages (e.g. kernel-firmware-iwlwifi, kernel-firmware-media, etc), so that user can install only a small set of firmware files. Each firmware file is compressed in XZ format, hence these packages are supported only by 5.3 or later kernel. And each package contains Supplements rpm tag for module aliases that are generated from our current and past kernel binaries, so that the sub-package your hardware requires may be installed automatically via zypper install-recommends.
I think importing aliases from different package is fragile and prone to getting outdated. What is the advantage?
I understood it firmware packages should Supplement hardware aliases so firmware is automatically pulled in if matching hardware is present.
Clearly the packages containing kernel modules know their aliases and required firmware at build time, and the firmware packages know the firmware they contain at build time too. So providing/recommending the firmware files should give working drivers so long as a package that contains the firmware is available.
Most drivers are in main kernel package. What is the point of splitting firmware into subpackages if all these subpackages will be pulled in by main kernel anyway?
With the necessity to shuffle data between different packages the thing is going to break, especially if we ever want to use one firmware package on multiple codestreams.
Thanks
Michal
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org