New comment by Duncaen on void-packages repository https://github.com/void-linux/void-packages/pull/32493#issuecomment-898961775 Comment: `/lib` is a symlink to `/usr/lib`. The installed initramfs tool generates the initramfs file and therefor is responsible for it and its name. This happens in the kernel.d `{pre,post}-install` hooks, it makes a lot of sense to also use the `{pre,post}-remove` hooks to remove those fails again. vkpurge is the tool to cleanup the files provided by the kernel and kernel headers packages and run the kernel remove hooks, not guess what files the kernel hooks could have created, for what its worth, they could generate initramfs-${version}.cpio or add a compression suffix or whatever. dracut already deletes the file in its hook and so does mkinitcpio: `/etc/kernel.d/post-remove/20-dracut` (https://github.com/void-linux/void-packages/blob/master/srcpkgs/dracut/files/kernel-hook-postrm).