Commit Graph

192 Commits

Author SHA1 Message Date
Ben Hutchings 08a7d92f2b [arm,x86,s390,s390x] Introduce linux-compiler meta-packages to allow use of foreign linux-headers packages with a native multilib compiler
svn path=/dists/trunk/linux/; revision=20799
2013-11-21 01:15:15 +00:00
Ben Hutchings 4f224fc29b Merge changes from sid up to 3.11.7-1
svn path=/dists/trunk/linux/; revision=20787
2013-11-10 05:40:33 +00:00
Ben Hutchings 85d54e2cc1 Merges changes from sid up to 3.11.6-2
svn path=/dists/trunk/linux/; revision=20774
2013-11-02 20:55:30 +00:00
Ben Hutchings 2e89994185 Fix support for per-architecture ABI name
In gencontrol.py 'abiname' now includes the upstream version whereas
the part after that is 'abiname_part'.  Update the per-architecture
ABI name handling accordingly.

Also use the per-architecture ABI name in udeb package names and when
generating the maintainer scripts.

svn path=/dists/sid/linux/; revision=20762
2013-10-31 03:58:28 +00:00
Bastian Blank 16f09c4d48 debian/bin: Some PEP8 fixes.
svn path=/dists/trunk/linux/; revision=20738
2013-10-26 21:04:10 +00:00
Ian Campbell d897b21426 gencontrol.py: Create debian/po as necessary.
svn path=/dists/trunk/linux/; revision=20523
2013-08-26 16:09:41 +00:00
Ben Hutchings c382b12892 Use only one template syntax
Use the same template syntax and implementation for maintainer
scripts, translations, etc. as we do for the control files.  Define
the image-stem and initramfs variables to replace the old K and I
variables.

After this, debian/linux-* and debian/po/*.po are generated files (at
source preparation time) and should be ignored in svn.

Use debhelper to install the generated files at build time.  This also
results in a redundant dependency on debconf (which we already have in
Pre-Depends), but this seems harmless.

svn path=/dists/trunk/linux/; revision=20508
2013-08-17 11:35:06 +00:00
Ben Hutchings 005ac51bc5 Merge changes from wheezy-backports to reduce the need for source changes
- Add a suite/version sanity-check for backports
- Disable building of udebs whenever package version indicates backports

svn path=/dists/trunk/linux/; revision=20483
2013-08-11 21:30:14 +00:00
Ben Hutchings 6c6ec64859 linux-source: Install kernel config files for linux-image packages
The kernel config files used to be uploaded to
http://kernel.alioth.debian.org/config/ or elsewhere, and people
occasionally request them, but we have no infrastructure to
automatically do that and I rarely remember to do it.  These are
presumably wanted as a starting point by people building custom
packages who don't want to download the linux-image package, so
add them to the linux-source-$UPSTREAMVERSION package.

We can already generate all the config files without any
cross-toolchain using the 'setup' target in rules.gen, except that the
'make prepare' command in rules.real will fail.  This command is
unnecessary as 'prepare' is a dependency of any build target we use
in our 'build-arch' rule, so remove it.

svn path=/dists/sid/linux/; revision=20400
2013-07-22 00:02:50 +00:00
Ben Hutchings f0b5fe588b Never pass an empty PACKAGE_NAMES list to install-udeb_$(ARCH) rules
svn path=/dists/trunk/linux/; revision=19972
2013-04-08 04:37:51 +00:00
Ben Hutchings 72dfd72c36 Do not try to apply featureset patches when featureset is disabled
svn path=/dists/trunk/linux/; revision=19609
2012-12-16 15:35:51 +00:00
Bastian Blank 9d6c7c99a5 debian/bin/gencontrol.py, debian/rules.real:
Remove remaining code for s390 tape images.

svn path=/dists/trunk/linux/; revision=19551
2012-11-27 18:39:04 +00:00
Bastian Blank 7c1154be91 * debian/bin/gencontrol.py: Add support for kernelarch specific config.
* debian/config: Remove now implicit definitions.

svn path=/dists/trunk/linux/; revision=19545
2012-11-26 22:31:06 +00:00
Bastian Blank 816abcaf90 debian/bin/gencontrol.py: Properly check for Xen support.
svn path=/dists/trunk/linux/; revision=19543
2012-11-26 22:21:02 +00:00
Bastian Blank 825b83a00b debian/bin/gencontrol.py, debian/config/amd64/defines,
debian/config/i386/defines: Remove dom0-support option.

svn path=/dists/trunk/linux/; revision=19542
2012-11-26 22:15:06 +00:00
Bastian Blank cbf647997c debian/bin/gencontrol.py: Bail out if disable requests can't be honored.
svn path=/dists/trunk/linux/; revision=19516
2012-11-21 17:24:33 +00:00
Ben Hutchings af9147122a Merge changes from sid up to 3.2.29-1
Most of the patches added to sid are already in 3.5 and could be dropped.
Some others needed to be re-generated without the backporting changes.

Ignore the rt changes as there is no rt featureset for 3.5.

svn path=/dists/trunk/linux/; revision=19387
2012-09-17 02:19:21 +00:00
Bastian Blank 94ee7c7fb6 * debian/bin/gencontrol.py:
Use xen-system instead of xen-hypervisor for meta-packages.
* debian/changelog: Update.

svn path=/dists/sid/linux/; revision=19322
2012-08-13 11:02:50 +00:00
Bastian Blank 5a9b375696 debian/bin/gencontrol.py: Fix warning for installer module disable.
svn path=/dists/trunk/linux/; revision=19321
2012-08-13 09:47:24 +00:00
Ben Hutchings 8b1e122672 Merge changes from sid up to 3.2.21-2
svn path=/dists/trunk/linux/; revision=19211
2012-06-26 06:02:51 +00:00
Ben Hutchings 1f377f7c3b [x32] Build a linux-libc-dev package
svn path=/dists/trunk/linux/; revision=19166
2012-06-18 14:50:18 +00:00
Bastian Blank 5a0ab9759f Support build-arch and build-indep make targets
* debian/rules, debian/rules.real:
  Support build-indep, rename build to build-arch.
* debian/bin/gencontrol.py, debian/lib/python/debian_linux/gencontrol.py:
  Add build-arch and build-indep.
* debian/changelog: Update.

svn path=/dists/sid/linux/; revision=19148
2012-06-14 14:39:30 +00:00
Bastian Blank d1bd5f4a19 debian/bin/gencontrol.py: Make it possible to disable udeb generation.
svn path=/dists/sid/linux/; revision=19147
2012-06-14 08:30:37 +00:00
Bastian Blank 7a338d9536 debian/bin/gencontrol.py:
Move some package specific stuff from lib/python/debian_linux/gencontrol.py.

svn path=/dists/sid/linux/; revision=19145
2012-06-13 21:54:55 +00:00
Ben Hutchings 39d70141e7 Merge changes from sid branch of linux/linux-2.6 up to r19072
svn path=/dists/trunk/linux/; revision=19127
2012-06-11 05:06:55 +00:00
Ben Hutchings 1e36c722c1 Move special case for 'none' featureset to rules.real
This is needed to get the proper dependency.

svn path=/dists/sid/linux/; revision=19076
2012-06-03 22:59:24 +00:00
Ben Hutchings 4b64bf84a9 Remove the patch series for featureset 'none'
Make 'source_none' a symlink rather than treating 'none' like a real
featureset.

svn path=/dists/sid/linux/; revision=19075
2012-06-03 22:44:01 +00:00
Ben Hutchings f4932e3768 Replace patch series lists with one main series and one per featureset
Change patch.apply.in to apply a single patch series without
filtering.  Move series/base to series-all and series/base-extra to
series-rt and series-none (the latter empty).

Remove the redundant status file support from patch.apply.in, and
convert it into a static file rather than a template.

Remove the redundant patch series list support from patches.py.

svn path=/dists/sid/linux/; revision=19071
2012-06-03 22:03:33 +00:00
Ben Hutchings aac2076873 Remove support for per-architecture patches
We have not used per-architecture patches for many years.  This is a
step toward using a more standard patch system.

svn path=/dists/sid/linux/; revision=19070
2012-06-03 20:54:42 +00:00
Ben Hutchings 978dc23547 Update to 3.4
Drop the '.0'; everything in wheezy and beyond should cope with
2-component versions.

svn path=/dists/trunk/linux-2.6/; revision=19021
2012-05-21 12:06:54 +00:00
Bastian Blank 31591fe39a debian/bin/gencontrol.py: Support disabling debug infos in unreleased builds.
svn path=/dists/trunk/linux-2.6/; revision=18507
2012-01-12 11:28:06 +00:00
Bastian Blank 96bd71ce65 debian/bin/gencontrol.py, debian/rules.real, debian/templates:
Remove support for plain-xen image type.

svn path=/dists/trunk/linux-2.6/; revision=18504
2012-01-11 21:13:47 +00:00
Bastian Blank 2ca47caafc * debian/bin/gencontrol.py: Use modules setting in build section.
* debian/config/s390/defines, debian/config/s390x/defines: Adopt changes.

svn path=/dists/trunk/linux-2.6/; revision=18502
2012-01-11 21:02:19 +00:00
Bastian Blank a46a14199c debian/bin/gencontrol.py, debian/lib/python/debian_linux/config.py:
Move config schema into gencontrol.

svn path=/dists/trunk/linux-2.6/; revision=18499
2012-01-11 20:42:40 +00:00
Bastian Blank dad674e6e7 * debian/lib/python/debian_linux/debian.py:
Replace PackageFieldList with PackageArchitecture.
* debian/bin/gencontrol.py,
  debian/lib/python/debian_linux/gencontrol.py: Adopt changes.

svn path=/dists/trunk/linux-2.6/; revision=18492
2012-01-11 17:46:47 +00:00
Bastian Blank 2aee5e44d4 * debian/bin/gencontrol.py: Move debug setting into new build section.
* debian/config/amd64/defines, debian/config/i386/defines: Update.

svn path=/dists/trunk/linux-2.6/; revision=18490
2012-01-11 17:05:44 +00:00
Bastian Blank a4a27ffb31 debian/bin: PEP8 and other style fixes.
svn path=/dists/trunk/linux-2.6/; revision=18489
2012-01-11 17:00:17 +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
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 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 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 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