linux/debian
Ben Hutchings 02fdeb292b Release linux (4.2.5-1).
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAVjAU8ee/yOyVhhEJAQo2sA//dfO7oH83XcApXVgNz6P4ASMdTazyJWAP
 QIgO1trx81MRE1OWIyOfqUWyorD+Qu8FVR7yTj6BWufX3QkobBK47oQ6Ynk4axde
 wYGDC5gVQKHEhDQWHUgyz2rqhQ92h6h4MFOrOe0gDUjPaStwC/HvB6J4jU9RRznB
 S/6lMr74xOQmnVjcX//HFH8OT498MeFoY04NG77OkBRn4f/E1DhZIp5N3//cVzEk
 A8oj1HlW4FhCAHekA5yqBGYvfr0X5m5t5Z8Ax4MJCwM2Hb3JLO7Ev0sjpPevHriY
 w+Vqj4MB1Sk76TFzr74KI4Z+EKeTYQNpCLb6Q81ua068CMII/ppMTA1gEGVPjfsQ
 E+OPFl0V+zQGMid/wwLLvp7RhVUiw2IQgvq6JrVlwNCOBgMsJFcMRD1HlA6B4fAO
 W2VgvjSGsYOTSEU7Ks8Oy0NR4ZHsBG3L19QHhfKcFY0aiweJ6XHLvSTS7QXGbqCy
 WzqSOy1eWbglj4jvH/9sOdtwdMlxHusSPXExSecknGITadqqE17Vy1hr1LGqsyvm
 qTGHWzc0unI3fF9bTg6HVC/h1bnihBIq5mJZBydc67jxDXPHuCBAs1bB63IiUQcu
 EeZadxsg7zs4hnZS91HrH71WdRo8oprhb7qzG3yLPErf6VFQ3Bkdg+wppr+cGy3b
 g31igQ6emOw=
 =CExD
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.2.5-1'

Drop the new patches, which are already in 4.3-rc7.

Drop the CONFIG_GENEVE_CORE change, because this symbol went away again.
2015-10-28 09:55:07 +09:00
..
bin debian/bin/buildcheck.py: Adjust for compatibility with Python 3 2015-10-05 21:21:33 +01:00
config Release linux (4.2.5-1). 2015-10-28 09:55:07 +09:00
installer Release linux (4.2.5-1). 2015-10-28 09:55:07 +09:00
lib/python/debian_linux debian/bin/kconfig.py: Adjust for compatibility with Python 3 2015-08-30 21:43:02 +01:00
patches Update to 4.2.5 2015-10-27 11:01:28 +09:00
source * debian: Ignore *.local. 2014-05-18 16:48:07 +00:00
templates linux-support: Build with dh_python3 and set dependencies accordingly 2015-08-31 02:05:52 +01:00
.gitignore Update .gitignore files based on svn:ignore properties 2015-08-11 20:32:57 +02:00
README.Debian README.Debian, README.source: Update references to svn 2015-08-11 20:33:17 +02:00
README.source README.Debian, README.source: Update references to svn 2015-08-11 20:33:17 +02:00
changelog Release linux (4.2.5-1). 2015-10-28 09:55:07 +09:00
compat * debian/changelog: Update. 2009-03-17 18:51:02 +00:00
copyright debian/copyright: Move explanation of indirect linking of perf to OpenSSL 2013-07-02 05:00:10 +00:00
rules debian/rules: Clean __pycache__ from current python versions. 2014-05-18 16:45:06 +00:00
rules.defs * debian: Ignore *.local. 2014-05-18 16:48:07 +00:00
rules.real linux-manual: Fix regression in reproducibility in 4.2~rc8-1~exp1 2015-10-24 12:42:08 +09:00
watch debian/watch: Add watch file and update script 2013-06-24 02:04:54 +00:00

README.source

Updating the upstream source
============================

1) You can use either:
   a) a git repository of the kernel source
   b) a kernel tarball from kernel.org (e.g. linux-3.4.tar.bz2)
      and, optionally, a patch (e.g. patch-3.5-rc1.bz2).

2) Run ./debian/bin/genorig.py <repository>
   or  ./debian/bin/genorig.py <tarball> [patch]
   This will produce ../orig/linux_<version>.orig.tar.gz
   (e.g. linux_3.5~rc1.orig.tar.gz).

   (genorig.py requires the python and unifdef packages to be
    installed)

3) Unpack linux_<version>.orig.tar.gz, cd into the new directory,
   and do a 'git archive' to get the debian/ subdirectory.
   Alternatively unpack using "make -f debian/rules orig".

   (the orig target of the Makefiles requires rsync)

Applying patches to the Debian kernel tree
==========================================

The Debian kernel packaging uses the quilt patch system, but with
multiple series to allow for featuresets.

Patches are stored below debian/patches, loosely sorted in bugfix/,
features/ and debian/. Patches are in the standard kernel patch
format (unified diff to be applied with patch -p1) and generally have
DEP-3 headers.

The series file 'series' is used for all configurations and a series
file 'series-<featureset>' is used for each optional featureset.

If you want to generate a source tree with all patches applied, run
make -f debian/rules source

The resulting source can be found below debian/build.

Kernel config files
===================
Configuration files are constructed dynamically from a number of config
files, as listed in debian/config/<arch>/defines.

Control file
============
The master control file debian/control must be generated before
the package is uploaded. debian/rules contains the debian/control 
target, which generates the control file by invoking the 
debian/bin/gencontrol.py script, which combines the templates from
the templates directory and architecture-specific defines file to
produce the debian/control file. Note that this target is intentionally
made to fail with a non-zero exit code to make sure that it is never
run during an automatic build. The following variables are substituted
into the templates:

@version@      Upstream kernel version, for example 2.6.11.
@arch@         The Debian arch name, such as powerpc or i386.
@flavour@      The build flavour, such as 686 or k7-smp.
@class@        The CPU/architecture class; displayed in synopsis.  It should
               be fairly short, as the synopsis is supposed to be <80 chars.
               It should be in the form "foo class", and will show up in the
	       description as "foo class machines".
@longclass@    The CPU/architecture class; displayed in the extended
               description.  The same rules apply as in @class@.  If
	       this is unset, it will default to @class@.
@desc@         (Potentially) multi-line verbiage that's appended to
               -image descriptions.
@abiname@      Current abiname, a single digit.

Normally, the arch-specific contents should be controlled by
adjusting the corresponding defines file.

TODO:
- Patches applied to the upstream source
- How to define a flavour
- More detail on generation of debian/control and configs