From 2082e2d5af94c0e6d6cbe79fb5695e0438095dcc Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 16 Apr 2018 23:18:54 +0100 Subject: [PATCH] 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.) --- debian/changelog | 1 + debian/templates/control.headers.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 05a0a274f..8df9bcf31 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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. diff --git a/debian/templates/control.headers.in b/debian/templates/control.headers.in index 38f703411..029011c8e 100644 --- a/debian/templates/control.headers.in +++ b/debian/templates/control.headers.in @@ -1,6 +1,6 @@ Package: linux-headers-@abiname@@localversion@ Build-Profiles: -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