Commit Graph

70 Commits

Author SHA1 Message Date
Luca Boccassi 380ff19d50 Don't add linux-source to d/control when source: false
With the recent refactor, setting source: false in debian/config/defines
is no longer enough to disable the linux-source-$ver package build, as
dh_listpackages is used to determine what is built.
Do not add linux-source-$ver to d/control if it is disabled.
2019-01-18 20:57:32 +00:00
Ben Hutchings c6cd2b3a13 debian/templates: Move various build-dependencies to binary package templates 2018-09-11 01:15:26 +01:00
Ben Hutchings a14e37b110 Move config files from linux-source to an arch-dependent linux-config package
In Linux 4.18, various compiler version and feature tests are invoked
via kconfig rather than via kbuild.  This means that we generally
cannot generate kconfig files for foreign architectures.

Move the config files to a new linux-config-<version> package which is
arch-dependent (and also M-A: same).

Make linux-config-<version> and linux-source-<version> recommend each
other.
2018-07-03 15:12:33 +01:00
Luca Boccassi b3be450737 Add build profile and config/defines for disabling linux-source
Add a new "pkg.linux.nosource" to let users disable building the
linux-source-* package, and allow to set "source: false" to modify
the default behaviour when no rofile is used.
When doing development builds this can save up to 15 minutes of build
time, especially on IO-strapped build workers.
2018-05-08 19:17:15 +01:00
Ben Hutchings 114088708f Fix linux-doc, linux-manual, linux-source, linux-support package names
We don't want to include "-4.9" in them twice.  Add a "source_basename"
template variable that excludes any version suffix in the source package
name.

(cherry picked from commit f3c51efdd6e9d0ce32ee5a0f998fdcda930a715c)

For master, nothing is immediately broken without this.  Also we have
no longer build a linux-manual package.  Change the changelog text
accordingly.
2018-04-29 21:19:11 +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
Yves-Alexis Perez c346a6be26 use source package name as source for binary ones
use source package name in templates so it's easier for derivatives like
src:linux-grsec to not conflict with binaries from src:linux.

Original patch by Ben Hutchings.
2015-11-10 18:27:41 +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 10d489d31f linux-support: Build with dh_python3 and set dependencies accordingly 2015-08-31 02:05:52 +01:00
Ben Hutchings 48cb343ec0 linux-source: Depend on xz-utils, not bzip2 (Closes: #796940) 2015-08-26 00:18:28 +01: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
Ben Hutchings 0302cfb535 Stop providing virtual packages linux-image (Closes: #724569), linux-headers and linux-source
svn path=/dists/trunk/linux/; revision=20686
2013-09-29 22:41:06 +00:00
Ben Hutchings cb3f128b94 linux-source: Add bc to recommended packages (Closes: #715413)
svn path=/dists/trunk/linux/; revision=20340
2013-07-10 22:10:17 +00:00
Ben Hutchings 55dc783bbf debian/rules.real: Remove support for pre-multiarch dpkg
svn path=/dists/trunk/linux/; revision=20327
2013-07-02 05:06:18 +00:00
Ben Hutchings 14fd890c1d linux-source: Suggest pkg-config, needed to build kconfig GUIs (Closes: #682726)
svn path=/dists/sid/linux/; revision=19292
2012-07-25 03:25:11 +00:00
Ben Hutchings 4a2ff091e9 linux-{doc,manual,source,support}: Mark as capable of satisfying relations from foreign packages (Multi-Arch: foreign) (Closes: #679202)
svn path=/dists/sid/linux/; revision=19223
2012-06-28 03:45:03 +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 74bd1d7e87 Drop references to kernel-package
kernel-package has been unmaintained for a year or so.

svn path=/dists/trunk/linux-2.6/; revision=18604
2012-01-23 13:23:08 +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
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
Aurelien Jarno a2a80612e7 * Add configuration files for s390x architecture.
svn path=/dists/trunk/linux-2.6/; revision=17861
2011-07-28 09:37:10 +00:00
Ben Hutchings a987a4c771 Merge changes from sid up to 2.6.39-3
svn path=/dists/trunk/linux-2.6/; revision=17830
2011-07-12 05:25:23 +00:00
Ben Hutchings 18217c7c93 linux-source-<version>: Suggest libqt4-dev (for 'make xconfig') instead of libqt3-mt-dev (Closes: #631666)
svn path=/dists/sid/linux-2.6/; revision=17725
2011-06-25 22:18:46 +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 9981e3ae28 [armhf] Build a linux-tools package
svn path=/dists/trunk/linux-2.6/; revision=17269
2011-04-29 03:55:22 +00:00
Ben Hutchings 0e97e46cea [ppc64] Add to linux-tools package architectures (Closes: #620124)
svn path=/dists/sid/linux-2.6/; revision=17159
2011-03-30 12:31:31 +00:00
Ben Hutchings f122cbc67a Remove firmware-linux-free and linux-base binary packages
These now have their own source packages.

Change the depends/recommends relations to these binary packages to
use a minimum version of 3~, less than the initial versions of the
separate source packages but still greater than the previous versions.

Remove the debconf templates and translations for linux-base.

svn path=/dists/trunk/linux-2.6/; revision=17055
2011-03-12 09:13:38 +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 e54cefd0de perf: Enable Perl and Python scripting
svn path=/dists/trunk/linux-2.6/; revision=16422
2010-10-10 02:36:46 +00:00
Ben Hutchings c86844648a On second thoughts, move scripts to /usr/share/perf_<version>-core
svn path=/dists/trunk/linux-2.6/; revision=16421
2010-10-10 02:12:28 +00:00
Ben Hutchings 3fd8f69aad perf: Move scripts to /usr/share/perf-core in linux-base package (Closes: #599624)
svn path=/dists/trunk/linux-2.6/; revision=16420
2010-10-10 01:48:46 +00:00
Ben Hutchings 3ce11d748c linux-base: Remove dependency on libapt-pkg-perl (Closes: #589996, really)
svn path=/dists/trunk/linux-2.6/; revision=16357
2010-09-26 14:36:27 +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 2f7603fb20 linux-tools: Restrict architectures
Don't attempt to build for architectures where perf events are not available.
Also set V=2 to help debug any build failures.

svn path=/dists/trunk/linux-2.6/; revision=15974
2010-07-10 20:53:49 +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 28817f7dbd Merge /dists/sid/linux-2.6 (2.6.32-12).
svn path=/dists/trunk/linux-2.6/; revision=15620
2010-05-04 02:55:51 +00:00
Ben Hutchings 06986e9c25 Use vol_id if available since the version of blkid in lenny does not support the output format we need (Closes: #576608)
svn path=/dists/sid/linux-2.6/; revision=15509
2010-04-11 00:50:08 +00:00
Ben Hutchings a40042f1ab linux-base: For consistency with fresh installations, use or assign UUIDs rather than labels where both are available (Closes: #572376)
svn path=/dists/trunk/linux-2.6/; revision=15347
2010-03-10 03:57:49 +00:00
Ben Hutchings 1010d1cd17 Use libata-based drivers for most PATA controllers (Closes: #444182)
Add transition script to linux-base and make all images depend on it


svn path=/dists/trunk/linux-2.6/; revision=15272
2010-02-25 04:11:39 +00:00
Bastian Blank 833834e375 Add linux-base package.
* debian/rules.real: Build linux-base.
* debian/templates/control.main.in
* debian/tree: New directory.
* debian/tree/linux-base: Add empty tree for linux-base.

svn path=/dists/trunk/linux-2.6/; revision=14737
2009-12-05 15:33:15 +00:00
Bastian Blank fa0d5b3039 debian/templates/control.main.in:
Make linux-patch package depend against python.

svn path=/dists/trunk/linux-2.6/; revision=14699
2009-11-28 14:45:16 +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
Ben Hutchings b4830dbdb1 Add firmware-linux-free package containing DFSG-free firmware.
Make kernel image packages recommend it.

svn path=/dists/trunk/linux-2.6/; revision=13934
2009-07-15 01:23:53 +00:00
Maximilian Attems c3fff7baed linux-source reword long desc
fixes lintian warning:
linux-source-2.6.30

    * I using-first-person-in-description
          o line 4: we

svn path=/dists/trunk/linux-2.6/; revision=13842
2009-06-22 22:56:25 +00:00
Bastian Blank 76b99fd2e4 * debian/changelog: Update.
* debian/templates: Update sections.

svn path=/dists/trunk/linux-2.6/; revision=13803
2009-06-13 11:10:20 +00:00
Bastian Blank a46c6d7e8c debian/templates/control.main.in: Whitespace cleanup.
svn path=/dists/trunk/linux-2.6/; revision=11897
2008-07-23 23:40:59 +00:00
Bastian Blank 9f0f3674ae debian/templates: Whitespace cleanup.
svn path=/dists/trunk/linux-2.6/; revision=11896
2008-07-23 23:38:47 +00:00
Bastian Blank 7254cc540f debian/templates/control.main.in: Make linux-patch depend against linux-support.
svn path=/dists/trunk/linux-2.6/; revision=11099
2008-04-19 10:01:11 +00:00
Bastian Blank d266b58f74 * debian/bin/abicheck.py, debian/bin/abiupdate.py, debian/bin/gencontrol.py
debian/bin/kconfig.py, debian/modules/gencontrol.py,
  debian/templates/patch.apply.in: Use default python.
* debian/rules.real: Use python-central.
* debian/templates/control.main.in: Depend against python.
* debian/templates/control.source.in
  - Build depend against python and python-central.
  - Setup new python support.
* debian/templates/control.support.in: Setup python support.

svn path=/dists/trunk/linux-2.6/; revision=9485
2007-09-10 10:40:50 +00:00
Bastian Blank e541606056 debian/templates/control.headers.in,
debian/templates/control.image.type-modulesextra.in,
debian/templates/control.image.type-modulesinline.in,
debian/templates/control.image.type-standalone.in,
debian/templates/control.main.in: Remove old backward compatibility text.

svn path=/dists/trunk/linux-2.6/; revision=6824
2006-06-18 20:09:11 +00:00