This bug was fixed in the package linux-base - 4.5ubuntu7

---------------
linux-base (4.5ubuntu7) impish; urgency=medium

  * Check for update-initramfs being installed before running the postinst
    hook which updates the softlinks (LP: #1928700).

 -- Stefan Bader <stefan.ba...@canonical.com>  Mon, 17 May 2021 17:55:34
+0200

** Changed in: linux-base (Ubuntu Impish)
       Status: Triaged => 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 Committed
Status in linux-base source package in Focal:
  Fix Committed
Status in linux-base source package in Hirsute:
  Fix Committed
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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to