[Bug 1214789] New: Drop the raw / uncompressed kernel-firmware package
https://bugzilla.suse.com/show_bug.cgi?id=1214789 Bug ID: 1214789 Summary: Drop the raw / uncompressed kernel-firmware package Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: tiwai@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Currently, kernel-firmware repo provides two different ways of packaging: one is the kernel-firmware.rpm that contains all firmware files in raw and uncompressed format, and another is the split of several subpackages with compressed files which are gathered by kernel-firmwre-all.rpm meta package. The former, kernel-firmware.rpm is still provided only for the legacy use cases (the old SLE), and kernel-firmware-all.rpm already has "Provides: kernel-firmware" as the better (much smaller) replacement. Now, we'd like to drop the old big kernel-firmware.rpm finally. But this needs fixing the dependencies in some package or images. As far as I see, the only package that has an explicit use of the uncompressed files is installation-images. This needs the changes to adapt kernel-firmwre-all and handling of compressed files. Also, KIWI images may have requires of kernel-firmware, and that might be a bigger problem. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |tiwai@suse.com CC| |snwint@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c1 --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- FWIW, there have been a few changes about kernel-firmware package: - The multibuild target is swapped; the raw all-in-one package is built with "uncompressed" flavor while the compressed split packages are built as the base one - The kernel-firmware provides kernel-firmware-uncompressed as alias - kernel-firmware-* subpackages have Conflicts against kernel-firmware-uncompressed; it's because they must not coexist, otherwise the kernel may choose the undesired one (basically uncompressed file is chosen at first). - The installation is done with the upstream script, as it supports the compression support - The upstream added "RawFile" attribute in WHENCE, and this made some files installed as uncompressed even in compression mode. (e.g. for small files or amd-ucode) The last change seemed to cause a problem, though. It made kernel-firmware and kernel-firmware-* packages conflicting with its content (both provides the same files). As a workaround, Dominique suggested that kernel-firmware should also have Provides of kernel-firmware-*. Then, if kernel-firmware is used, the dependency for kernel-firmware-* can be solved. OTOH, kernel-firmware-all is installed, it replaces everything. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c4 Eugenio Paolantonio <eugenio.paolantonio@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugenio.paolantonio@suse.co | |m Flags| |needinfo?(snwint@suse.com) --- Comment #4 from Eugenio Paolantonio <eugenio.paolantonio@suse.com> --- After bsc#1218307, the Provides: has been removed, including the one for kernel-firmware-brcm installation-images now fails to resolve both in 15-SP6 and Factory: conflict for providers of kernel-firmware-brcm needed by bcm43xx-firmware, (provider kernel-firmware-brcm conflicts with kernel-firmware) I assume that to avoid catching the same bug again the solution would be to make installation-images depend on kernel-firmware-all instead, right? @Steffen: can this be done for both SP6 and Factory? Thanks in advance -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c5 --- Comment #5 from Takashi Iwai <tiwai@suse.com> --- Yes, it's a better option! -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c6 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Flags|needinfo?(snwint@suse.com) |needinfo?(tiwai@suse.com) --- Comment #6 from Steffen Winterfeldt <snwint@suse.com> --- installation-images has historically these (kernel) firmware dependencies: BuildRequires: adaptec-firmware BuildRequires: bcm43xx-firmware BuildRequires: kernel-firmware BuildRequires: atmel-firmware BuildRequires: ipw-firmware Can this be reduced to simply kernel-firmware resp. (after the transition) kernel-firmware-all? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c7 --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- (In reply to Steffen Winterfeldt from comment #6)
installation-images has historically these (kernel) firmware dependencies:
BuildRequires: adaptec-firmware BuildRequires: bcm43xx-firmware BuildRequires: kernel-firmware BuildRequires: atmel-firmware BuildRequires: ipw-firmware
Can this be reduced to simply kernel-firmware resp. (after the transition) kernel-firmware-all?
AFAIK, all those (except for kernel-firmware) seem to be the non-upstreamed stuff, so they are still needed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c8 --- Comment #8 from Steffen Winterfeldt <snwint@suse.com> --- If I still have to include bcm43xx-firmware then I don't see how to avoid the conflict mentioned in comment 4. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 Dominik Heidler <dheidler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dheidler@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c9 --- Comment #9 from Eugenio Paolantonio <eugenio.paolantonio@suse.com> --- If I understood correctly, bcm43xx-firmware explicitly depends on kernel-firmware-brcm (which is in turn pulled in by kernel-firmware-all as well) so the dependency should be satisfied that way by changing kernel-firmware with kernel-firmware-all. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c10 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(tiwai@suse.com) | --- Comment #10 from Takashi Iwai <tiwai@suse.com> --- Right. bcm43xx-firmware explicitly requires kernel-firmware-brcm, as it contains a symlink to the firmware file included in kernel-firmware-brcm. Hence it'll be broken if kernel-firmware package is used instead. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c11 --- Comment #11 from Steffen Winterfeldt <snwint@suse.com> --- Ok, I'll move to kernel-firmware-all, then. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c12 --- Comment #12 from Steffen Winterfeldt <snwint@suse.com> --- For Tumbleweed: - https://github.com/openSUSE/installation-images/pull/687 Insterestingly, compressed initrd size is down 2.6% - with exactly the same number of firmware blobs included (1834). -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c13 --- Comment #13 from Takashi Iwai <tiwai@suse.com> --- Could you fix for SLE15-SP6 and ALP, too? They take the same kernel-firmware changes, too. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c14 --- Comment #14 from Steffen Winterfeldt <snwint@suse.com> --- Yes, I'm working on it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c15 --- Comment #15 from Steffen Winterfeldt <snwint@suse.com> --- SLE15-SP6: https://github.com/openSUSE/installation-images/pull/688 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c19 --- Comment #19 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2024:2071-1: An update that has six fixes can now be installed. Category: recommended (moderate) Bug References: 1213185, 1213606, 1214789, 1218706, 1221603, 1226047 Maintenance Incident: [SUSE:Maintenance:34213](https://smelt.suse.de/incident/34213/) Sources used: openSUSE Leap 15.6 (src): mksusecd-2.18-150600.3.3.1 Development Tools Module 15-SP6 (src): mksusecd-2.18-150600.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c20 --- Comment #20 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2024:2070-1: An update that has six fixes can now be installed. Category: recommended (moderate) Bug References: 1213185, 1213606, 1214789, 1218706, 1221603, 1226047 Maintenance Incident: [SUSE:Maintenance:34214](https://smelt.suse.de/incident/34214/) Sources used: openSUSE Leap 15.5 (src): mksusecd-2.18-150500.3.3.1 Development Tools Module 15-SP5 (src): mksusecd-2.18-150500.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1214789 https://bugzilla.suse.com/show_bug.cgi?id=1214789#c21 --- Comment #21 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2024:2069-1: An update that has six fixes can now be installed. Category: recommended (moderate) Bug References: 1213185, 1213606, 1214789, 1218706, 1221603, 1226047 Maintenance Incident: [SUSE:Maintenance:34215](https://smelt.suse.de/incident/34215/) Sources used: openSUSE Leap 15.4 (src): mksusecd-2.18-150400.3.18.2 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): mksusecd-2.18-150400.3.18.2 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): mksusecd-2.18-150400.3.18.2 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): mksusecd-2.18-150400.3.18.2 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): mksusecd-2.18-150400.3.18.2 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): mksusecd-2.18-150400.3.18.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com