---
name: "kernel-img.conf"
section: "5"
platform: "linux"
package: "linux-base"
version: "4.12.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kernel-img.conf"
---

# kernel-img.conf(5)

configuration file for Linux kernel packages

## NAME

kernel-img.conf - configuration file for Linux kernel packages

## SYNOPSIS

*/etc/kernel-img.conf*

## DESCRIPTION

The file */etc/kernel-img.conf* is used by the kernel package installation and removal process to allow local options for handling some aspects of the installation.

Not all kernel image package creators support this file:

| | |
| --- | --- |
| **Package creator** | **Status** |
| Debian linux source package | supported |
| Ubuntu linux source package | supported |
| make deb-pkg | ignored |

The format of the file is a simple *VAR***=***VALUE* pair. Boolean values may be specified as *Yes*, *True*, *1*, and *No*, *False*, *0*, and are case insensitive. This file is automatically created by the installation script in certain circumstances.

At the moment, the user modifiable variables supported are:

- **do\_symlinks**

  If set, the postinst and postrm scripts will maintain symlinks to default kernel and initramfs images, as described in *linux-update-symlinks*(8).  This variable is set by default.

- **image\_dest**

  Set this variable to the directory in which symlinks to the default kernel and initramfs images should be maintained.  The default value is */*.

- **link\_in\_boot**

  If set, this has the same effect as *image\_dest = /boot* and overrides any other setting of **image\_dest**.  This variable is unset by default.

## FILES

The file described here is */etc/kernel-img.conf*.

## SEE ALSO

**linux-update-symlinks**(8)

## AUTHOR

This manual page was written by Manoj Srivastava \<srivasta@debian.org\> and Ben Hutchings \<benh@debian.org\> for the Debian GNU/Linux system.
