Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864897 - sys-kernel/gentoo-kernel feature request: change installation file name
Summary: sys-kernel/gentoo-kernel feature request: change installation file name
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 11:00 UTC by Volker Wegert
Modified: 2024-08-30 19:54 UTC (History)
2 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 Volker Wegert 2022-08-11 11:00:20 UTC
In my genkernel setup, I'm using KERNEL_FILENAME and KERNEL_SYMLINK_FILENAME to change the names of the files installed to /boot (reason: a "production" and a "maintenance" installation sharing the same boot partition - this is used to keep the files separated). I would like to move from genkernel to distribution kernels for easier maintenance, but I'm missing this feature. Would it be possible to add it?

Reproducible: Always




forum discussion for reference: https://forums.gentoo.org/viewtopic-p-8736965.html#8736965
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-13 15:43:44 UTC
I suspect you can configure installkernel somehow to do this.
Comment 2 Nowa Ammerlaan gentoo-dev 2024-08-30 19:54:55 UTC
Two ways this could be done:
- A hook for sys-kernel/installkernel as sam suggested, this could recognize the KERNEL_FILENAME and KERNEL_SYMLINK_FILENAME environment variables and rename the just-installed kernel accordingly, or
- Compiling two different kernels with a different value for CONFIG_LOCALVERSION, the LOCALVERSION is appended to the regular kernel version and is respected by sys-kernel/installkernel.

IMO this level of customization does not need an ebuild/eclass solution and it is already possible to do this. So I feel this is a WONTFIX.