Commit Graph

428 Commits

Author SHA1 Message Date
Yves-Alexis Perez 0dd643da08 fix tools disabling in arch-specific rules
(cherry picked from commit 3aa2269f2b3162772d052154d8bed726ff18df1e)

[bwh: Note this in debian/changelog.  Neaten vertical spacing.]
2016-05-14 19:07:15 +01:00
Ben Hutchings 12fe9efbc6 stable-update: Rewrite stable-update.sh in Python
This fixes some of the problems dch was causing:
- Putting the stable log in the wrong place
- Updating the date unnecessarily

Change stable-update.sh to be a wrapper for stable-update.

Delete ckt-stable-update.sh; if we need it again in future, it can be
implemented more cleanly as part of the new script.
2016-05-06 21:37:36 +01:00
Ben Hutchings 516d9dac1d debian/config: Add config variable to control module signing in linux-signed
- Enable it by default
- Disable it for armel/marvell since signature verification is not enabled.
- Disable it for mips and mipsel so linux-signed can be uploaded without
  waiting for them to build
- Disable it for all architectures not in the main archive, as linux-signed
  won't support them (at least, not initially).

We don't need a variable to control signing of the image, because
we should do that for all flavours that have CONFIG_EFI_STUB=y.
2016-04-04 10:41:48 +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 d7b31e0e23 debian/rules.real: Rename build-arch and setup-flavour rules for consistency 2016-03-20 21:51:13 +00:00
Ben Hutchings eaff86e9e2 gencontrol.py: Change substitute_file() from local function to method
We will need to use it in multiple methods of Gencontrol.
2016-03-20 21:39:38 +00:00
Ben Hutchings 466e99f397 linux-perf: Override lintian errors for perf-read-vdso{,x}32 in 64-bit packages 2016-03-20 19:08:47 +00:00
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