I’d like to know if there’s something wrong on my side or not.
I have eos-dracut installed and when I check for some hook :
yay -F /usr/share/libalpm/hooks/60-dracut-remove.hook
usr/share/libalpm/hooks/60-dracut-remove.hook is owned by endeavouros/eos-dracut 1.7-1
usr/share/libalpm/hooks/60-dracut-remove.hook is owned by extra/dracut 109-1
they should be installed, but they’re not :
yay -Ql dracut | grep hook
gives nothing, on the other hand no problem with dracut from extra repo :
First a clarification. eos-dracut is a different package than the dracut package in the EOS repos.
The dracut package in the EOS repo does not have the hooks and should not have the hooks. If our package had those hooks, it would break initramfs generation in EOS. eos-dracut is a package that only has the hooks and scripts used for automation when using grub.
Can you explain the challenge you are trying to overcome here? Also, are you using grub or systemd-boot in EOS.
My bad, I use Grub, after uninstalling a kernel, I noticed the boot image was still there, but it should have been removed by the hook. I thought the hooks were in the dracut package, but they were in eos-dracut.
I’ll have to test a kernel install/uninstall to see if the problem remains.