** 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1928700
Title:
new postinst hook requires initramfs-tools
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1928700/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs