# grub2-mkconfig -o /boot/grub/grub.cfg Generating grub configuration file ... Found linux image: -n basename: invalid option -- 'n' Try 'basename --help' for more information. Changing the hashbang to /bin/bash in /etc/grub.d/10_linux works around the issue. # grub2-mkconfig -o /boot/grub/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.17.3-gentoo Found linux image: /boot/vmlinuz-3.16.3-gentoo done
Upstream fix: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=cdae5bf208f5fa6093fa34c978c5da7b5bbafc54
(In reply to Alexander Tsoy from comment #1) > Upstream fix: > http://git.savannah.gnu.org/cgit/grub.git/commit/ > ?id=cdae5bf208f5fa6093fa34c978c5da7b5bbafc54 Thanks for pointing that out! +*grub-2.02_beta2-r6 (11 Dec 2014) + + 11 Dec 2014; Mike Gilbert <floppym@gentoo.org> +grub-2.02_beta2-r6.ebuild, + -grub-2.02_beta2-r5.ebuild: + Backport patch to remove bashisms in grub-mkconfig, bug 532200 by Rémi + Cardona.
\o/ thanks to both of you!
*** Bug 555700 has been marked as a duplicate of this bug. ***