"Funtoo boot-update provides a unified mechanism for configuring the GRUB 1.9x (sys-boot/grub) and GRUB 0.97 (sys-boot/grub-legacy) boot loaders. It is the recommended, official way to configure Funtoo Linux systems for booting."
I don't know, if it will work out of the box on gentoo and to be honest I haven't tried it yet, but it would be great to see it included in Gentoo's main tree.
I have an older ebuild in my overlay, but I don't really use it. I prefer to write my grub2 config by hand.
I might work on this again if I get bored.
Created attachment 338538 [details]
Ebuild for version 1.6.11
Created attachment 338540 [details]
patch for files dir for above ebuild
This is patch to make the boot-update compatible with gentoo.
it have to be put into Files directory