Testing again, but without initramfs-tools installed, and with kernel-
img.conf set to do_initrd = yes and link_in_boot = no

End result is this:

# ls -l /vmlinu* /initrd.img* /boot/initrd.img*
ls: cannot access '/boot/initrd.img*': No such file or directory
lrwxrwxrwx 1 root root 53 May 28 10:30  /initrd.img -> 
boot/initrd.img-5.13.0-051300rc3daily20210526-generic
lrwxrwxrwx 1 root root 50 May 28 10:30  /vmlinuz -> 
boot/vmlinuz-5.13.0-051300rc3daily20210526-generic
lrwxrwxrwx 1 root root 33 May 28 10:30  /vmlinuz.old -> 
boot/vmlinuz-5.11.0-16-lowlatency

initrd.img symlink from / is a dangling one.
/vmlinuz* are correctly updated.
initrd.img.old is not existant.

This confirms that the revised postin.d snippet is working correctly and
it doesn't matter if it is ordered before or after generating initrd.

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