linux/debian
Bastian Blank cc945a922b Merge /dists/sid/linux-2.6.
r5536:  luther | 2006-01-21 00:41:44 +0000
Added linux-headers-<major>-all virtual package, to make building of out-of-tree modules easier.

r5595:  maks-guest | 2006-01-25 20:02:49 +0000
take care of latest klibc status

r5596:  maks-guest | 2006-01-25 20:06:50 +0000
too quick ci, corrected ia64 dep drop

r5597:  maks-guest | 2006-01-25 20:11:07 +0000
me goes for a coffee, fixing the fix

r5610:  tbm | 2006-01-28 00:15:28 +0000
Build PPP as a module.

r5611:  tbm | 2006-01-28 01:25:36 +0000
[arm/nslu2] Enable wireless.

r5612:  tbm | 2006-01-28 01:33:39 +0000
[arm/nslu2] Enable most USB modules.

r5613:  tbm | 2006-01-28 01:53:25 +0000
[arm/nslu2] Enable ALSA and USB sound modules.

r5615:  fs | 2006-01-28 13:35:23 +0000
New option for arch/$arch/defines: if setting initrd=no, make-kpkg will be called without --initrd.

r5618:  tbm | 2006-01-28 19:38:52 +0000
[arm/nslu2] Set 4 MB as the size of the initrd in the kernel cmd line.

r5619:  tbm | 2006-01-28 23:04:45 +0000
Add support for big-endian ARM.

r5620:  luther | 2006-01-29 08:45:23 +0000
Fixed apus config so it is more in line with the rest of the configs.
This enables parallel port, so loads of stuff is pulled in.
We should maybe enable parallel port on a higher level, as PReP, IBM CHRP
or Pegasos do have a real parallel port. Not sure if the this will break
apple hardware right now though

r5622:  luther | 2006-01-29 11:25:28 +0000
Adapted apus config files. Disabling scsi drivers for now as they don't build cleanly.
Makes initramfs-tools the default on powerpc, now that i fixed the klibc build :).

r5648:  maks-guest | 2006-01-31 09:59:05 +0000
klibc on sparc is fixed

r5680:  waldi | 2006-02-01 09:50:32 +0000
* debian/changelog: Update.
* debian/arch/powerpc/defines: Fix depends settings, they are not additive.

r5684:  tbm | 2006-02-01 19:26:09 +0000
[arm/footbridge] Set CONFIG_BLK_DEV_RAM_SIZE to 8192.

r5714:  tbm | 2006-02-07 02:19:36 +0000
mention the CVE (CVE-2006-0454)

r5806:  cts | 2006-02-10 11:10:03 +0000
document changes

r5813:  cts | 2006-02-10 15:29:10 +0000
correct VME description

r5815:  nobse | 2006-02-10 20:50:47 +0000
Disabled CONFIG_ALPHA_LEGACY_START_ADDRESS for -alpha-generic and
-alpha-smp flavours, and introduced a new -alpha-legacy flavour for MILO
based machines, which has CONFIG_ALPHA_LEGACY_START_ADDRESS enabled.

r5829:  nobse | 2006-02-12 10:49:29 +0000
Removed commented out alpha part.

r5830:  nobse | 2006-02-12 10:56:38 +0000
Renamed kernel-image-2.6-486 to kernel-image-2.6-386, it's meant for
transition only, and kernel-image-2.6-386 is the package name in sarge.

svn path=/dists/trunk/linux-2.6/; revision=5878
2006-02-14 17:58:22 +00:00
..
arch Merge /dists/sid/linux-2.6. 2006-02-14 17:58:22 +00:00
bin Test build finished successfully, merge changes 2006-02-14 04:00:44 +00:00
lib/python/debian_linux Merge /dists/sid/linux-2.6. 2006-02-14 17:58:22 +00:00
modules * Use own header install target. 2006-01-22 18:34:58 +00:00
patches Update to 2.6.16-rc3. 2006-02-13 20:20:37 +00:00
templates Merge /dists/sid/linux-2.6. 2006-02-14 17:58:22 +00:00
README * Set compiler build dependencies from config informations. 2006-01-06 22:32:16 +00:00
README.Debian - merged changes from sid version. 2005-11-16 22:00:23 +00:00
README.build Add note about running split-config-cleanup after split-config. 2005-12-29 01:32:56 +00:00
changelog Merge /dists/sid/linux-2.6. 2006-02-14 17:58:22 +00:00
compat Initial commit of common kernel-image infrastructure. 2005-05-10 04:16:53 +00:00
copyright debian/copyright: Update FSF address. 2005-09-14 09:41:50 +00:00
rules debian/rules: Only provide the patched tree for config checks. 2006-01-08 15:08:51 +00:00
rules.defs * Use generated rules, effectively remove second flavour resolver. 2005-08-14 19:59:43 +00:00
rules.real Merge /dists/sid/linux-2.6. 2006-02-14 17:58:22 +00:00

README

Migrating to the common kernel-image package
-------------------------------------------- 
Files for architecture <arch> should be placed into arch/<arch>. This
directory normally contains a common config file for this architecture
('config'), flavour-specific config files, Makefile.inc file,
controlling the build for this arch, and the defines file, containing
the machine descriptions for various flavours.  For arches with
subarches the subdirectory arch/<arch>/<subarch> with the same file
structure must be created for each subarch.

Kernel config files
-------------------
Configuration files are constructed dynamically by concatenating a number
of config files as described below. 

For architecture without subarches:

  arch/config
  arch/<arch>/config 
  arch/<arch>/config.<flavour>
  
For architecture with subarches:

  arch/config
  arch/<arch>/config
  arch/<arch>/<subarch>/config
  arch/<arch>/<subarch>/config.<flavour>

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 arch/subarch 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.
@major@        The major version, for example 2.6
@arch@         The Debian arch name, such as powerpc or i386.
@subarch@      The subarch - only used by powerpc right now.
@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.

Makefile.inc
------------
Each architecture subdirectory in arch may contain a Makefile.inc
file, which is included by debian/rules after definining all the
variables. It may be used to override the standard variables on
per-architecture basis and other evil things. So far the valid uses of
this file include the setting of the following variables:

image_postproc

  A command to be run after the kernel image is built. As far as I know,
  it only required on sparc for stripping of the kernel which is too big
  to be booted otherwise. Typical use is too ugly to be presented here.