Commit Graph

366 Commits

Author SHA1 Message Date
Yves-Alexis Perez 6759b9a57e gencontrol.py: add support for disabling libc-dev package 2015-11-13 17:43:10 +01: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 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 c805050962 linux-manual: Fix regression in reproducibility in 4.2~rc8-1~exp1 2015-10-24 12:42:08 +09:00
Ben Hutchings 10d489d31f linux-support: Build with dh_python3 and set dependencies accordingly 2015-08-31 02:05:52 +01:00
Ben Hutchings 197e29aab4 debian/rules.real: Stop overriding interpreter for Python scripts 2015-08-31 02:00:26 +01:00
Ben Hutchings 808dfebf84 Release linux (4.1.5-1).
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAVdBSmOe/yOyVhhEJAQobgA//cuk5WYNUbO3wRi3Sk1RhrH5vJk1TTWPN
 8KXa3OLhoFz04FxZ4zgNBlW52bTsMcL1rVlPjpK4jUS8WMcCEWVARps62K4VVomw
 CrZvrBpzLoSPN6Eux5NTkA5/JypnGXPDJ46Dd0LApx9A3UcKWw6u4uWCTyJyhJVd
 BSGFQwjcjJV7+WGw2ozV3fZFgwLbVyrvnIpMRwIwFnR61uAS2qy89HBTvfCk5h6m
 zqeJmmiSKOVbOxrDtyRRiUN9yFflUuSsxbIfbB+O02qSb6bhKpfTUVOQN7WoQRHs
 42culA2269r2gC0OkYwOQu1qm3TGoFafBqa5BhLYOKx8s/OXzW/zLJpaxVeewL2R
 tDHm5ZRqmO9fnUB4x3qI46uxQXr5XC2i/L2RppIOcnImZk7/qytn90KTTWIz2mUN
 Flj+K1nI3szkiQQROYXE7oKyMdBQu45V3oHifZM6HI9iklUL0BRo0jdnXxvji82V
 OL0VrmCymlKGa/OPjwN6SJa0bZ7NCTlJaG1axsMAVtovY7xaIdk0RcsQJBRQeQpu
 5ebTP9qDHPS5s6UeDJ4yGlv8moLGSQieYpcWHUiLgadE8EGR5/1ykrfc3FsuWS+G
 xCAYoC20G33+krI7mXMQyHil3w4OtYIvaV4LtrxXNRgbixdrP4MVzJMkoPmLLgBH
 J+pFZOgfG2c=
 =7MCr
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.1.5-1'

Conflicts:
	debian/changelog
	debian/patches/series
	debian/rules.real
	debian/templates/control.source.in
2015-08-22 18:07:50 +02:00
Ben Hutchings b60f5c4de1 Set LC_ALL=C.UTF-8 for all builds
Upstream sets LC_ALL=C when building most things, and we do that in
one place to ensure consistent ordering.  However the encoding of HTML
docs still differs.  Choose 'C.UTF-8' instead of 'C' because it makes
the HTML docs slightly smaller.
2015-08-21 17:10:12 +02:00
Ben Hutchings 3bb9b71582 linux-source: Fix compression of the source tarball (Closes: #795199)
When we introduced the find | sort | xargs tar pipeline to make the
tarball reproducible, I was concerned that there could be so many
arguments that xargs would call tar more than once.  I therefore
changed the tar -c option to -r so that it would append rather
than overwriting in this case.

However, the -a option seems to have no effect when -r is used, so
the tarball is no longer compressed.

Instead of using xargs, use tar's -T option and change the -r
back to -c.
2015-08-12 18:02:17 +02:00
Ben Hutchings 42b6cc2f10 debian/rules.real: Use dpkg-parsechangelog -S
This option is supported since dpkg 1.17 (i.e. jessie) and allows a
nice little clean-up.

svn path=/dists/trunk/linux/; revision=22852
2015-07-24 20:49:22 +00:00
Ben Hutchings 00c6ad9c5c linux-source: Sort files in the tarball to make it reproducible
svn path=/dists/trunk/linux/; revision=22804
2015-07-06 21:22:54 +00:00
Ben Hutchings 9a70d28e7d Apply more timestamp fixes from Jérémy Bobbio in #769844
svn path=/dists/trunk/linux/; revision=22649
2015-05-12 19:11:55 +00:00
Ben Hutchings 35112ab3eb debian/rules.real: Remove the redundant SOURCE_DATE_UTC_822 variable
We can just as well use $(SOURCE_DATE); it gets converted into the
same POSIX timestamp later.

svn path=/dists/trunk/linux/; revision=22648
2015-05-12 19:05:41 +00:00
Ben Hutchings 73842f1f17 linux-image: Fix timestamps in the built-in initramfs for reproducible build
$KBUILD_BUILD_TIMESTAMP is used in two places:
1. By mkcompile_h, to generate both the utsname::version string
2. By gen_initramfs_list.sh, to set the timestamps for the built-in initramfs

As we want utsname::version to contain the package version and not an
RFC822 timestamp, the current value doesn't work for (2).

Change mkcompile_h to prefer $KBUILD_BUILD_VERSION_TIMESTAMP over
$KBUILD_BUILD_TIMESTAMP, and set both variables in debian/rules.real.

svn path=/dists/trunk/linux/; revision=22647
2015-05-12 18:52:20 +00:00
Ian Campbell d1700da6fb [arm*] Install DTBS using dtbs_install target. (Closes: #784761)
svn path=/dists/trunk/linux/; revision=22565
2015-05-09 08:26:26 +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
Ben Hutchings 8d627986a9 Don't try to define $(DEB_HOST_ARCH) etc. if $(ARCH) is not defined
For arch-independent packages we don't need these, and the invocations
of dpkg-architecture with empty $(ARCH) result in error messages.

svn path=/dists/sid/linux/; revision=22033
2014-11-04 02:02:28 +00:00
Ben Hutchings cf4020e229 bug script: Warn if the running kernel matches the ABI name of the package but is not the installed version
svn path=/dists/sid/linux/; revision=22032
2014-11-04 01:22:49 +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 ddec81cac7 linux-image: Recommend irqbalance if CONFIG_SMP is enabled (Closes: #577788)
svn path=/dists/sid/linux/; revision=22003
2014-10-31 06:16:08 +00:00
Ben Hutchings 2762ad1f92 debian/rules.real: Never make kernel-wedge errors non-fatal
Currently we set KW_CHECK_NONFATAL=y when building for experimental or
an unreleased package.  In theory people would be checking for
kernel-wedge errors in the build logs.  In practice this meant we
didn't see them until they appear in unstable where they are fatal.

svn path=/dists/sid/linux/; revision=21830
2014-09-12 17:01:30 +00:00
Bastian Blank 990a64a56d debian/rules.real: Really exclude stuff from doc package.
svn path=/dists/trunk/linux/; revision=21702
2014-08-07 17:23:58 +00:00
Bastian Blank 0890e7d507 debian/rules.real: Filter installed documentation
svn path=/dists/trunk/linux/; revision=21701
2014-08-07 16:50:39 +00:00
Ian Campbell 235e811596 [arm64] Initial kernel configuration and packaging.
svn path=/dists/sid/linux/; revision=21356
2014-05-22 18:23:45 +00:00
Ben Hutchings 8bb368ac23 Remove leading tabs on comment and blank lines
emacs keeps complaining these are 'suspicious', and gmake doesn't
care either way, so remove them.

svn path=/dists/trunk/linux/; revision=21259
2014-04-22 19:52:32 +00:00
Ian Campbell b43913c15f Use $(KERNEL_ARCH) when installing DTBs
svn path=/dists/trunk/linux/; revision=21255
2014-04-21 10:26:37 +00:00
Ben Hutchings 43ddf46672 Split image installation from Device Tree installation
The bulk of the
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image rule is
actually Device Tree stuff, so rename it accordingly and move
installation of the image (now a single generic command) up to the
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain rule.

svn path=/dists/trunk/linux/; revision=21254
2014-04-21 02:05:22 +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
Ben Hutchings ffc25b2105 linux-source: Compress with gzip -1 (Closes: #725492)
svn path=/dists/sid/linux/; revision=20894
2013-12-19 11:19:47 +00:00
Ben Hutchings 584007f3e8 linux-image-dbg: Use correct objcopy command when cross-compiling, thanks to Jon Severinsson
svn path=/dists/trunk/linux/; revision=20843
2013-12-02 05:22:23 +00:00
Ben Hutchings cc87a96da2 Update 'DocBook: Make Documentation/DocBook -j clean' to be suitable for upstream
svn path=/dists/trunk/linux/; revision=20691
2013-09-30 01:07:52 +00:00
Bastian Blank 9cef8b615d * debian/changelog: Update.
* debian/rules.real:
  Symlink doc directory from linux-headers to linux-headers-common.

svn path=/dists/trunk/linux/; revision=20566
2013-09-05 12:18:24 +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 c8f07adb80 Move templates in preparation for using a single template system
svn path=/dists/trunk/linux/; revision=20505
2013-08-17 11:30:57 +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 f64aa6874e linux-source: Disable compression of package (but use gzip, to keep old tools happy)
svn path=/dists/sid/linux/; revision=20399
2013-07-21 22:41:58 +00:00
Ben Hutchings 2b83afcb2f linux-source: Switch compression of tarball and patch to xz
svn path=/dists/sid/linux/; revision=20398
2013-07-21 22:28:59 +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 1a8c9fc9d5 Add source date back to utsname::version (ISO format, date only)
svn path=/dists/trunk/linux/; revision=20182
2013-06-02 21:20:17 +00:00
Ben Hutchings 55da5d676a Merge changes from sid up to 3.2.41-2
svn path=/dists/trunk/linux/; revision=19951
2013-03-27 03:51:48 +00:00
Ben Hutchings 15cc7e2b4a Add 'set -o pipefail' in front of find pipelines to catch regressions like #703800
svn path=/dists/sid/linux/; revision=19944
2013-03-24 02:28:11 +00:00
Ben Hutchings 2378c62858 linux-headers: Fix find syntax so module.lds is included again
svn path=/dists/sid/linux/; revision=19943
2013-03-23 23:29:38 +00:00
Ben Hutchings 000a73ec79 linux-headers: Fix file installation on architectures without Kbuild.platforms (Closes: #703800)
svn path=/dists/sid/linux/; revision=19942
2013-03-23 23:22:08 +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
Ian Campbell c60e79b3f3 arm: correct path to DTB files. Patch from Nobuhiro Iwamatsu. (Closes: #703082)
svn path=/dists/trunk/linux/; revision=19914
2013-03-16 08:58:50 +00:00
Aurelien Jarno 7b3c271c7c headers: Include Kbuild.platforms and Platform files in -common to fix out-of-tree building on mips and mipsel.
svn path=/dists/sid/linux/; revision=19880
2013-03-01 22:03:38 +00:00
Ben Hutchings a3590a7797 Merge changes from sid up to 3.2.39-1
Drop most patches as they're already upstream in 3.8 or early.

Refresh some others for 3.8.  In particular, remove use of __devinit from
debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
as this macro is no longer defined or needed.

svn path=/dists/trunk/linux/; revision=19856
2013-02-25 03:35:39 +00:00
Ben Hutchings 2aedaff7b1 linux-image-dbg: Add symlinks to vmlinux from the locations expected by kdump-tools (Closes: #700418), systemtap and others
svn path=/dists/sid/linux/; revision=19838
2013-02-23 04:49:21 +00:00
Ben Hutchings 2aad44d7a3 Add powerpcspe architecture, thanks to Roland Stigge (Closes: #693042)
svn path=/dists/trunk/linux/; revision=19792
2013-02-07 03:17:30 +00:00