Created attachment 1779528 [details]
patch for /usr/lib/kernel/install.d/20-grub.install
Description of problem:
In Fedora 34, the grub menu is generated by blscfg from the files located in /boot/loader/entries/*. I think the "--class fedora" argument is missing for any fedora kernel menu. This can be a problem for grub theming for example, as the fedora icon will not be displayed on the menu.
Adding "grub_class=fedora" in the /boot/loader/entries/*.conf files will solve this issue and icons in grub menu are visible.
Version-Release number of selected component (if applicable):
apply any grub theme
Steps to Reproduce:
1. modify grub theme (using https://github.com/vinceliuice/grub2-themes for example)
3. Check grub menu icons
"--class fedora" is missing in grub.cfg and icons are not visible in grub menu when using a theme.
I known this is a really minor issue (and maybe somehow it's an normal behavior) but I attached a patch for "/usr/lib/kernel/install.d/20-grub.install" that will add the missing argument for the files /boot/loader/<kernel>.conf" when installing new kernel.