In the Wiki page on the Distribution Kernel, in the section on Installation, it says:
, which links to the Gentoo AMD64 Handbook, in the chapter on Configuring the kernel, in the section on Kernel selection, where it says:It is possible to use a hook in /etc/kernel/*.d/ to automatically update other bootloaders or run arbitrary commands at the point of kernel installation. See the AMD64 Handbook for more details.
, which links to the project page for the Distribution Kernel.It is possible provide a custom kernel configuration file if customization is necessary.
Furthermore, in the section on Distribution kernels, it says:
,which (again) links to the project page for the Distribution Kernel.Distribution kernels default to a configuration supporting the majority of hardware, however two mechanisms are offered for customization: savedconfig and config snippets. See the project page for more details on configuration.
Looking at the project page for the Distribution Kernel, it says:
, which links to the Wiki page for the Distribution Kernel, which contains the quote at the top of this post.User documentation — a (semi-)automatic way of configuring, building and installing kernels with the package manager
Nowhere, in any of these three pages does it tell how to do what is mentioned in this quote, and the best that I can tell (from examining the histories of all three pages), none of them have ever contained this information.
I believe this is what is referred to as “circular references”.
Could someone please tell me how using hooks in /etc/kernel/*.d/ works (and, please, fix the appropriate wiki article(s)).


