Commit Graph

168 Commits

Author SHA1 Message Date
Ben Hutchings 59b5fabac6 debian/control,debian/rules,debian/rules.d: Support the 'nodoc' build profile 2016-05-15 03:11:42 +01:00
Ben Hutchings 43640872d9 debian/control,debian/rules: Support a 'pkg.linux.notools' build profile
...which does not build tools packages
2016-05-14 20:46:46 +01:00
Ben Hutchings a5f7516c0c Merge linux-tools source package into linux (Closes: #550379, #573483, #816500)
* Drop redundant gitignore.patch from linux-tools
* Rename linux-tools' debian/templates/control.main.in to
  debian/templates/control.tools.in
* Combine changelogs, putting all entries for each upstream release
  cycle in chronological order
* Combine rules and gencontrol.py code
2016-03-21 01:32:16 +00:00
Ben Hutchings 0033746862 Move makefile hierarchy to debian/rules.d; use debian/build for output only
By passing both -C and -f options to make, we can separate makefiles
from the output directory without adding prefixes to all targets.

We can also reduce the 'clean' commands to little more than 'rm -rf'.
2016-02-19 20:24:18 +00:00
Ben Hutchings e1fd4b6f1e Move definition of OUTDIR from debian/build/**/Makefile to outer rules
Simplify things by making debian/rules.real, debian/rules and
debian/build/Makefile.inc (for the recursive case) set OUTDIR.
2016-02-19 20:02:31 +00:00
Ben Hutchings 291e65ffd0 debian/rules: Fix check for binNMU, broken since 4.1.4-1 2015-12-19 03:47:50 +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 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 198dbc7165 Fix the build-indep and binary-indep targets (fixes FTBFS for arch:all) 2015-10-14 02:15:06 +01:00
Ben Hutchings 5385ecc9a8 Move stamp directory creation into rules.real 2015-10-14 02:05:28 +01:00
Ben Hutchings 468eb97bf7 Remove the redundant build-base stamp file 2015-10-14 02:05:28 +01:00
Ben Hutchings 40299a2dbd debian/rules: Add support for DEB_BUILD_OPTIONS=parallel=N 2015-09-25 22:15:31 +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 1e84c2a729 debian/rules: Exclude .git from maintainerclean rule 2015-08-11 19:09:44 +02:00
Bastian Blank 66fd690ba9 Use pre-defined version variables
svn path=/dists/trunk/linux-tools/; revision=22773
2015-06-28 19:30:14 +00:00
Bastian Blank ab2a55f5f2 Use dpkg provided make-snippets
svn path=/dists/trunk/linux-tools/; revision=22772
2015-06-28 19:00:39 +00:00
Bastian Blank 81e4c8c921 debian/rules: Clean __pycache__ from current python versions.
svn path=/dists/trunk/linux/; revision=21352
2014-05-18 16:45:06 +00:00
Ben Hutchings 4f97c4f1e9 debian/rules: Don't kill a git-svn clone on "make -f debian/rules orig".
Thanks to Jon Severinsson.

svn path=/dists/trunk/linux-tools/; revision=20844
2013-12-02 05:25:21 +00:00
Ben Hutchings 39850b1cb4 Add debian/xen-linux-system-* to clean rules
Like many other of our binary packages, dh_clean can miss this after a
version bump.  Not sure why it wasn't already inclued.

svn path=/dists/trunk/linux/; revision=20549
2013-09-01 04:28:44 +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 28acb1fbb6 Update policy version to 3.9.4
debian/rules: Implement build-arch and build-indep targets

svn path=/dists/trunk/linux-tools/; revision=20329
2013-07-02 05:15:33 +00:00
Ben Hutchings b59c576e26 Merge changes from sid up to 3.8.11-1
svn path=/dists/trunk/linux/; revision=20053
2013-05-06 22:10:37 +00:00
Ben Hutchings 2725cdf944 Apply patches in orig target, matching "dpkg-source -x" and linux orig target
svn path=/dists/trunk/linux-tools/; revision=19889
2013-03-02 16:15:44 +00:00
Bastian Blank fc7e60a278 debian/rules: Reorder rules.
svn path=/dists/trunk/linux/; revision=19550
2012-11-27 18:30:43 +00:00
Bastian Blank 230f4a9380 debian/rules: Remove extra base stamp files.
svn path=/dists/trunk/linux/; revision=19549
2012-11-27 18:29:19 +00:00
Bastian Blank ec81c659a5 debian/rules, debian/rules.real: Remove unneeded chmod calls.
svn path=/dists/trunk/linux/; revision=19405
2012-10-04 13:06:29 +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 bfa25d48b7 Explicitly set QUILT_PC when invoking quilt
Derived packages (e.g. for extra featuresets) may be maintained using
yet another patch series (touching the debian directory).  This will
require an additional status directory, specified by setting QUILT_PC.
Override this when we invoke quilt to apply the main and featureset
patch series.  (Thanks to Yves-Alexis Perez.)

svn path=/dists/sid/linux/; revision=19243
2012-07-09 13:42:47 +00:00
Ben Hutchings 369f4bd8be Ignore .git directory when copying/comparing source
This helps people using git-svn checkouts (thanks to Yves-Alexis Perez)

svn path=/dists/sid/linux/; revision=19242
2012-07-09 13:28:07 +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
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 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 751cd05a5f linux-patch-debian: Remove
It is no longer necessary for GPL compliance and does not work with our
current patch management.

svn path=/dists/sid/linux/; revision=19068
2012-06-03 19:50:07 +00:00
Ben Hutchings ecd24ebe78 Fix regexp for binNMU detection
In basic regular expressions, the correct way to match a literal '+'
is just '+'.

svn path=/dists/trunk/linux-2.6/; revision=18674
2012-02-10 02:32:52 +00:00
Ben Hutchings b6177993e9 Add debian/installer/package-list to debian/control source files
svn path=/dists/trunk/linux-2.6/; revision=18352
2011-12-05 01:42:04 +00:00
Ben Hutchings 679a4bb14f Change the check for stale debian/control to tolerate binNMUs (Closes: #649005)
svn path=/dists/sid/linux-tools/; revision=18290
2011-11-17 03:17:16 +00:00
Bastian Blank 381d952cef debian/rules, debian/rules.real: Move job definition into main makefile.
svn path=/dists/trunk/linux-2.6/; revision=18200
2011-10-28 22:28:39 +00:00
Bastian Blank 22e412e9c1 * debian/changelog: Update.
* debian/rules, debian/rules.real: Remove linux-tools build and removal.
* debian/templates/control.main.in: Remove linux-tools-* package.

svn path=/dists/trunk/linux-2.6/; revision=18195
2011-10-28 20:42:34 +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 8aff3c1a42 Clean up old xen-linux-system package build directories
svn path=/dists/trunk/linux-2.6/; revision=18084
2011-09-13 13:49:20 +00:00
Bastian Blank 37b7f2a85b * debian/changelog: Update.
* debian/patches: Add patch.
* debian/rules: Remove now unneeded autoconf.h handling.

svn path=/dists/trunk/linux-tools/; revision=17877
2011-07-31 11:32:31 +00:00
Bastian Blank a78250e1bc Move imported code to root directory.
svn path=/dists/trunk/linux-tools/; revision=17874
2011-07-31 11:18:48 +00:00
Bastian Blank 4ba4479b0d * debian/build: Move build infrastructure.
* debian/rules: Clean build dir
* debian/rules.real: Use build dir directly.

svn path=/dists/trunk/linux-tools/; revision=17872
2011-07-31 11:02:37 +00:00
Ben Hutchings 319de86657 debian/rules: Change 'clean' rule to remove package build directories even after a version bump, thanks to Timo Juhani Lindfors
svn path=/dists/trunk/linux-2.6/; revision=16576
2010-11-20 19:08:42 +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 b43829337c Remove template-generated files in clean rule
svn path=/dists/sid/linux-2.6/; revision=15804
2010-05-28 23:47:07 +00:00
Ben Hutchings 4a474f72f8 New upstream version (2.6.34).
Generate dummy autoconf.h to keep modpost building.

svn path=/dists/trunk/linux-kbuild-2.6/; revision=15713
2010-05-17 02:49:41 +00:00
Bastian Blank e5a47ef568 debian/rules: Don't remove versioned files in maintainerclean.
svn path=/dists/sid/linux-2.6/; revision=15635
2010-05-07 14:59:36 +00:00