This bug was fixed in the package linux-base - 4.5ubuntu3.5
---------------
linux-base (4.5ubuntu3.5) focal; urgency=medium
* Rewrite xx-update-initrd-links to use linux-update-symlinks. This will
now make installkernel behaviour match the linux-image-*.postinst
behaviour exactly with respect to creating & updating vmlinu? and
initrd.img symlinks in / or /boot. LP: #1929255
linux-base (4.5ubuntu3.4) focal; urgency=medium
* Check for update-initramfs being installed before running the postinst
hook which updates the softlinks (LP: #1928700).
linux-base (4.5ubuntu3.3) focal; urgency=medium
* Make the new posinst hook executable (the correct bits were lost when
adding the scripts via debdiff) (LP: #1877088).
linux-base (4.5ubuntu3.2) focal; urgency=medium
[ Stefan Bader ]
* Add kernel postinst hook to update initrd softlinks to match the kernel
version targets (LP: #1877088).
-- Dimitri John Ledkov <[email protected]> Wed, 02 Jun 2021 09:43:06
+0100
** Changed in: linux-base (Ubuntu Focal)
Status: Fix Committed => Fix Released
** Changed in: linux-base (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1928700
Title:
new postinst hook requires initramfs-tools
Status in linux-base package in Ubuntu:
Fix Released
Status in linux-base source package in Bionic:
Fix Released
Status in linux-base source package in Focal:
Fix Released
Status in linux-base source package in Hirsute:
Fix Released
Status in linux-base source package in Impish:
Fix Released
Bug description:
[SRU Justification]
== Impact ==
The new postinst hook from bug 1877088 currently requires initramfs-tools
installed, or installing a kernel would fail. This happens for me on a builder
chroot trying to build linux-meta of a derivative kernel.
== Fix ==
The fix would be to skip running the script if update-initramfs is not
available. The check was taken from the /etc/kernel/postinst.d/initramfs-tools
script which has exactly that check at the beginning.
== Testcase ==
Building linux-meta in a sbuild chroot which should again work without the
messages about verifying links. Reinstalling a kernel on a system with
update-initramfs existing should still print the messages.
== Regression Potential ==
Systems with update-initramfs installed and initrd files might for some
reason again fail to fix missing links.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1928700/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp