README.Debian 2.45 KB
Newer Older
1 2
Linux kernel for Debian
-----------------------
3 4 5

Patches
-------
maximilian attems's avatar
maximilian attems committed
6 7 8
Debian applies small changes to the kernel source. These are split up into
separated patches addressing individual problems. Each of the patch files
contains a description and mentions the author. The patches can be found
9 10 11
in the source package or at
https://sources.debian.org/src/linux/<version>/debian/patches/
(with the package version substituted).
12

13 14 15
Config Files
------------
The .config files used to build the various linux-image files are dynamically
16
generated during the linux package build.  See the source package for
17 18 19
details.  Each linux-image-* package provides the complete .config file that
was used to generate it.  This file is installed in /boot.

20 21 22 23 24 25 26 27 28
Scope of security support
-------------------------
Security support is provided not only for the binary builds, but also
for the full source package, allowing for locally customized kernels.
However, kernel options that are not enabled in official Debian builds are
given a lower priority for security support. Options marked as BROKEN
or EXPERIMENTAL are of very low priority, and should not be enabled in
customized builds for a security-sensitive environment.

29 30 31 32 33 34 35
Building custom kernel binary packages
--------------------------------------
We recommend using the 'make deb-pkg' target provided by the upstream
kernel source.

Rebuilding official binary packages
-----------------------------------
36 37 38 39 40 41 42
You can build specific kernel binary packages using the targets in
debian/rules.gen, which have names of the form:
    binary-arch_<architecture>_<featureset>_<flavour>

Example:
    fakeroot make -f debian/rules.gen binary-arch_i386_none_686

43 44 45 46 47
Rebuilding Adaptec AIC7xxx/79xx firmware
----------------------------------------
You can rebuild the firmware for the Adaptec AIC7xxx/79xx SCSI Adapters. To
do so you need to set AIC7XXX_BUILD_FIRMWARE/AIC79XX_BUILD_FIRMWARE config
options.  Note that this requires to have the development packages for
48
Berkeley Database (libdb-dev) installed.
49 50 51

Non-free bits removed
---------------------
52
See the Files-Excluded field in debian/copyright.
53

54 55 56 57 58 59
Changelog
---------
Older Debian changelog entries are no longer included in binary
packages, but can be found in debian/changelog.old in the source
package.

60 61
Further information
-------------------
62 63 64
Debian Linux Kernel Handbook:
             https://kernel-team.pages.debian.net/kernel-handbook/
             or debian-kernel-handbook package
65
Debian Wiki: https://wiki.debian.org/DebianKernel