Bug#785526: firmware-linux-nonfree: initramfs trigger only rebuilds initdisk of latest kernel
Package: firmware-linux-nonfree
Version: 0.44
Severity: normal
Dear Maintainer,
when the package firmware-linux-nonfree is installed, it triggers the hook of the initramdisk
package. I conclude that some firmware may be needed by the initramfs (which makes sense to me),
and hence it is important to keep the initramfs up-to-date as firmware is updated.
However, only the initramdisk of the latest installed kernel is actually rebuilt:
$ sudo aptitude reinstall firmware-linux-nonfree
The following packages will be REINSTALLED:
firmware-linux-nonfree
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1,616 kB of archives. After unpacking 0 B will be used.
(Reading database ... 435647 files and directories currently installed.)
Preparing to unpack .../firmware-linux-nonfree_0.44_all.deb ...
Unpacking firmware-linux-nonfree (0.44) over (0.44) ...
Setting up firmware-linux-nonfree (0.44) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.1.0-rc2+xhci+
For now I manually called "update-initramfs -k all -u" to make sure all kernels
boot with the latest firmware. That's obviously not a long-term solution. I am
not entirely sure what's going on, but I only see two alternatives:
* It doesn't matter that other kernels still use old firmware. But then, why
is one kernel's initramfs updated? In this case, the trigger should probably
not be triggered anymore.
* It *does* matter that all krnels get the latest firmware. In this case, the bug
is probably in the initramfs-package, as the trigger should really re-build all
the firmwares.
Of coruse, I may also be entirely misunderstanding things here - if that's the case,
feel free to just close this report.
Kind regards,
Ralf
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
firmware-linux-nonfree depends on no packages.
firmware-linux-nonfree recommends no packages.
Versions of packages firmware-linux-nonfree suggests:
ii initramfs-tools 0.120
-- no debconf information
Reply to: