adjust_kernel_headers maintains symbolic links which are used to
select one of the available versions of kernel headers as the default
kernel headers for the system.
Initially kernel headers selection is performed in the automatic
mode. In this mode, when adjust_kernel_headers is called
without parameters, it selects headers which match the running kernel;
if such headers are not available, headers from the
glibc-kernheaders package will be selected. This adjustment is
performed by the kheaders service at every system startup, and
also by installation scripts of packages with kernel headers.
If such automatic adjustment is not desired, the system administrator
may switch kernel headers selection to the manual mode. In this
mode adjust_kernel_headers called without parameters will not
select a different version of headers, unless the manually selected
version is no longer available (in which case it will switch to the
automatic mode).
OPTIONS
--list
Show all available versions of kernel headers.
--auto
Switch kernel headers selection to the automatic mode and select the
appropriate headers.
--first
Switch kernel headers selection to the manual mode and choose the first
kernel version in the alphabetic order from the installed kernel
headers.
--help
Display help screen.
--version
Display version information.
kernel-version
Switch kernel headers selection to the manual mode and select the
specified version.
FILES
/etc/sysconfig/kernel/include
Symbolic link to the real location of kernel headers which is updated by
adjust_kernel_headers.
/etc/sysconfig/kernel/include_manual_mode
The existence of this file indicates the manual mode.