This bug was fixed in the package linux-base - 4.5ubuntu1.6

---------------
linux-base (4.5ubuntu1.6) bionic; 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.5ubuntu1.5) bionic; urgency=medium

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

linux-base (4.5ubuntu1.4) bionic; urgency=medium

  * Make the new posinst hook executable (the correct bits were lost when
    adding the scripts via debdiff) (LP: #1877088).

linux-base (4.5ubuntu1.3) bionic; urgency=medium

  [ Stefan Bader ]
  * Add kernel postinst hook to update initrd softlinks to match the kernel
    version targets (LP: #1877088).

 -- Dimitri John Ledkov <x...@ubuntu.com>  Wed, 02 Jun 2021 09:44:21
+0100

-- 
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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to