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.)
This commit is contained in:
Ben Hutchings 2018-04-16 23:18:54 +01:00
parent 083ddaa564
commit 2082e2d5af
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -5,6 +5,7 @@ linux (4.16-1~exp2) UNRELEASED; urgency=medium
* aufs: Update support patchset to aufs4.16-20180409 (no functional change)
* wireless: Add Debian wireless-regdb certificates (see #892229)
* Add support for compilers installed outside the default PATH
* linux-headers: Change linux-kbuild dependency to be versioned
[ Vagrant Cascadian ]
* [arm64] Add patches to support SATA on Tegra210/Jetson-TX1.

View File

@ -1,6 +1,6 @@
Package: linux-headers-@abiname@@localversion@
Build-Profiles: <!stage1>
Depends: linux-headers-@abiname@-common@localversion_headers@ (= ${source:Version}), linux-kbuild-@version@, ${misc:Depends}
Depends: linux-headers-@abiname@-common@localversion_headers@ (= ${source:Version}), linux-kbuild-@version@ (>= ${source:Version}), ${misc:Depends}
Description: Header files for Linux @abiname@@localversion@
This package provides the architecture-specific kernel header files
for Linux kernel @abiname@@localversion@, generally