Focal:
link_in_boot = yes

# dpkg-query -W linux-base
linux-base      4.5ubuntu3.5

# Two regular flavours
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root       24 Jun 23 11:18 vmlinuz.old -> 
vmlinuz-5.4.0-78-generic
lrwxrwxrwx 1 root root       27 Jun 23 11:18 initrd.img.old -> 
initrd.img-5.4.0-78-generic
lrwxrwxrwx 1 root root       27 Jun 23 11:20 vmlinuz -> 
vmlinuz-5.4.0-78-lowlatency
lrwxrwxrwx 1 root root       30 Jun 23 11:20 initrd.img -> 
initrd.img-5.4.0-78-lowlatency

# selfbuilt
# installkernel 5.13.0-051300rc7-generic 
image/boot/vmlinuz-5.13.0-051300rc7-generic 
modules/boot/System.map-5.13.0-051300rc7-generic
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
5.13.0-051300rc7-generic /boot/vmlinuz-5.13.0-051300rc7-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 
5.13.0-051300rc7-generic /boot/vmlinuz-5.13.0-051300rc7-generic
update-initramfs: Generating /boot/initrd.img-5.13.0-051300rc7-generic
run-parts: executing /etc/kernel/postinst.d/xx-update-initrd-links 
5.13.0-051300rc7-generic /boot/vmlinuz-5.13.0-051300rc7-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-78-lowlatency
I: /boot/initrd.img is now a symlink to initrd.img-5.13.0-051300rc7-generic

# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root       27 Jun 23 11:20 vmlinuz.old -> 
vmlinuz-5.4.0-78-lowlatency
lrwxrwxrwx 1 root root       30 Jun 23 11:23 initrd.img.old -> 
initrd.img-5.4.0-78-lowlatency
lrwxrwxrwx 1 root root       32 Jun 23 11:22 vmlinuz -> 
vmlinuz-5.13.0-051300rc7-generic
lrwxrwxrwx 1 root root       35 Jun 23 11:23 initrd.img -> 
initrd.img-5.13.0-051300rc7-generic

All is good.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929255

Title:
  update-initrd-links creates incorrect symlinks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1929255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to