Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565278 - sys-kernel/genkernel - kernel config made easy
Summary: sys-kernel/genkernel - kernel config made easy
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
Depends on:
Reported: 2015-11-09 18:25 UTC by Lagu
Modified: 2020-08-01 13:11 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-11-09 18:25:43 UTC
Hi, here a feature request.

The idea basically is can use a little file with the configuration we want for the kernel.

When we config the kernel normaly we don't change all the options, only the options we need and use the other in the default value, but with the upgrades we most start selecting again all the options, so can use a little file with the options we want and obviously it need check the features and the deprecated features for can update the options.

Comment 1 Tomáš Mózes 2015-11-09 20:00:46 UTC
Good idea, I like it.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-15 10:15:24 UTC
I don't understand that feature request.

Put all your options you want in /root/my-kernel-options.conf. Now call genkernel with "--kernel-config=/root/my-kernel-options.conf". It will start building kernel with your provided "snippet" and thanks to "make oldconfig" magic, missing (but available) options will be added.

The problem are features which are normally not enabled and have other requirements: I.e. an option currently not even present as "not set" in config because it's unavailable due to missing requirements, can't be enabled that way.

When I implemented I wished there was a feature like that: Tell that something I want CONFIG_FOO and that something will enable CONFIG_FOO with everything needed for CONFIG_FOO.