Commit Graph

433 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 9fa5f38a40 linux-headers: Avoid mixed implicit and normal rules in Makefile
Thanks to Thierry Herbelot; closes: #822666
2016-04-28 14:08:54 +02:00
Ben Hutchings 35602a868b linux-source: Fix up module signing configuration in included kernel config files
Our signing certificate isn't included in the source tarball and would
be pointless to include in custom kernels.  Custom kernels also won't
have a separate signing stage.  So remove our settings for
CONFIG_MODULE_SIG_ALL, CONFIG_MODULE_SIG_KEY and
CONFIG_SYSTEM_TRUSTED_KEYS.  This should cause custom kernels based on
the included configs to follow the upstream default for signing, which
is to use a new key pair for each build.
2016-04-25 00:48:09 +02:00
Ben Hutchings 2b5668bad8 linux-support: Include udeb configuration from debian/installer
This will be used by the linux-signed package.
2016-04-13 20:53:05 +01:00
Ben Hutchings df9fdb5217 debian/rules.real: Define VERSION in tool builds again
The perf and lockdep makefiles use it in filenames.
2016-03-21 14:01:38 +00:00
Ben Hutchings 1138bda5ff Clean up tools build rules
* Rename the make macro from submake to make-tools
* Rename debian/stamps/build to debian/stamps/build-tools
* Build them all under debian/build/build-tools/
2016-03-21 03:14:46 +00: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 f095f43522 Use dpkg makefile to define architecture variables 2016-03-20 22:24:13 +00:00
Ben Hutchings 8f3922a3c7 Fix architecture filtering to use DEB_HOST_ARCH not DEB_BUILD_ARCH
Should make cross-builds work properly.
2016-03-20 22:00:15 +00:00
Ben Hutchings e7ca0e5b69 debian/rules.real: Add initial empty rules for {binary,build}-{arch-arch,indep}
We add dependencies to them later depending on the source package config.
2016-03-20 21:55:06 +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 85aba07cc0 Simplify make rules for cpupower 2016-03-20 20:08:08 +00:00
Ben Hutchings 4fe6a76379 Release linux-tools (4.4.6-1).
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAVu737ue/yOyVhhEJAQqyag/+IUmrQLhgB05KxMZ8oRwmEF/PJPF0hKCu
 ZfvPiEO2nS1vQO5ulKp3dkfWWAJbC4BCDO7HAiYjM8J/JUbfb7VrvqgU2LyaEjev
 jpzUhDHD61jO1nTS0s3NKBInOSzn+jCcDSCEFlvzTQzsV5XbLI7cazIW+L29fR+X
 sIJpUzIqMi3UgcbpTx3CfTbodvQ/K7AI9lPN0NIDak7DWtMOUBrUBgTotDY0s+68
 yTD7oiUVdS4nL/BVwKXurSDIPXOnTio5JwmDwqEW1LRXq3Y6IgZKFsGSqmZva19q
 ZZ+T8885/ek116hUhVHF6Cxj24y6LErd+uxJO+J/K52r5Vgw/VwD+pbZBoiSrsmM
 IlqAwDRahNzWO5QU5IWUfPjcsVeye+RKv6EuYoqf43MiltRTdOys154ZesShd95H
 PzjaYQw//DzcnQbxW0wE/GGbTEQKGUgHpw5+2ZRaZ3GE9eExRqKO1ZJhL8Miu8ys
 Y3GJOHBASYq3pXtzpYPlJTAVluKsHScB9VtpXSFcrbwR2Mhqv1k4ZBwFUMh0Dgtb
 BEseEAw/VZQoTsbwR4ZwVwXvw+rFMe21FoVmn0ZM8WsrCqNeN7PQ/QG5CsD+R75N
 tJOMwWfgt5U/JP0ChtOAnywiRKAo52SdBDmyxh4c2qsdFcR6Un2B70Q5A1gY8B2+
 +of7tBDFL8Q=
 =sw9T
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.4.6-1'

Move debian/build/tools/power/cpupower/Makefile to
debian/rules.d/tools/power/cpupower/Makefile where it belongs now.
2016-03-20 20:07:25 +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
Mattia Dongili 96559e9c4c Build tools from power/cpupower
They'll eventually replace cpufrequtils and libcpufreq{0,-dev} so the
structure of the packages is the same.
2016-03-20 15:49:21 +00:00
Ben Hutchings 014aa49511 Makefile.inc, rules.real: Fix conflation of $(DESTDIR) and $(prefix) 2016-02-22 23:39:54 +00:00
Ben Hutchings eb215f16de Release linux-tools (4.4-3).
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAVsnSzee/yOyVhhEJAQp6HQ//YtPneFvZF7XJoJMsl8cqEWM1NKw85YJy
 R6zWvohaMRxvKxmessZAgSSXLRfyJB6aob5XafbRwSwGSc99AZYOKqYhf8Qz8nx+
 STXGEjGB/mzlJvswz79BGxUN32lVvoV1V3YzHpWRveBClYTiefenj6RmJdVlECnv
 cyRRKxhHumkueKtBfTISvsh+jTBu7aZtXh/GV7aLDSlhzzSGCzLZWmtKiKOKH+xX
 ta49mLV1kWLJHfBaJg23a5YiIFmKi4+n1EX7T7H9ivgMbIDXKrGPQ7oC1hza1ZrF
 xZjS5HHUjlRylwextlzIYKK7kkm3JROWjSWJyxzFGHNH4UC8kKmChovrq93q3Cuu
 3rHz5/nuuLsoxjpyk1U97mPGzGpfB+LES45GZq6E8/LejrFVX/HkX9tD92mJB1yt
 oBAskRVRKVIHgf9fG3XD8ACBEf8n6Y1gBwJ2DVXY8tacMRTEBe99BN5DCsojjm9X
 BZFPlATDhB+ZMFBpmUTYa3pMIs5Pat2to6F6MRTNWNiSn1tbDJj3LrY/yQQJGwUw
 I+SYgnQm8vvhjfN64kAu/AgYz5WFv1vk6YvcTKrXuJv2vuMvcV7SqoBSHQgCcHVU
 N/H1e5XHBN4KMY9EsSyawLV6Q+Libo5SGDcrzoA80BE5sXwiCbQ5zx2sp17LRJeC
 YD67dnle7s0=
 =6e+I
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.4-3'

Move check-hyperv.c under debian/rules.d.
2016-02-21 16:29:48 +00:00
Ben Hutchings 0bd35d792a hyperv-daemons: Add init scripts
Also add a helper executable that implements the check for Hyper-V
(like ConditionVirtualization=microsoft in the systemd units).

(cherry picked from commit 50747480c882dae7d3c8f7b4d0df5cf3276c4ee5)
2016-02-21 15:03:47 +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 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 33cd223d58 linux-image-dbg: Don't rely on upstream makefile to make .build-id links to vDSO debuginfo
Fixes FTBFS on arm64, s390.
2016-01-19 17:50:28 +00:00
Ben Hutchings 9a6aa4816a linux-image-dbg: Include debugging symbols for VDSOs 2016-01-13 15:08:47 +00:00
Yves-Alexis Perez 71c199151b use source package name also for linux-source
(cherry picked from commit 75fcd56b9f198eaef32c618e9abe9d85405cd880)
2016-01-08 09:54:36 +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 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
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 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 a3a8096d0e [x32] Build hyperv-daemons package 2015-09-29 14:12:51 +01:00
Ben Hutchings 98517d1ea6 [x32] Don't attempt to build linux-perf (fixes FTBFS) 2015-09-29 14:12:43 +01: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 042546e3a1 Add liblockdep packages
liblockdep is in fairly bad shape - one patch needed to make it build
at all, another to make it build in a separate directory successfully,
and a third to fix the soname.  And the install rule doesn't install
its public headers.  But maybe it will be useful.
2015-08-14 00:21:08 +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 bb6e62e1ed Update rules for renaming of linux-tools binary package
svn path=/dists/trunk/linux-tools/; revision=22899
2015-08-03 23:46:29 +00: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 b3cf7793e2 hyperv-daemons: Only attempt to build package on i386, amd64 (fixes FTBFS on other architectures)
svn path=/dists/trunk/linux-tools/; revision=22837
2015-07-16 18:59:30 +00:00
Ben Hutchings 2fe492c10f linux-tools: Set $KBUILD_BUILD_TIMESTAMP from changelog and use it as man page date
svn path=/dists/trunk/linux-tools/; revision=22835
2015-07-13 19:31:07 +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
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 b4ca8fe3f8 debian/rules.real: Use dh_prep
svn path=/dists/trunk/linux-tools/; revision=22771
2015-06-28 18:48:45 +00:00
Bastian Blank ed67452fc5 Add hyperv-daemons package
svn path=/dists/trunk/linux-tools/; revision=22770
2015-06-28 18:44:20 +00:00