Summary: | sys-kernel/gentoo-kernel - copy .config from /usr/src/linux | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | C. Wijtmans <cj.wijtmans> |
Component: | Current packages | Assignee: | Distribution Kernel Project <dist-kernel> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
C. Wijtmans
2023-07-12 14:24:25 UTC
We already support 3 different config sources (savedconfig, drop-ins and default config). Adding fourth option would only add more confusion. Use a symlink. what do you mean by "drop-ins" and "default config"? And how would i use the symlink? The whole point is i dont want to run a copy command everytime. Do i make a symlink in savedconfig to /usr/src/linux then use the savedconfig flag? Please see the options listed at https://wiki.gentoo.org/wiki/Project:Distribution_Kernel. (Note that you don't need to copy it every time for savedconfig, you can just use the filename 'gentoo-kernel'.) So if I did `ln -s /etc/portage/savedconfig/sys-kernel/gentoo-kernel /usr/src/kernel/.config` it would copy .config on emerge with `USE=saveconfig` right? Maybe a trick to add to the documentation page? `/etc/kernel/config.d` seems useful to but not what i was looking for. So if I did `ln -s /usr/src/linux/.config /etc/portage/savedconfig/sys-kernel/gentoo-kernel` it would copy .config on emerge with `USE=savedconfig` right? Maybe a trick to add to the documentation page? `/etc/kernel/config.d` seems useful to but not what i was looking for. |