** Description changed: - 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. + [SRU Justification] - The fix would be to skip running the script if update-initramfs is not - available. + == 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.
** Changed in: linux-base (Ubuntu Bionic) Assignee: (unassigned) => Stefan Bader (smb) ** Changed in: linux-base (Ubuntu Focal) Assignee: (unassigned) => Stefan Bader (smb) ** Changed in: linux-base (Ubuntu Hirsute) Assignee: (unassigned) => Stefan Bader (smb) ** Changed in: linux-base (Ubuntu Impish) Assignee: (unassigned) => Stefan Bader (smb) -- 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: Triaged Status in linux-base source package in Bionic: Triaged Status in linux-base source package in Focal: Triaged Status in linux-base source package in Hirsute: Triaged Status in linux-base source package in Impish: Triaged 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