Commit Graph

225 Commits

Author SHA1 Message Date
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
Hilko Bengen 9eeeda7c0d Add versioned libbpf, libbpf-dev package (Closes: #914428) 2018-12-09 22:11:42 +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 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 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 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 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 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 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
Ben Hutchings bdc8a76aa0 debian/control: Point Vcs URLs to Salsa 2018-03-11 18:04:45 +00:00
Ben Hutchings c8b3153d0d debian/control: Set Rules-Requires-Root to no
Tell dpkg and debhelper that we can install without (fake)root and
then dpkg-deb should then override all ownership to root:root.

Draft specification for this field:
https://lists.debian.org/debian-devel/2017/10/msg00520.html
2017-10-30 21:58:12 +00:00
Ben Hutchings fcbe5c22b1 Update build dependencies on libbabeltrace[,-ctf}-dev (fixes FTBFS)
libbabeltrace-ctf-dev was merged into libbabeltrace-dev, so the
build dependencies are unsatisfiable in unstable.  For stretch-
backports we will still want both of them.  So add a suitably
versioned dependency on libbabeltrace-dev as a preferred
alternative to libbabeltrace-ctf-dev.
2017-10-19 11:35:53 +01:00
Ben Hutchings 112ad0c27f debian/control: Remove obsolete workarounds and alternate build deps
The dpkg bugs affecting libssl-dev build deps were fixed in 1.18.8.
The various non-M-A packages for which we used :native qualification
were fixed before stretch release.  So neither unstable nor
stretch-backports needs these.
2017-09-30 14:41:19 +01:00
Ben Hutchings 06c36b3662 debian/control: Move many build dependencies to Build-Depends-Arch field 2017-09-30 14:09:54 +01:00
Ben Hutchings d0991cbfc0 Update policy version to 4.1.1 2017-09-30 13:50:56 +01:00
Ben Hutchings c8e760ebac Remove support for upstream DocBook-based documentation
It has finally been removed after all docs were converted to ReST format.
As there is no longer a way to build manpages, remove the linux-manual
package.
2017-08-13 17:26:07 +01:00
Ben Hutchings 90c2b44bab debian/control: Add build-dependency on graphviz for documentation 2017-01-30 20:31:24 +00:00
Ben Hutchings ceaee3f154 linux-cpupower: Use dh-exec architecture filtering for x86-specific files
Listing usr/sbin in linux-cpupower.install caused FTBFS on !x86 as
cpupower itself doesn't install anything there.  Do the architecture
filtering in the debhelper lists instead of complicating
debian/rules.real further.
2017-01-27 22:10:56 +00:00
Ben Hutchings 97ab9059a9 Release linux (4.8.15-2).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlhtitEACgkQ57/I7JWG
 EQlPqQ//V6+eUGkATmlFFyxsM91OsMgZyxtt0Pzf7XvFg4gBr+hJIaJwxasVRZGi
 w/r4uYHmiX7fLrXnanT+RekT1zCGQBOLUvm2Rlwi845PAl9fMCSb+9Jiz60THeN7
 cHg7JEvNhTEEDpLK1FJlU3fiMqb5LRdUTkz+RkhKRfITm4/bT3h0Ow72/Xy6JsrI
 nAf/AyncvBCQvrIUXYyfyHUPhkYMk8L7bC6G4o803kFdPYTb1WR2gRbpsI6jSVs8
 YFbrfMpH1foPHiTVWP+inDN9LA2TO8QGMvAuCAQzQuLzKztrU0i/1shjDfaN61qx
 xQhXE08TwNnkDZQCtIFZrLkRPSFlLqFqVWyL9eyPAYNAnZeugxB6F3HOWk5cKWqj
 NPpZ10zAnKliPnL7z+eFlxLq34UgVqqe1FeRB5iBEC2dQYEs3LuB1RF2zFOuZ74T
 cvXKJJhuR4iMNcAOax6Uab+3iyC/PGm5VSiCL+IPbD7H9IaXLcICE8l1r0zRs5Sa
 Um4YQKTy8kFK/CRsEOB8CofXMuBXLzEw2xeNn6187d/ZeA7uiUsyd2nVkXnO0FNt
 B2JkV6kwO99WAnNwTZSwF7QJJe8ir7X4X1qdk00sqNYiDff/CBHjRT1gLRzNyOuJ
 r9QFKRt4UGF3XGpE89czRRoHfP9WkdrmdmP1i/DnkSVO6L8/y6Y=
 =AxAX
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.8.15-2'
2017-01-05 00:01:00 +00:00
Ben Hutchings 65510d6128 debian/control: Add Salvatore Bonaccorso to Uploaders 2017-01-04 19:39:22 +00:00
Ben Hutchings 571716aee9 debian/control: Change build-dependency on asciidoc to prefer the new asciidoc-base
asciidoc can use LaTeX stuff but previously only Recommended it.
Now asciidoc Depends on it while asciidoc-base can do everything
we need.
2016-12-27 10:26:41 +00:00
Uwe Kleine-König b9aaa1abc5 enable `perf data' support 2016-12-21 09:53:24 +01:00
Ben Hutchings 9768234db4 debian/control: Fix build-dependency on flex to work with new versions that have M-A: foreign 2016-12-15 20:27:38 +00:00
Ben Hutchings cb8d2ff783 debian/control: Fix build-dependency on flex to work with new versions that have M-A: allowed 2016-12-05 00:59:45 +00:00
Ben Hutchings 772d6648d5 debian/control: Build-Depend on a recent debhelper instead of dh-systemd 2016-11-13 04:38:06 +00:00
Ben Hutchings 8e552ff10c debian/control: Fix build-dependency on openssl to work with new versions...
The new versions have Multi-Arch: allowed, and surprisingly dpkg doesn't
consider them to satisfy a dependency on openssl:native.  Change the
build-dependency into an alternative satisfiable by both old and new
versions. (Closes: #839145)
2016-11-02 12:21:30 -06:00
Ben Hutchings 7a4881e4d1 linux-doc: Build and install HTML pages from reStructuredText sources
- Add python-sphinx and python-sphinx-rtd-theme to Build-Depends-Indep
- Install files from both HTML output directories into the package
- Exclude RST sources from the package
2016-09-04 15:39:34 +01:00
Ben Hutchings 7231d9e75a usbip: Put all autotools-generated files in the build directory
Currently the linux-source-<version> package may or may not include
these files, depending on the order things are built in.

As autotools always modifies the source directory, copy (rsync) the
source to the build directory and build in-place there.
2016-08-25 01:29:57 +01:00
Ben Hutchings 5e48a143f6 debian/control: Add workaround for libdpkg-perl bugs #827628, #827633
Dpkg::Deps has a couple of bugs that were resulting in the
libssl-dev:native build-dependency being discarded by dpkg-source.
2016-06-18 23:49:47 +01:00
Ben Hutchings a7ebaf2684 Add support for the nopython build profile, disabling the linux-perf package
Currently we build-depend on the native python (via asciidoc), and on
the host python (via python-dev).  As these are not coinstallable it
is impossible to perform a complete cross-build.  Until that's resolved,
this will allow cross-building of most of the package with the
combination of the 'cross' and 'nopython' profiles.

(This also sidesteps the issue of perf wanting a multilib compiler.)
2016-06-13 02:04:39 +01:00
Ben Hutchings 0aceb8739a debian/control: Fix build-dependencies for cross-building
The current cross-compiler packages don't set the Multi-Arch field, so
specify that the cross-compiler package must be native, rather than any
architecture.

flex doesn't support multi-arch, and this would require splitting it
(#611230, #761449).  Force use of the native package for now.

openssl doesn't support multi-arch but probably easily could (#827028).
Force use of the native package for now.

We need the native libssl-dev while building the kernel itself and the
host libssl-dev while building tools for linux-kbuild.

Document the state of cross-building in README.source.
2016-06-13 02:02:54 +01:00
Ben Hutchings c739973adc debian/control: Update policy version to 3.9.8; no changes required 2016-06-05 23:32:11 +01:00
Ben Hutchings e8cbc41731 [mips{,64}r6{,el}] Add kernel flavours for the Malta platform; build linux-libc-dev and tools packages
Closes: #825024; thanks to YunQiang Su
2016-05-23 23:03:41 +01:00
Ben Hutchings a126067de6 debian/control: Remove alternate build-dependency on binutils-dev
This was used for backports from to wheezy, but we don't backport from
stretch/sid to wheezy.
2016-05-15 03:11:42 +01:00
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 43640872d9 debian/control,debian/rules: Support a 'pkg.linux.notools' build profile
...which does not build tools packages
2016-05-14 20:46:46 +01:00
Ben Hutchings 203fac302f debian/templates/control.source.in: Comment all the build-dependencies
Also re-order them slightly.
2016-05-14 19:56:13 +01:00