I ran `genkernel --menuconfig --firmware all` and when it completed, it printed: * If you require Genkernel's hardware detection features, you MUST * tell your bootloader to use the provided initramfs file (/var/tmp/genkernel/initramfs-genkernel-x86_64-5.2.1-gentoo). I believe that the /var/tmp/genkernel/initramfs-genkernel-x86_64-5.2.1-gentoo path is incorrect and instead should be /boot/initramfs-genkernel-x86_64-5.2.1-gentoo, also /var/tmp/genkernel/initramfs-genkernel-x86_64-5.2.1-gentoo should be removed after installation, otherwise it will be one more place to check when removing old kernels. Reproducible: Always Steps to Reproduce: 1. emerge '=sys-kernel/gentoo-sources-5.2.1' 2. eselect kernel set linux-5.2.1-gentoo 3. genkernel --menuconfig --firmware all Actual Results: After successful installation, genkernel prints: * If you require Genkernel's hardware detection features, you MUST * tell your bootloader to use the provided initramfs file (/var/tmp/genkernel/initramfs-genkernel-x86_64-5.2.1-gentoo). * WARNING... WARNING... WARNING... * Additional kernel parameters that *may* be required to boot properly: * * With support for several ext* filesystems available, it may be needed to * add "rootfstype=ext3" or "rootfstype=ext4" to the list of boot parameters. * Do NOT report kernel bugs as genkernel bugs unless your bug * is about the default genkernel configuration... * * Make sure you have the latest ~arch genkernel before reporting bugs. Expected Results: Genkernel should print: * If you require Genkernel's hardware detection features, you MUST * tell your bootloader to use the provided initramfs file (/boot/initramfs-genkernel-x86_64-5.2.1-gentoo). * WARNING... WARNING... WARNING... * Additional kernel parameters that *may* be required to boot properly: * * With support for several ext* filesystems available, it may be needed to * add "rootfstype=ext3" or "rootfstype=ext4" to the list of boot parameters. * Do NOT report kernel bugs as genkernel bugs unless your bug * is about the default genkernel configuration... * * Make sure you have the latest ~arch genkernel before reporting bugs. and remove /var/tmp/genkernel/initramfs-genkernel-x86_64-5.2.1-gentoo
Confirmed. Only happens when no bootloader was used. In this case we need to use $BOOTDIR.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=323c9f71d7d8255ac104bc1066e292e3f69c4a92 commit 323c9f71d7d8255ac104bc1066e292e3f69c4a92 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-07-16 11:29:49 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-07-16 12:15:54 +0000 genkernel: Use $BOOTDIR in msg regarding genkernel hardware detection feature Bug: https://bugs.gentoo.org/689950 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> genkernel | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
beta4 is now available, thank you for the report.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=84367a16cd13999842f58a48a3e66e8ed8f76507 commit 84367a16cd13999842f58a48a3e66e8ed8f76507 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-07-23 19:12:21 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-07-23 19:14:14 +0000 genkernel: Fix initramfs location in msg regarding genkernel hardware detection feature The fix for bug 689950 was incomplete: Sometimes, $TMPDIR is correct. Fixes 323c9f71d7 ("genkernel: Use $BOOTDIR in msg regarding genkernel hardware detection feature") Bug: https://bugs.gentoo.org/689950 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> genkernel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)