Commit Graph

521 Commits

Author SHA1 Message Date
Ben Hutchings 65d6c09bbd Remove residual support for multiple image package types
We only really support the 'plain' type.  Remove all the conditions on
image type and remove 'plain' from all target and file names.
2016-01-27 19:52:52 +00:00
Ben Hutchings 87a5fb1450 Remove all support for monolithic kernel packages
The last such package (s390-tape variant) was removed in
3.6.8-1~experimental.1.
2016-01-27 19:52:48 +00:00
Ben Hutchings 6f7f065366 genorig.py: Make orig tarballs really reproducible
- Override umask while extracting/exporting files
- Override user and group names in tarball
2016-01-19 00:28:31 +00:00
Ben Hutchings 9a6aa4816a linux-image-dbg: Include debugging symbols for VDSOs 2016-01-13 15:08:47 +00:00
Ben Hutchings 0c23e53745 genorig.py: Make orig tarballs really reproducible
- Override umask while extracting/exporting files
- Override user and group names in tarball
2016-01-08 19:31:40 +00:00
Ben Hutchings 8571d54a8b Add config parameter to disable linux-headers-all packages
The linux-grsec source package needs a way to explicitly disable these
binary packages which are already built by the linux source package.
We already do that when there are no actual kernels for the target
architecture.  Rename the FOREIGN_KERNEL make variable and combine the
two conditions.

Based on work by Yves-Alexis Perez.
2015-12-19 16:57:10 +00:00
Ben Hutchings e221f869d0 debian/bin/genorig.py: Add more files under arch/*/include/asm to file list
Fixes FTBFS on several architectures.
2015-12-14 00:43:27 +00:00
Ben Hutchings 02e867b636 Fix parallel builds of both arch and indep binaries
A parallel 'debian/rules build' will now invoke 'debian/rules.real
build' twice in parallel, which is disastrous.

- Add and use proper build-arch and build-indep targets in
  debian/rules.gen and debian/rules.real
- Assign a separate temporary directory to each target in
  debian/rules.real.  Add the directories to .gitignore and
  the clean rule.
- Pull installation of the lockdep wrapper (which is indep)
  up into debian/rules.real so that we don't end up building
  liblockdep twice in parallel.
2015-12-10 02:44:23 +00:00
Ben Hutchings e7df5735bc genorig: Make file list much more selective
This removes about 1.2 million lines of dead code.
2015-12-10 01:42:38 +00:00
Yves-Alexis Perez 6759b9a57e gencontrol.py: add support for disabling libc-dev package 2015-11-13 17:43:10 +01:00
Yves-Alexis Perez 1f9192267c gencontrol.py: add support for disabling installer packages 2015-11-12 21:55:45 +01:00
Yves-Alexis Perez 91d01a70ac gencontrol.py: rename docs section to packages
prelude to adding more options to disable some packages
2015-11-12 21:17:54 +01:00
Ben Hutchings 91416e456c gencontrol.py: Delete redundant arguments to ConfigCore.merge 2015-11-12 15:12:02 +00:00
Yves-Alexis Perez 8f6b13987a split-docs: update rules generation
pass a DO_DOCS variable to rules.gen and rules for the binary-indep
target
2015-11-12 08:12:12 +01:00
Yves-Alexis Perez e3d56724e4 split docs package to a different template
only include them in the control file if docs are enabled in the config
2015-11-11 12:31:56 +01:00
Ben Hutchings be6de683ed debian/control,debian/rules: Support a 'stage1' build profile (Closes: #695243)
This builds only linux-libc-dev, needed by native compilers.
2015-11-10 13:34:39 +00:00
Ben Hutchings 3d15b09115 tests: Begin autopkgtest wrapper for selftests
To start with, just use kexec to test that each kernel boots.
2015-10-31 22:04:13 +00:00
Ben Hutchings 3b781b1ad1 Add script for reading a single config item 2015-10-31 22:04:13 +00:00
Ben Hutchings 198dbc7165 Fix the build-indep and binary-indep targets (fixes FTBFS for arch:all) 2015-10-14 02:15:06 +01:00
Ben Hutchings dbe3ca8808 debian/bin/buildcheck.py: Adjust for compatibility with Python 3
Use dict.values() instead of .itervalues().
2015-10-05 21:21:33 +01:00
Ben Hutchings 87937205f7 debian/bin/genorig.py: Make orig tarballs reproducible 2015-09-25 19:51:34 +01:00
Ben Hutchings 277d4945c7 debian/bin,debian/control,debian/lib/python,debian/rules: Use Python 3
debian/lib/python: Sync with linux package
2015-09-25 19:51:01 +01:00
Ben Hutchings 3d1b880497 debian/bin/kconfig.py: Adjust for compatibility with Python 3
Use open() instead of file().
Use dict.items() instead of .iteritems().
Use collections.OrderedDict.items() instead of .iteritems().
2015-08-30 21:43:02 +01:00
Ben Hutchings 44ea8344d6 debian/bin/genorig.py: Make orig tarballs reproducible
Sort the tarball contents and set their mtimes to the upstream
release time.  (In case we're given a tarball and patch, the
release time is unknown and the result is not reproducible.  So
don't do that.)
2015-08-29 23:59:33 +01:00
Ben Hutchings 52d8c20b40 debian/bin/buildcheck.py: Correct call to nonexistent sys.write() function 2015-08-29 23:59:26 +01:00
Ben Hutchings 6b977589fb debian/bin,debian/control,debian/lib/python: Use Python 3 2015-08-29 21:48:39 +01:00
Ben Hutchings 896fca1190 genorig: Include more mips makefiles (fixes FTBFS) 2015-08-16 01:58:19 +02:00
Ben Hutchings 9083cdad75 genorig.py: Include kernel/locking in orig so we can build liblockdep 2015-08-13 21:45:58 +02:00
Ben Hutchings 1561e3da38 Update to 4.2-rc6
Refresh perf patches.
Add a newly needed type to scripts/mod/types.h.
2015-08-13 21:45:17 +02:00
Ben Hutchings 094026e778 Build userland headers and add them to the front of the system include path
This fixes a build failure in tools/hv when the installed
linux-libc-dev is too old.
2015-08-13 21:41:41 +02:00
Ben Hutchings 576b717dd9 Add lib/hweight.c to the orig tarball, needed by perf
svn path=/dists/trunk/linux-tools/; revision=22592
2015-05-11 00:20:08 +00:00
Ben Hutchings dbd5f89afd Fix URLs for stable changelogs from 4.0 onward
The version parsing was fine but we had 3.x hardcoded in the URL.
Assume that each major version gets a new directory from now on.

svn path=/dists/trunk/linux/; revision=22558
2015-05-04 22:48:12 +00:00
Ben Hutchings d0824f1862 Add security update versions to regex and distribution/version sanity checks
Currently we don't allow versions like 3.16.7-ckt9-3~deb8u1~bpo7+1 in
*-backports, but we should!  Add the security suffix as an option
before the backports suffix.

We also don't check that an upload to *-security or *-lts includes the
expected suffix and nothing else.  Add a check for that.

svn path=/dists/trunk/linux/; revision=22539
2015-04-27 19:44:59 +00:00
Ben Hutchings 10f7943320 Merge changes from sid up to 3.16.7-ckt4-1
svn path=/dists/trunk/linux/; revision=22265
2015-01-16 02:43:15 +00:00
Ian Campbell bbecbd8cc4 [armel] Warn if image size leaves less than 1% spare capacity in the flash.
This allows some slack for growth over the lifetime of a stable release.

svn path=/dists/sid/linux/; revision=22203
2014-12-19 08:49:43 +00:00
Ben Hutchings eb1f86e012 Fix inconsistent ABI name generation in debian/bin/{abiupdate,buildcheck,gencontrol}.py (Closes: #773233)
svn path=/dists/sid/linux/; revision=22199
2014-12-15 22:01:58 +00:00
Ben Hutchings c853385790 [armel] Include size of appended DTBs in image size check
svn path=/dists/trunk/linux/; revision=22184
2014-12-10 16:50:18 +00:00
Ben Hutchings af6c30e62e Declare [image]check-size as integer in config schema
svn path=/dists/trunk/linux/; revision=22183
2014-12-10 16:37:52 +00:00
Ben Hutchings 9853c541cb ckt-stable-update.sh: Point to changelogs on kernel.ubuntu.com
Luis is now putting long changelogs up, so don't bother generating
them ourselves.


svn path=/dists/sid/linux/; revision=22072
2014-11-20 00:44:02 +00:00
Ben Hutchings 9548e467eb ckt-stable-update.sh: Generate long changelogs and expect them to be uploaded to Alioth
svn path=/dists/sid/linux/; revision=22066
2014-11-17 03:30:00 +00:00
Ben Hutchings 86a13b0457 Add support for -ckt stable updates
svn path=/dists/sid/linux/; revision=22057
2014-11-08 15:41:20 +00:00
Ben Hutchings 9d5b8a243c check-patches.sh: Validate Forwarded value slightly better
Don't confuse 'no' with 'not-needed'.

Don't accept values other than 'no', 'not-needed' and URLs which we
assume must begin with 'http'.

svn path=/dists/sid/linux/; revision=22043
2014-11-06 00:20:18 +00:00
Ben Hutchings 0c43c4d115 check-patches.sh: Check for patches not yet forwarded and not Debian-specific
svn path=/dists/sid/linux/; revision=22042
2014-11-06 00:15:27 +00:00
Ben Hutchings f6f3297244 check-patches.sh: Continue if fgrep has exit code of 1
svn path=/dists/sid/linux/; revision=22040
2014-11-05 23:42:08 +00:00
Ben Hutchings 6ceeb0fb7b Revert "Make version in package name independant of internal abi"
Unfortunately it is not sufficient to provide virtual packages
that exactly match the ABI name.  For example, 'reportbug kernel'
doesn't find the virtual package, and neither do dpkg commands
such as 'dpkg -l linux-image-$(uname -r)'.

svn path=/dists/sid/linux/; revision=22034
2014-11-04 04:47:19 +00:00
Bastian Blank cb080a3167 Make version in package name independant of internal abi
* debian/bin/gencontrol.py: Export internal ABI.
* debian/lib/python/debian_linux/debian.py: Export three-part version.
* debian/rules.real
  - Provide more variables.
  - Make udeb generation easier.
  - Use internal ABI for files.
* debian/templates/control.*: Provide name with internal ABI.
* debian/templates/image.plain.*: Use internal ABI.

svn path=/dists/sid/linux/; revision=22017
2014-11-01 19:20:16 +00:00
Bastian Blank 71102bc07a debian/bin/gencontrol.py, debian/rules.real: Don't export ABINAME_PART
svn path=/dists/sid/linux/; revision=22006
2014-10-31 14:41:11 +00:00
Ben Hutchings 3a891f8597 Add '.0' to the kernel version string (Closes: #742226, #745984)
svn path=/dists/sid/linux/; revision=21985
2014-10-31 01:02:06 +00:00
Ben Hutchings 90fbb64333 Update to 3.17
usbip userspace moved to tools/usb/usbip.  Update genorig.py,
patch and makefiles accordingly.

svn path=/dists/trunk/linux-tools/; revision=21951
2014-10-17 09:58:05 +00:00
Ben Hutchings 7e180f1530 Merge pending changes from sid
svn path=/dists/trunk/linux/; revision=21736
2014-08-24 00:45:55 +00:00
Ben Hutchings 7659165f57 Update handling of experimental versions in stable-update.sh
We abbreviated the suffix for experimental Debian revisions from
'~experimental.' to '~exp' a while back.

svn path=/dists/sid/linux/; revision=21724
2014-08-10 19:42:51 +00:00
Ben Hutchings 41b28afb6c Update to 3.16-rc7
- genorig: Include new directory for usbip UAPI header
- debian/control: Update Build-Depends for usbip switching from libsysfs to libudev

svn path=/dists/trunk/linux-tools/; revision=21641
2014-07-29 17:49:10 +00:00
Ben Hutchings efebbfa5d6 Merge changes from sid up to 3.14.9-1
svn path=/dists/trunk/linux/; revision=21485
2014-07-01 01:23:29 +00:00
Ben Hutchings bcff92529e linux-image: Make initramfs support unconditional
svn path=/dists/sid/linux/; revision=21471
2014-06-27 15:38:07 +00:00
Ben Hutchings 78f00cf7ad Use https scheme for stable update changelog URLs
svn path=/dists/sid/linux/; revision=21455
2014-06-17 15:43:04 +00:00
Maximilian Attems 0950a2a259 genorig: double digit version match
Fix patch name match accordingly to tarball match

Signed-off-by: maximilian attems <maks@debian.org>

svn path=/dists/trunk/linux/; revision=21297
2014-05-03 15:47:38 +00:00
Ben Hutchings d37c253865 Merge install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image rules
The filename of the kernel image to be installed, and the stem of the
installed name, varies between architectures, so we define several
different rules to install it for different sets of architectures.
However the basic fact that we need to install this file in /boot does
not.

We also duplicate this name information in gencontrol.py and in
debian/config/{armel,armhf,sh4}/defines (used by buildcheck.py).

To address this:

* Define [image]install-stem and [build]image-file for each architecture
* Copy these settings to make-flags in gencontrol.py
* Copy [image]install-stem to the image-stem template variable in
  gencontrol.py
* Replace the per-architecture rules with a single rule using those
  make-flags

The per-architecture rules for ARM and PowerPC also installed DTB
and DTS files, respectively.  Include those commands in the single
rule with appropriate conditions around them.


svn path=/dists/trunk/linux/; revision=21253
2014-04-21 01:28:25 +00:00
Bastian Blank 4295eeaea6 debian/bin/buildcheck.py, debian/bin/gencontrol.py: Support Python 3
svn path=/dists/trunk/linux/; revision=21047
2014-02-15 09:44:36 +00:00
Bastian Blank 929894f687 * debian/bin/genorig.py, debian/lib/python/debian_linux/abi.py,
debian/lib/python/debian_linux/debian.py,
  debian/lib/python/debian_linux/patches.py,
  - Support Python 3.
  - Use six if necessary.
* debian/templates/control.main.in, debian/templates/control.source.in:
  Depend on python-six.

svn path=/dists/trunk/linux/; revision=20946
2014-01-01 22:14:11 +00:00
Bastian Blank 40b1508b4e debian/bin/abiupdate.py: Add support for Python 3.
svn path=/dists/trunk/linux/; revision=20944
2014-01-01 13:11:15 +00:00
Ben Hutchings c82c941d99 Do not disable building udebs when target suite is backports
There are now plans to build an installer from backports.

svn path=/dists/sid/linux/; revision=20886
2013-12-15 17:35:29 +00:00
Bastian Blank 25d729addb debian/bin/gencontrol.py: Don't expand dependencies.
svn path=/dists/trunk/linux/; revision=20822
2013-11-24 09:03:51 +00:00
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 eaba00d52c debian/bin/check-patches.sh: Report missing DEP-3 headers
svn path=/dists/trunk/linux/; revision=20315
2013-07-01 04:27:18 +00:00
Ben Hutchings 614eb957a8 debian/watch: Add watch file and update script
svn path=/dists/trunk/linux/; revision=20290
2013-06-24 02:04:54 +00:00
Ben Hutchings 65cc08094e Fix genorig.py --override-version option
svn path=/dists/trunk/linux/; revision=20289
2013-06-24 02:03:26 +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 3937ca5280 Merge changes from sid up to 3.2.41-1
Drop all changes to backported features and to rt.

svn path=/dists/trunk/linux/; revision=19940
2013-03-23 07:15:51 +00:00
Ben Hutchings 59229f2de2 test-patches: Add --fuzz option to allow testing patches that have fuzz
svn path=/dists/sid/linux/; revision=19896
2013-03-03 23:43:05 +00:00
Ben Hutchings 63ad08c556 test-patches: Clean up all previous test patches, whether or not they were applied
svn path=/dists/sid/linux/; revision=19895
2013-03-03 23:40:22 +00:00
Ben Hutchings 8c00a1b1a9 Update Python debian_linux module from linux and use it in gencontrol.py
svn path=/dists/trunk/linux-tools/; revision=19890
2013-03-02 16:31:41 +00:00
Ben Hutchings 3924ca2a70 debian/bin/genorig.py: Create symlink to tar in "..".
svn path=/dists/trunk/linux/; revision=19888
2013-03-02 16:07:23 +00:00
Ben Hutchings 4ac80f514e debian/bin/genorig.py: Check both return values of git export.
svn path=/dists/trunk/linux/; revision=19887
2013-03-02 16:06:09 +00:00
Ben Hutchings d205f3002a Fix version parsing in debian/bin/genorig.py when using a DFSG number
svn path=/dists/trunk/linux-tools/; revision=19886
2013-03-02 16:04:15 +00:00
Ben Hutchings 9c86ce9fbb genorig: Accept xz-compressed upstream tarballs and patches, thanks to Sedat Dilek
svn path=/dists/trunk/linux/; revision=19885
2013-03-02 16:02:15 +00:00
Jonathan Nieder c80b6d4d54 Merge changes from sid up to 3.2.17-1
svn path=/dists/trunk/linux-tools/; revision=19666
2012-12-30 07:34:29 +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
Ben Hutchings ef781eb6ee Merge changes from sid up to 3.2.35-1
Exclude RT changes and ABI fudges.

Refresh firmware-remove-redundant-log-messages-from-drivers.patch
against 3.6, but don't attempt to cover anything new yet.

svn path=/dists/trunk/linux/; revision=19603
2012-12-10 04:06:21 +00:00
Ben Hutchings 000732c3ff [amd64] linux-tools: Enable optimisations and special-casing of x86_64 (Closes: #694759)
This requires including another source file in the 'orig' tarball, so
bump to the latest stable update.  I don't think it has any fixes
relevant to linux-tools.

svn path=/dists/trunk/linux-tools/; revision=19565
2012-12-02 00:46:42 +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 698012d603 Add script to edit changelog for stable updates
svn path=/dists/sid/linux/; revision=19508
2012-11-18 01:30:08 +00:00
Ben Hutchings 392c496da5 Remove left-over empty files and directories
svn path=/dists/trunk/linux/; revision=19507
2012-11-18 00:38:17 +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
Ben Hutchings e27b6aeb07 Add xz support, thanks to Sedat Dilek
svn path=/dists/trunk/linux-tools/; revision=19351
2012-08-21 04:49:15 +00:00
Ben Hutchings 2eef688159 debian/bin: PEP8 and other style fixes.
svn path=/dists/trunk/linux-tools/; revision=19336
2012-08-19 22:08:13 +00:00
Ben Hutchings 59de3aea5f 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-tools/; revision=19335
2012-08-19 22:04:11 +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 d0d98ef3a7 Clean up usbip package version generation
Extract the current usbip version from its config.h file rather than
repeating it in rules.real where we might forget to update it.

Pass VERSION_DEBIAN into rules.real from rules.gen rather than
invoking dpkg-parsechangelog again.

svn path=/dists/sid/linux-tools/; revision=19188
2012-06-24 00:44:58 +00:00
Ben Hutchings b989eb0842 Build usbip userland packages (Closes: #568362)
Do not build a shared library package; the API and ABI have changed
from libusbip0 but there has been no upstream soversion change.

svn path=/dists/sid/linux-tools/; revision=19177
2012-06-20 06:04:10 +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 f9d7178138 Merge changes from sid up to 3.2.20-1
svn path=/dists/trunk/linux/; revision=19128
2012-06-11 05:21:50 +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 5007f191ed Use xz compression for upstream and Debian tarballs
svn path=/dists/sid/linux/; revision=19099
2012-06-08 12:34:48 +00:00
Ben Hutchings 59bbce5f61 Convert source package format to 3.0 (quilt)
svn path=/dists/sid/linux/; revision=19098
2012-06-08 12:33:39 +00:00
Ben Hutchings 499ac43db3 Convert patch system to quilt, except for the 'orig' patch series
svn path=/dists/sid/linux/; revision=19077
2012-06-03 23:29:42 +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 c7e1baf199 test-patches: Recognise the rt featureset automatically
Also update the example featureset and flavour names.

svn path=/dists/sid/linux/; revision=19074
2012-06-03 22:20:59 +00:00
Ben Hutchings 3ee4eff851 Update test-patches to work with a single patch series
svn path=/dists/sid/linux/; revision=19073
2012-06-03 22:19:13 +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 bf51475e7c Move 'orig' series out of the series directory
svn path=/dists/sid/linux/; revision=19069
2012-06-03 19:56:02 +00:00
Ben Hutchings 1c3a69f308 Drop use of multiple orig patch series
We don't need to preserve older versions of the orig patch series any more.

svn path=/dists/sid/linux-2.6/; revision=19056
2012-06-02 20:20:16 +00:00
Ben Hutchings 7b1b408f6d Fix version parsing in debian/bin/genorig.py when using a DFSG number
svn path=/dists/sid/linux-2.6/; revision=19055
2012-06-02 20:17:17 +00:00
Ben Hutchings 8e79053920 Merge changes from sid up to 3.2.18-1
svn path=/dists/trunk/linux-2.6/; revision=19029
2012-05-22 02:59:56 +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
Ben Hutchings 7dacceede8 test-patches: Fix -j option, broken since 3.1.0-1~experimental.1
svn path=/dists/sid/linux-2.6/; revision=19002
2012-05-16 22:24:47 +00:00
Bastian Blank 96b45e1593 debian/bin/abiupdate.py: Catch errors to retrieve package with config.
svn path=/dists/sid/linux-2.6/; revision=18824
2012-03-12 22:09:20 +00:00
Ben Hutchings cc34c3daef Fix path to ABI reference file for build check
This has been broken since the changes to version mangling for 3.1.

svn path=/dists/trunk/linux-2.6/; revision=18641
2012-01-27 04:59:27 +00:00
Ben Hutchings 221a989e1c Fix speling
svn path=/dists/trunk/linux-2.6/; revision=18640
2012-01-27 03:53:03 +00:00
Ben Hutchings 1c40df1f3c Fix superclass call from url_debian_ports_pool.__call__
This is actually dead code. but Thorsten Glaser spotted the bug anyway.

svn path=/dists/trunk/linux-2.6/; revision=18639
2012-01-27 03:52:10 +00:00
Ben Hutchings 6e00b45f9b Add support for getting ABI information from debian-ports
svn path=/dists/trunk/linux-2.6/; revision=18637
2012-01-26 05:27:39 +00:00
Ben Hutchings 140862fc78 Fix main invocation following PEP-8 name changes
svn path=/dists/trunk/linux-2.6/; revision=18636
2012-01-26 05:08:33 +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 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
Bastian Blank ae16437eb6 debian/bin/genorig.py: Create symlink to tar in "..".
svn path=/dists/trunk/linux-tools/; revision=18160
2011-10-07 20:31:19 +00:00
Bastian Blank 93d7cd4b8c debian/bin/genorig.py: Check both return values of git export.
svn path=/dists/trunk/linux-tools/; revision=18159
2011-10-07 20:20:47 +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
Bastian Blank e94a213f93 debian/bin/genorig.py: Support globs to copy files.
svn path=/dists/trunk/linux-tools/; revision=18112
2011-09-22 12:59:49 +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
Bastian Blank 3cc26070a4 * debian/bin/genorig.py: Include files needed for tools/perf.
* debian/build: Build tools/perf.
* debian/templates/control.source.in: Add build-deps.

svn path=/dists/trunk/linux-tools/; revision=17878
2011-07-31 17:19:18 +00:00