Commit Graph

772 Commits

Author SHA1 Message Date
Ben Hutchings 967b7d1987 linux-source: Recommend bison and flex, always needed to build the kernel 2019-04-21 23:59:50 +01:00
Aurelien Jarno 26e9f62e39 Revert "usbip: depend on usb.ids instead of usbutils."
This reverts commit b95a83a3ec.

This won't work for stretch-backports, so let's wait for bullseye.
2019-02-13 19:36:49 +01:00
Aurelien Jarno b95a83a3ec usbip: depend on usb.ids instead of usbutils.
usbip depends on usbutils only to get /usr/share/misc/usb.ids. It's
better to directly depend on the new usb.ids package.
2019-02-13 19:18:24 +01:00
Wookey f43b9851eb Add support for coresight (libopencsd) to perf 2019-02-13 03:00:18 +00:00
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 80c2596a7c Add pkg.linux.nokernel build profile that excludes kernel image/header packages
This should mostly be useful for testing changes that only affect
the userland packages.
2019-01-01 19:27:10 +00:00
Ben Hutchings 01f97819f6 [ia64,m68k] libbpf: Don't build on architectures without performance events 2018-12-25 23:01:57 +00:00
Ben Hutchings 248736d493 linux-image-*-unsigned: Remove Provides field (Closes: #916927)
In unstable, linux-image-*-unsigned packages and any corresponding
metapackage updates tend to be available a few hours before the
corresponding signed packages.  An automatic upgrade with aptitude (at
least) may then install the unsigned kernel where a signed kernel
was previously used, resulting in boot failure.

I gave the linux-image-*-unsigned packages a Provides relation to the
unsuffixed (i.e. signed) package name because I thought packages built
by module-assistant generally depended on the corresponding kernel
package.  That may have been true once but doesn't appear to be so
now.

So the Provides field can be harmful and doesn't appear to be useful,
and should be removed.
2018-12-25 20:00:34 +00:00
Hilko Bengen 9eeeda7c0d Add versioned libbpf, libbpf-dev package (Closes: #914428) 2018-12-09 22:11:42 +01:00
Ben Hutchings 965362d1dd Add missing debian/templates/tests-control.main.in
This should have been included in commit 91fad79906
"Add Python static checks and unit tests to autopkgtest tests".
2018-10-02 23:32:36 +01:00
Ben Hutchings 5ac818997a debian/bin/gencontrol.py, debian/templates: Rename tests/control template
The current template is for running selftests against a kernel image,
so s/main/image/.
2018-10-01 23:09:51 +01:00
Ben Hutchings b32cd9bab2 linux-image-*-signed-template: Depend on dpkg-dev
The Debian signing service won't pay any attention to this, but it
sort of makes sense - you won't be able to build a source package
without dpkg-dev.

Fixes lintian error missing-dep-for-interpreter.
2018-09-13 11:19:42 +01:00
Ben Hutchings efb0ef77fd linux-image-*-signed-template: Add ${misc:Depends} to Depends
Fixes lintian warning debhelper-but-no-misc-depends for both linux
and the signed source packages.
2018-09-13 11:19:42 +01:00
Ben Hutchings 47d37cf949 debian/control: Build-depend on texlive-latex-extra, dvipng for linux-doc 2018-09-11 16:43:14 +01:00
Ben Hutchings 015decef5e linux-perf: Depend on ${python3:Depends}, not ${python:Depends}
This should complete the fix for #908547.
2018-09-11 15:40:58 +01:00
Ben Hutchings f33c76a586 debian/control: Build-depend on texlive-latex-base for linux-doc
Sphinx unfortunately supports embedded LaTeX incantations, and
some kernel documentation now uses it.
2018-09-11 05:03:38 +01:00
Ben Hutchings 0849f93de1 lockdep, lib{cpupower,lockdep}-dev: Remove bogus deps on ${shlibs:Depends}
These packages don't contain binaries or libraries.  The dependencies
on the corresponding shared library packages are specified directly,
not generated by dpkg-shlibdeps.

This fixes build-time warnings from dpkg-gencontrol.
2018-09-11 04:17:19 +01:00
Ben Hutchings c6cd2b3a13 debian/templates: Move various build-dependencies to binary package templates 2018-09-11 01:15:26 +01:00
Ben Hutchings 9f0cf5debf debian/control: Fix restrictions for build-deps on asciidoctor and patchutils
- asciidoctor is only used to build the linux-perf package, so !nopython
- patchutils is only used to build the linux-source package, so
  !pkg.linux.nosource
2018-09-11 01:10:48 +01:00
Ben Hutchings 0a74c462f0 [mips64*] debian/control: Build-depend on gcc-multilib for linux-perf
linux-perf wants to build a 32-bit program perf-read-vdso32 to enable
64-bit perf builds to read the vDSO for 32-bit tasks.  This is now
worth doing for MIPS since it got a vDSO in Linux 4.4.
2018-09-10 23:19:39 +01:00
Ben Hutchings 221ee98fcf debian/control: Remove "cross" from profiles for build-dep on libssl-dev
Ideally we should not require any special profile to be enabled for a
cross-build.  (Unfortunately we still will because cross-compiler
and native compiler packages are named differently.)

For a native build, the build-dependency on libssl-dev is redundant
with the previous build-dependency on libssl-dev:native, so this
shouldn't make any practical difference.
2018-09-10 23:14:37 +01:00
Ben Hutchings 49de383756 debian/control: Build-depend on libnuma-dev for linux-perf on all arches
libnuma-dev is now built for all Linux architectures.  Build-depend on
it on all architectures for which we build linux-perf.
2018-09-10 23:13:30 +01:00
Ben Hutchings 7e3c87265d [hppa,mips*,powerpc*,sh4] debian/control: Build-depend on libunwind-dev
linux-perf will use it if available.
2018-09-10 23:10:45 +01:00
Ben Hutchings 74a2420e71 debian/control: Build-depend on libunwind-dev instead of libunwind8-dev
libunwind8-dev was transitional in stretch and is only a virtual
package in unstable.
2018-09-10 23:09:38 +01:00
Ben Hutchings 09b3b01044 debian/control: Add arch-qualification to build-dependencies for linux-perf
Change all the build-dependencies for perf to be qualified by the
architectures we actually build perf for, except where they are
already arch-qualified.

Closes: #908519
2018-09-10 23:09:26 +01:00
Ben Hutchings cbebd8c763 udeb: Merge configuration directories and files across architectures
Merge the configuration and default-configuration directories,
using per-architecture overrides in package-list.

This requires a newer version of kernel-wedge to support
Depends_<arch> properly.

The only immediate change to debian/control is to remove the
different description for nic-modules on sparc64.
2018-09-03 18:01:21 +01:00
Ben Hutchings 01900fbc73 Compile with gcc-8 on all architectures
Update the compiler dependencies for x86 to the first version of gcc-8
with retpoline support.
2018-08-28 22:32:10 +01:00
Ben Hutchings fdc9c0728d Update policy version to 4.2.0 2018-08-02 23:39:06 +08:00
Ben Hutchings 16bdbaf76f Release linux (4.17.6-2).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAltL4ZwACgkQ57/I7JWG
 EQniUw//V7Vhq6IQ5FKEg+UHcI8b12GhOVWWVJoReQErFllaIkSOJax6GDXo9UYa
 EQ+xezR902ze99eetQfqJFqNm/fu9qi9Lc/Na3dIztFTkbonQmOOF5y5uM129wBi
 l8WKrcnGY175yuN2aQDgRZtZgMWvNy7pbreDX3i5WliOKiOYbG7ZaJvdSEQ12CjJ
 lnVctItwOhDqgXGoW8nW7YxC3Awi25Rk2dZNQNSVfa3Lq9DAA1HXsNVM7/jdMzv8
 OVE32Srq2LsWqt+dK0sARKCucVXZRDTWEjie32ZxyAISUYkuzxmLOpmfYXS+CVtj
 7gIe6nBPX1mnXSHh1CvFGJrHRDfKAtq7gfHoBSg255quuBYY9btCneVV/ebCuFR3
 OSmupwF74Kt6QMhDpe322SFQD/40gH2OEATRzgzNjaJFnWwDTx78EZIu7/SHul9g
 k6YKRyK03bGgfeTeEzsVwXUj71Fh8oF22kk1ViYpDMSEKu3xOB71poDwGmP+e11U
 rH3IV+F5ECzfiekNsbehPabG7dyY/t1TIGBmu+7rnK75EDCQzFfOI0MXEJCJG5X2
 c6QUBXcz8ygvR7Zec9kw4YeBRuDvUv4sXf8516kMc2dSwf7JY+BYyy+9Knb9Gy67
 K/Tw/4keQIgzjg52g9GxqVqI4N/DknWoe1FT3xU4uuLIgYkEilA=
 =JUfi
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.17.6-2'

Release linux (4.17.6-2).

- Drop the ABI maintenance patch
- Resolve conflict between changes to config file generation in sid
  (delete CONFIG_BUILD_SALT) and master (putting them in
  arch-dependent packages)
2018-07-16 01:44:06 +01:00
Ben Hutchings fa7a732564 debian/control: Fix arch/profile qualifications for libelf-dev build-dependency 2018-07-12 15:32:19 +01:00
Ben Hutchings 3885cfb63f Release linux (4.17.6-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAltG0zUACgkQ57/I7JWG
 EQlb3Q//auZ2SJEu0MV/X+Mu7vjoUNZhi5VlPC2GBZaClEjrRG6iW0n2bO7fC1jd
 H8HSfVXy9F3vPiTUcMXyKq6vosLh/9Ie7jH1fGOCBoT7YbLcuoVmAPpAePOv6qTX
 gPdtWUvCT8lTviBX8LSFOG8zBewfcocU8MvNjIGKfu2b0CNykq5Z+yg9P7OAHaTt
 cfUU44v91YYwn8eo1Asi909kK73IO0V3SpIPUvgv5K2shCS44xKI19F2FIOuWRuD
 2COH0pSTV1oEjRGtkOJOzQqpEmO3sHZZfAUQTrKzxpTv43NzK80c148sd7/u6Hp1
 c+CszjeI3RJSX/YDie5noyL4BfYxXb+NGcLa41YOr2l1MM01fDOxKk1L/2imr1kV
 Ic73KR5h1fOD3JZmVTRwFpBgrxI9tNBQ7LP2fP666DqvMolRwr8vL5UvTqIF67l9
 uf/765rIgOhg6gwW9GghbuN08gMUfB8DTlsJerNbh1LKLZ8uN+7HzXoYjn44IINn
 Gbp09tQEx3lBl55zLH80MRUlo+mWlpxL2krDGrBTc/QxxDofl4ag+aRYTNmUut2+
 b54PEEpe2H1h6poMVOIjQlwvhKlWEez+8Syh8XKab0ZnMHipf316pX9UMAJIBtyb
 3iTjqMCgNQuraSzKT8/PfrMSV6HGfDN2FQo1vSf3kCQuigFsrA8=
 =VAyl
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.17.6-1'

Release linux (4.17.6-1).

- Drop patches for ABI maintenance or that are already upstream
- Drop ABI reference files
2018-07-12 05:07:12 +01:00
Ben Hutchings b8c95ad3b9 [powerpc,powerpcspe,ppc64] Fix cross-build (Closes: #903096)
- Introduce linux-bootwrapper-<abiname> package containing boot wrapper
  tools for the host architecture
- linux-image: Install symlinks to boot wrapper tools instead of the
  native tools built by kbuild
2018-07-07 22:07:03 +01:00
Ben Hutchings 07eb9ee019 linux-perf: Use Python 3 for scripts 2018-07-07 00:14:59 +01:00
Ben Hutchings afa20e4a35 linux-perf: Build docs using asciidoctor instead of asciidoc
This removes another Python 2 dependency.
2018-07-06 21:35:30 +01:00
Ben Hutchings 8b0549f036 Build docs using Python 3 version of Sphinx 2018-07-06 21:05:11 +01:00
Ben Hutchings 49db810924 linux-perf: Disable building for powerpcspe
James Clarke had a go at fixing it but hasn't succeeded yet.
2018-07-06 05:21:53 +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
Ben Hutchings 0ed9253851 debian/control: Move bison and flex to Build-Depends (Closes: #901712)
We generate all config files when building linux-source-<version>,
and this requires running kconfig.  kconfig is now built using
bison and flex instead of requiring their output to be already
included in the source tree.
2018-07-02 22:12:53 +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 923552dcc8 Reclassify lockdep packages as unversioned tools
The liblockdep<version> package is obviously versioned, but the others
aren't and it's not very useful to build just that one.
2018-05-08 17:01:41 +01:00
Luca Boccassi 7e07ef0202 nodoc: don't build linux-doc and don't install tools documentation
Fully disable building and installing any documentation when the nodoc
build-profile is used.
Among other things this will help reducing build times when doing
development builds, especially on IO-limited build workers.
2018-05-02 12:59:55 +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
Ben Hutchings 7b34ddf467 Add support for building only versioned tools packages
We already had support for disabling the tools build, used by
src:linux-grsec.  However in this case, where we're using a different
based version to src:linux, we do still need to build the versioned
tools packages (linux-kbuild-4.9 and linux-perf-4.9).  Split the
control template, config setting and rules accordingly.

(cherry picked from commit cb62c945f27ddee476631fa85c6aa67e50ed3bee)
2018-04-29 21:16:01 +01:00
Luca Boccassi d2d240fc1b Build-Dep on libelf-dev even for nopython/notools builds
libelf-dev is needed to build objtool when CONFIG_STACK_VALIDATION
and CONFIG_UNWINDER_ORC are enabled, which is currently the case.
Do not mark it as !nopython !pkg.linux.notools otherwise the build
will fail in a minimal chroot (pbuilder/etc).
2018-04-26 22:19:01 +01:00
Ben Hutchings 5d952f897c linux-kbuild: Update genksyms makefile to run flex and bison
The C code generated by these tools used to be included in the source
tree but has now been removed.
2018-04-20 03:38:54 +01:00
Ben Hutchings 2082e2d5af linux-headers: Change linux-kbuild dependency to be versioned
In case we ever have another bug fix where we want to force rebuilding
out-of-tree modules (like for the addition of retpoline), we should
ensure that they are built using an updated linux-kbuild.

Since linux-kbuild packages are built from src:linux, we can simply
require at least the same source version.  (linux-headers and
linux-kbuild can come from different architectures so we must not use
binary:Version here.)
2018-04-16 23:23:06 +01:00
Ben Hutchings be394a26da Add template source package to support code signing 2018-04-08 10:31:20 +02:00
Ben Hutchings 630c3f806d Release linux (4.15.11-1).
-----BEGIN PGP SIGNATURE-----
 
 iQKmBAABCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAlqwxttfFIAAAAAALgAo
 aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
 NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
 ZWJpYW4ub3JnAAoJEAVMuPMTQ89EA+AP/3w06dM1NGmIwjmKWtFDpYrrPLz/vtGG
 g/QHFtFGpGQdbzC2O6OULe3z/M63AlNJ6d1VG9OnDcbgsr2eXxHy+021LvtucWK2
 wtKtNJVz6VQ7XtfccsYqcAhqQq22tS5lEqPxMmRAz9SUPuG823B0LH0LXQwvRCiA
 4PeVjDa+bHzNfGyp+ecF70ZsDdfQmYHTNxnAgRiiUUGvLnd2Aq9uQWMILSgiZAiu
 D9lqn3VLI49bT65QGaK+G35MgfkmwnaSa4P1Kvsr8OKkKJMoWObdTnO3UL2hYQj4
 4P7EM4VzRa45eKpBEGpcrEMNtIv6ioNh80r2Dxj/3TlusruG7qXSUgLJMneX5ZVf
 bT1mVkDrr61f3d/ubypXaJNgR7g6zu522o/wLOaCwU+tjBlxuEELCxyGcB5vlQeR
 EbJy/jjW3+NX23w9bheYoDqaz4bITgqAma2Y2VC7jC34CP42oowavLy6OQdWUbCh
 wPvwxYnNEqZWPlMYyTCj/cmLAZb6JN1mNmq0rlbGjlnICtBKYDKah57noCGq34BW
 pAm7aDLQGFGaj0pW2rzCgMd20klg39sLxCMZmYbqRubQXGJaq7FuzjWSmAmd6tSV
 8dcM1QLOz3XmcaLRGXTr/hWllj9AltSFp5EVaCN27Fdlvjec6RnVdNNjOs5bd4rK
 7ik0RWgWDIoU
 =PehK
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.15.11-1'

Release linux (4.15.11-1).

Refresh patches.
2018-03-20 13:50:27 +00:00
Ben Hutchings 0eab78b1fd [ia64] Revert "Remove all support for ia64"
This reverts commit ace247de5b.
Refresh the "Hardcode arch script output" patch.

Closes: #886693
2018-03-15 20:22:30 +00:00
Ben Hutchings d68283849b debian/control: Update profile qualification for build-deps on bison and flex
They are now used to build kconfig, so the only qualification is !stage1.
2018-03-13 02:00:12 +00:00