[ebuild R ] sys-boot/grub-2.00_p5107-r2:2 USE="device-mapper multislot nls -custom-cflags -debug -doc -efiemu (-libzfs) -mount -sdl -static {-test} -truetype" GRUB_PLATFORMS="pc -coreboot -efi-32 -efi-64 -emu -ieee1275 -multiboot -qemu -qemu-mips -yeeloong" 0 kB windowlicker ~ # ls /boot/ System.map-genkernel-debug-x86_64-3.16.1-gentoo-debug kernel-genkernel-debug-x86_64-3.16.1-gentoo-debug System.map-genkernel-recovery-x86_64-3.16.1-gentoo-recovery kernel-genkernel-recovery-x86_64-3.16.1-gentoo-recovery System.map-genkernel-vanilla-x86_64-3.16.1-gentoo-vanilla kernel-genkernel-vanilla-x86_64-3.16.1-gentoo-vanilla System.map-genkernel-x86_64-3.12.21-gentoo-r1 kernel-genkernel-x86_64-3.12.21-gentoo-r1 System.map-genkernel-x86_64-3.15.3-gentoo kernel-genkernel-x86_64-3.15.3-gentoo System.map-genkernel-x86_64-3.15.5-gentoo kernel-genkernel-x86_64-3.15.5-gentoo grub lost+found initramfs-genkernel-debug-x86_64-3.16.1-gentoo-debug xen-4.3.2.gz initramfs-genkernel-recovery-x86_64-3.16.1-gentoo-recovery xen-4.3.gz initramfs-genkernel-vanilla-x86_64-3.16.1-gentoo-vanilla xen-4.gz initramfs-genkernel-x86_64-3.12.21-gentoo-r1 xen-syms-4.3.2 initramfs-genkernel-x86_64-3.15.3-gentoo xen.gz initramfs-genkernel-x86_64-3.15.5-gentoo windowlicker ~ # windowlicker ~ # grub2-mkconfig > /boot/grub/grub.cfg Generating grub.cfg ... Found linux image: /boot/kernel-genkernel-x86_64-3.15.5-gentoo Found initrd image: /boot/initramfs-genkernel-x86_64-3.15.5-gentoo Found linux image: /boot/kernel-genkernel-x86_64-3.15.3-gentoo Found initrd image: /boot/initramfs-genkernel-x86_64-3.15.3-gentoo Found linux image: /boot/kernel-genkernel-x86_64-3.12.21-gentoo-r1 Found initrd image: /boot/initramfs-genkernel-x86_64-3.12.21-gentoo-r1 Found linux image: /boot/kernel-genkernel-vanilla-x86_64-3.16.1-gentoo-vanilla Found linux image: /boot/kernel-genkernel-recovery-x86_64-3.16.1-gentoo-recovery Found linux image: /boot/kernel-genkernel-debug-x86_64-3.16.1-gentoo-debug done windowlicker ~ # It did not detect the following: initramfs-genkernel-debug-x86_64-3.16.1-gentoo-debug initramfs-genkernel-recovery-x86_64-3.16.1-gentoo-recovery initramfs-genkernel-vanilla-x86_64-3.16.1-gentoo-vanilla possibly due to the naming, which is being done with both KNAME in the genkernel.conf and with (General setup -> () Local version - append to kernel release): This seems related: https://bugs.gentoo.org/show_bug.cgi?id=521774 Reproducible: Always
It seems silly to build-in in support for every possible way you could name your kernel. If you want to use crazy names, then write your own menu entries for them.
Hi there! well actually those "crazy" names are genkernel's doing. Seems to suggest they're not so crazy, but ok! I'll cross reference this from the other bug because I kind of agree, genkernel's way of handling the KNAME is kinda wrong.
(In reply to Paige Thompson from comment #2) > well actually those "crazy" names are genkernel's doing. Seems to suggest > they're not so crazy, but ok! I'll cross reference this from the other bug > because I kind of agree, genkernel's way of handling the KNAME is kinda > wrong. Frankly, I think genkernel is silly (or "crazy") for sticking "-genkernel-" in all the file names; we already have special code in /etc/grub.d/10_linux to deal with that. If you still think there is a bug in the grub stuff after that genkernel bug gets resolved, feel free to reopen this.