Commit Graph

374 Commits

Author SHA1 Message Date
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 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 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 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 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 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