sys-boot/grub recently [1] disabled default set multislot USE flag. Now we have the problem that genkernel can no longer use grub2-mkconfig: > [...] > * lvm: >> Using cache > * >> Appending luks cpio data... > * Including LUKS support > * >> Appending modules cpio data... > * >> Appending blkid cpio data... > * >> Appending modprobed cpio data... > * >> Appending linker cpio data... > * >> Finalizing cpio... > * >> Compressing cpio data (.xz)... > * You can customize Grub2 parameters in /etc/default/grub. > * Running grub2-mkconfig to create /boot/grub/grub.cfg... > * ERROR: grub2-mkconfig failed Keep in mind that genkernel now must check for grub-mkconfig AND grub2-mkconfig to support both configuration or must require sys-boot/grub[multislot]. [1] https://www.gentoo.org/support/news-items/2016-08-11-grub2_multislot_default.html
Created attachment 443242 [details] fix-grub2.patch This patch should take care of the issue. Thanks, William
Updating summary to reflect that this is broken for a long time if an user had already disabled multislot USE flag on his/her own. However it looks like nobody did that and now because of the changed default in the grub package (but only when you have enabled automatic bootloader update within genkernel.conf)... William's patch works for me.
In irc, I commented that this might need to go straight to stable, but I'm not sure that is so important now since automatic bootloader configuration isn't on by default.
InGit.
*** Bug 591216 has been marked as a duplicate of this bug. ***