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 is responsible for it and its name, all other files vkpurge removes come from the kernel packages and have the preserve keyword, they are not generated by a separate mechanism. vkpurge is the tool to cleanup the files provided by the kernel and kernel headers packages and run the kernel remove hooks, kernel remove hook delete files they create in kernel install hooks. 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).