summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorBen Hutchings <benh@debian.org>2022-07-15 19:41:24 +0200
committerBen Hutchings <benh@debian.org>2022-07-15 21:13:26 +0200
commit07d3e44756cebd55159c562862305ac69211468a (patch)
tree92bee2f32d29cd03c937dcaab2323d8a3a1ff9a9 /debian
parente32ca527844b2dc5e99c3c0e5b1462359fde9780 (diff)
downloadlinux-debian-07d3e44756cebd55159c562862305ac69211468a.tar.gz
linux-source: Update Recommends to include all dependencies for deb-pkg target
- There has always been a build-dependency on kmod (or previously modutils), because the modules_install target runs depmod. - There has always been a build-dependency on cpio to build the built-in initramfs. - Since Linux 4.6, x86_64 configurations use objtool in the build process and have a build-dependency on libelf-dev. - Since Linux 4.17, the deb-pkg and bindeb-pkg targets run dpkg-buildpackage and therefore require build-essential. Replace the direct dependencies on gcc and make with that. - Since Linux 5.3, there is a build-dependency on rsync, used in the headers_install target. - If CONFIG_SYSTEM_TRUSTED_KEYRING is enabled, there is a build- dependency on libssl-dev.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/templates/control.sourcebin.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index f481357a0..4b7866b99 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -305,6 +305,8 @@ linux (5.18.8-1) UNRELEASED; urgency=medium
* [amd64] ata: Enable PATA_LEGACY (Closes: #910010)
* udeb: Add essiv to crypto-modules (Closes: #973378)
* udeb: Add SCSI device handlers to multipath-modules (Closes: #989079)
+ * linux-source: Update Recommends to include all dependencies for deb-pkg
+ target
[ Vincent Blut ]
* [armhf] drivers/crypto/caam: Enable CRYPTO_DEV_FSL_CAAM as module
diff --git a/debian/templates/control.sourcebin.in b/debian/templates/control.sourcebin.in
index d2cd5c942..bffeb3814 100644
--- a/debian/templates/control.sourcebin.in
+++ b/debian/templates/control.sourcebin.in
@@ -4,7 +4,7 @@ Architecture: all
Section: kernel
Build-Depends: patchutils
Depends: binutils, xz-utils, ${misc:Depends}
-Recommends: libc6-dev | libc-dev, gcc, make, bc, bison, flex, @source_basename@-config-@version@
+Recommends: build-essential, bc, rsync, kmod, cpio, bison, flex, libelf-dev, libssl-dev, @source_basename@-config-@version@
Suggests: libncurses-dev | ncurses-dev, qtbase5-dev, pkg-config
Multi-Arch: foreign
Description: Linux kernel source for version @version@ with Debian patches