Commit Graph

266 Commits

Author SHA1 Message Date
Ben Hutchings a93dbd844e Install /lib/modules/<kernel-version>/modules.builtin in linux-image packages
We want to avoid shipping any files generated by depmod (which should
be generated in the postinst) and the 'build' and 'source' symlinks
(which should be installed by the linux-headers package).  Since
depmod has generated more and more files over time, we have been
removing all unexpected files under /lib/modules/<kernel-version>,
accidentally including modules.builtin which is *not* generated by
depmod.

Try to solve the problem generally by substituting a dummy depmod
command and then just removing the 'build' and 'source' symlinks.


svn path=/dists/trunk/linux-2.6/; revision=18456
2012-01-07 22:08:58 +00:00
Ben Hutchings d0690e27cb udeb: Provide the default configuration for kernel-wedge
The default (arch-independent) configuration was previously provided
by the kernel-wedge package, but we want to be able to update it
without changing that in future.  Copy the configuration files from
kernel-wedge 2.82 (except loop-aes-modules which is now unused).

Depend on kernel-wedge 2.83, which adds this feature.

(cherry-picked from trunk)

svn path=/dists/sid/linux-2.6/; revision=18400
2011-12-21 03:16:29 +00:00
Ben Hutchings 625c22fa59 Change abiupdate.py to use the new kernel ABI version definition
svn path=/dists/sid/linux-2.6/; revision=18370
2011-12-10 04:12:40 +00:00
Bastian Blank 4fa4671f8d * debian/bin/gencontrol.py:
Look on real upstream version during extraction of revisions for patch
  series.
* debian/changelog: Update.

svn path=/dists/sid/linux-2.6/; revision=18337
2011-12-01 12:19:31 +00:00
Ben Hutchings acd9830064 Add '.0' to ABI name whenever upstream version has 2 components
This is not just for 3.0 and 3.1.  We will remove this after wheezy
release, whichever version that is.

svn path=/dists/trunk/linux-2.6/; revision=18246
2011-11-12 04:05:20 +00:00
Bastian Blank ea9ddad4b8 debian/bin/gencontrol.py: Handle extra 0 in the abiname.
svn path=/dists/trunk/linux-2.6/; revision=18193
2011-10-28 19:03:06 +00:00
Bastian Blank 677171f23c debian/bin/gencontrol.py, debian/templates, debian/rules.real:
Make ABINAME always include the complete version.

svn path=/dists/trunk/linux-2.6/; revision=18192
2011-10-28 19:02:10 +00:00
Ben Hutchings ed776fb227 Build udebs for the installer
Use kernel-wedge in gencontrol.py and during the build process to
generate the udeb packages required by debian-installer.

Add the kernel-wedge configuration files from all the current
linux-kernel-di-$arch-2.6 packages.

svn path=/dists/trunk/linux-2.6/; revision=18121
2011-09-25 03:12:12 +00:00
Ben Hutchings 7b78a94974 Drop third version component of 0 from upstream tags and tarball names
Also remove the temporary --override-tag option; we know what the tag
names look like.

svn path=/dists/trunk/linux-2.6/; revision=17992
2011-08-24 14:20:24 +00:00
Ben Hutchings c05bfa9ae0 Add makefile targets to build linux-libc-dev only
Requested to aid architecture bootstrapping.

svn path=/dists/trunk/linux-2.6/; revision=17867
2011-07-29 14:24:17 +00:00
Ben Hutchings e00636241d Remove support for obsolete image type 'plain-xen'
The mainline kernel now supports paravirtualisation on various
hypervisors and there will be no Xen-specific kernel images.

svn path=/dists/trunk/linux-2.6/; revision=17634
2011-06-09 00:00:53 +00:00
Ben Hutchings b265641834 Remove templates for obsolete image types 'kernel-package' and 'modulesinline'
svn path=/dists/trunk/linux-2.6/; revision=17633
2011-06-08 23:55:21 +00:00
Ben Hutchings 3ddbbbd725 Add genorig.py option to override git tag
This lets us work around the varying use of 2-component and
3-component versions.

svn path=/dists/trunk/linux-2.6/; revision=17622
2011-06-07 09:37:25 +00:00
Ben Hutchings 1b919cfb84 Prepare gencontrol and templates for Linux 3.0
- Remove all relations based on the 'major' template variable
- Define 'source_package' template variable and use it in place
  of 'linux-@major@' in linux-patch-debian-<version> description
- Expect only 2 upstream version components if first component is
  not '2'
- Remove the 'major' template variable and 'MAJOR' make variable

svn path=/dists/trunk/linux-2.6/; revision=17482
2011-05-30 18:54:31 +00:00
Ben Hutchings 5f375916e4 postinst: Remove specific support for running a ramdisk creator
Warn users that specify one in /etc/kernel-img.conf.
Require initramfs-tools >= 0.99, which does not depend on being directly
invoked.

svn path=/dists/trunk/linux-2.6/; revision=17424
2011-05-16 03:57:43 +00:00
Maximilian Attems 1573c3f22e rsync with 2.6.38-5 changes
this add the per arch abi feature.
the m68k and security patches seem all merged.

svn path=/dists/trunk/linux-2.6/; revision=17346
2011-05-09 15:42:48 +00:00
Ben Hutchings 86e0335418 Remove perf files previously installed in linux-base
svn path=/dists/trunk/linux-2.6/; revision=17074
2011-03-16 04:37:05 +00:00
Ben Hutchings 871633716d Revert "postinst: Remove specific support for running a ramdisk creator" etc.
initramfs-tools still assumes that official kernel packages will call
it specifically and does nothing in the postinst hook if it recognises
that it has been called by an official package.  Therefore we cannot
make this change yet.


svn path=/dists/trunk/linux-2.6/; revision=16981
2011-03-04 04:14:38 +00:00
Ben Hutchings a68b161473 postinst: Remove specific support for running a ramdisk creator
Warn users that specify one in /etc/kernel-img.conf.
Require initramfs-tools >= 0.94, which installs a postinst hook.

svn path=/dists/trunk/linux-2.6/; revision=16958
2011-03-01 05:44:42 +00:00
Bastian Blank 7f5e7db196 Merge /dists/squeeze/linux-2.6 (2.6.32-30).
svn path=/dists/trunk/linux-2.6/; revision=16903
2011-02-16 17:06:01 +00:00
Ben Hutchings c7f09824d8 Merge changes from sid branch
svn path=/dists/trunk/linux-2.6/; revision=16729
2010-12-22 03:46:48 +00:00
Ian Campbell 979949830e Fix some low hanging lintian warnings
svn path=/dists/trunk/linux-2.6/; revision=16172
2010-08-21 07:59:17 +00:00
Ben Hutchings 7829baacaa Copy perf wrapper script missed in earlier merge
svn path=/dists/trunk/linux-2.6/; revision=15960
2010-07-07 02:17:18 +00:00
Ben Hutchings 04b38ec92d Merge changes from 2.6.32-16
Add patches that were added in 2.6.32-16 and are not in 2.6.35-rc3.
Update configuration.
Update maintainer scripts and debconf templates.
Add linux-tools-<version> package.

svn path=/dists/trunk/linux-2.6/; revision=15934
2010-07-04 21:07:52 +00:00
Ben Hutchings 97238c15a8 Add linux-tools-<version> package containing the perf tool (Closes: #548715)
svn path=/dists/sid/linux-2.6/; revision=15932
2010-07-04 17:08:13 +00:00
Bastian Blank eb7fcd24f3 debian/bin/buildcheck.py
- Use stricter pattern patch.
- Support pattern for module matches.

svn path=/dists/sid/linux-2.6/; revision=15913
2010-06-27 13:31:54 +00:00
Bastian Blank 5f54dc434f Merge debugging package support.
svn path=/dists/sid/linux-2.6/; revision=15651
2010-05-09 16:50:27 +00:00
Bastian Blank eef8e0abf6 Merge /dists/sid/linux-2.6 (2.6.32-11).
svn path=/dists/trunk/linux-2.6/; revision=15575
2010-04-27 17:48:06 +00:00
Bastian Blank ab3c0154f7 * debian/bin/gencontrol.py: Add support for debug packages.
* debian/lib/python/debian_linux/config.py: Add image-dbg section.
* debian/templates/control.image-dbg.in: Add.

svn path=/dists/trunk/linux-2.6/; revision=15566
2010-04-27 08:50:30 +00:00
Bastian Blank 8adf3a084f * debian/bin/kconfig.py: Add option overrides.
* debian/lib/python/debian_linux/kconfig.py:
  Add set method for externaly parsed options.

svn path=/dists/trunk/linux-2.6/; revision=15565
2010-04-27 08:43:41 +00:00
Bastian Blank e6e6cc878a debian/bin/gencontrol.py: Split out makeflags setup.
svn path=/dists/trunk/linux-2.6/; revision=15526
2010-04-20 19:18:56 +00:00
Bastian Blank 70f4db9e45 debian/bin/buildcheck.py: Fix config mergeing.
svn path=/dists/sid/linux-2.6/; revision=15443
2010-03-21 17:42:55 +00:00
Bastian Blank 0884591082 debian/bin/buildcheck.py: Support module ignore matching.
svn path=/dists/sid/linux-2.6/; revision=15441
2010-03-21 12:50:40 +00:00
Bastian Blank d3bbe78347 debian/bin/buildcheck.py: Support different ignore types.
svn path=/dists/sid/linux-2.6/; revision=15440
2010-03-21 12:45:22 +00:00
Bastian Blank 9995fd5f3f debian/bin/buildcheck.py: Use sorted function.
svn path=/dists/sid/linux-2.6/; revision=15439
2010-03-21 12:29:59 +00:00
Bastian Blank d59af98a3b debian/bin/buildcheck.py: Simplify symbols data handling.
svn path=/dists/sid/linux-2.6/; revision=15438
2010-03-21 12:22:34 +00:00
Maximilian Attems 163c21ff1f readd openvz in small dose
still disabled and without patch,
but makes it easier for me to test against latest sid.

svn path=/dists/sid/linux-2.6/; revision=15384
2010-03-16 00:11:09 +00:00
Bastian Blank f5d1c9b954 * debian/bin/gencontrol.py
- Disable old xen support.
  - Support xen dom0 for all images.
* debian/templates/control.xen-linux-system.in: Fix description.

svn path=/dists/sid/linux-2.6/; revision=15299
2010-03-01 13:04:08 +00:00
Bastian Blank 191a91d213 debian/bin/gencontrol.py: Workaround duplicated description parts.
svn path=/dists/sid/linux-2.6/; revision=15294
2010-02-28 18:59:01 +00:00
Bastian Blank 65ee02f46b Don't let default compiler flags escape into the build.
* debian/changelog: Update.
* debian/bin/gencontrol.py: Rename CFLAGS to CFLAGS_KERNEL.
* debian/rules.real: Use CFLAGS_KERNEL.

svn path=/dists/trunk/linux-2.6/; revision=15119
2010-02-04 11:09:53 +00:00
Ben Hutchings 5f0aee969f Force distribution=UNRELEASED in debian/bin/test-patches so that it works in released source packages
svn path=/dists/trunk/linux-2.6/; revision=14998
2010-01-26 00:15:19 +00:00
Maximilian Attems 59dfd89bbc cleanup trunk from openvz references
no patch forcoming, no schedule for a patch.
thus no openvz bannana for squeeze.

svn path=/dists/trunk/linux-2.6/; revision=14991
2010-01-24 12:08:42 +00:00
Bastian Blank b0e6ad3767 Drop linux-tree package.
* debian/changelog: Update.
* debian/bin/gencontrol.py, debian/rules.real:
  Remove support for linux-tree package.
* debian/templates/control.tree.in: Remove.

svn path=/dists/trunk/linux-2.6/; revision=14736
2009-12-04 19:16:08 +00:00
Bastian Blank c22fbd4990 * debian/bin/gencontrol.py: Don't use control.support template.
* debian/templates/control.main.in:
  Merge contents of debian/templates/control.support.in.

svn path=/dists/trunk/linux-2.6/; revision=14697
2009-11-28 14:43:28 +00:00
Bastian Blank eb927a5fd2 debian/bin/gencontrol.py: Check unstable and experimental uploads.
svn path=/dists/trunk/linux-2.6/; revision=14672
2009-11-24 18:30:52 +00:00
Ben Hutchings b575145097 Merge /dists/sid/linux-2.6.
This should include all changes up to 2.6.31-2, except patches merged upstream.
Fix up ARM patches to apply to 2.6.32.

svn path=/dists/trunk/linux-2.6/; revision=14642
2009-11-17 01:18:56 +00:00
Ben Hutchings 6703a557aa Add support for git repo as upstream source
svn path=/dists/trunk/linux-2.6/; revision=14631
2009-11-15 16:07:04 +00:00
Bastian Blank e39e268dbd Move all description related config options into its own section.
* debian/bin/gencontrol.py: Handle description parts.
* debian/config: Update.
* debian/lib/python/debian_linux/config.py: Recognize new section.
* debian/lib/python/debian_linux/gencontrol.py: Remove old code.

svn path=/dists/trunk/linux-2.6/; revision=14469
2009-10-27 16:35:16 +00:00
Ben Hutchings 42ad01194b Add simple build script for users to test patches.
svn path=/dists/trunk/linux-2.6/; revision=14460
2009-10-26 00:57:53 +00:00
Bastian Blank 34368f1d61 debian/bin/gencontrol.py: Remove support for header dirs of other arches.
svn path=/dists/trunk/linux-2.6/; revision=14232
2009-09-14 10:20:45 +00:00