Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927035 - sys-kernel/gentoo-sources-6.8.0 + sys-kernel/genkernel KERNEL_FILENAME config not used when copying files to /boot
Summary: sys-kernel/gentoo-sources-6.8.0 + sys-kernel/genkernel KERNEL_FILENAME config...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 21:09 UTC by Oliver
Modified: 2024-03-20 16:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver 2024-03-14 21:09:29 UTC
starting with gentoo-sources-6.8.0, genkernel (4.3.10) does copy the kernel and System.map to /boot but without renaming it to its default (or explicitly set) values e.g. for the kernel it should be:

KERNEL_FILENAME="vmlinuz-%%KV%%" (as found in /etc/genkernel.conf)

That should result in a kernel at /boot/vmlinuz-6.8.0-gentoo, however it will  copy to just /boot/vmlinuz.

If i revert back to gentoo-sources-6.7.9 it works as intended giving me /boot/vmlinuz-6.7.9-gentoo

this breaks other scripts relying on propper naming of the kernel after install by genkernel.
Comment 1 Oliver 2024-03-20 14:31:34 UTC
Same issue with gentoo-sources-6.8.1. Still staying with 6.7.9 which works for now.
Comment 2 Vldb 2024-03-20 15:29:08 UTC
Building gentoo-source via "make" has the same problem. The kernel is not installed properly.
Comment 3 Vldb 2024-03-20 15:51:22 UTC
Install installkernel - this solved the problem in my case
Comment 4 Oliver 2024-03-20 16:45:14 UTC
yes installkernel was missing. thx!
Comment 5 Oliver 2024-03-20 16:52:44 UTC
origin was:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80df7c19177b8333aae4e986a7fffb9d0a657b25

sys-apps/debianutils: drop installkernel use flag

was actually in the gentoo news items. My bad. closing.