Hirsute:
link_in_boot = yes

# dpkg-query -W linux-base
linux-base      4.5ubuntu5.2
# Two regular flavours
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root       25 Jun 23 10:46 vmlinuz.old -> 
vmlinuz-5.11.0-23-generic
lrwxrwxrwx 1 root root       28 Jun 23 10:46 vmlinuz -> 
vmlinuz-5.11.0-23-lowlatency
lrwxrwxrwx 1 root root       28 Jun 23 10:49 initrd.img.old -> 
initrd.img-5.11.0-23-generic
lrwxrwxrwx 1 root root       31 Jun 23 10:48 initrd.img -> 
initrd.img-5.11.0-23-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.11.0-23-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       28 Jun 23 10:46 vmlinuz.old -> 
vmlinuz-5.11.0-23-lowlatency
lrwxrwxrwx 1 root root       31 Jun 23 10:52 initrd.img.old -> 
initrd.img-5.11.0-23-lowlatency
lrwxrwxrwx 1 root root       32 Jun 23 10:52 vmlinuz -> 
vmlinuz-5.13.0-051300rc7-generic
lrwxrwxrwx 1 root root       35 Jun 23 10:52 initrd.img -> 
initrd.img-5.13.0-051300rc7-generic

-- 
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