How to update grub.cfg along with kernel properly?
I have all config in my grub.d set up properly. The output of grub-mkconfig and works fine. When I update the kernel the new entry "Fedora [kernel version]" is added directly to my grub.cfg, on the first place. It seems like the distro is running some script after each kernel update. How can I simply invoke grub-mkconfig instead?