From 07d3e44756cebd55159c562862305ac69211468a Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 15 Jul 2022 19:41:24 +0200 Subject: 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. --- debian/changelog | 2 ++ debian/templates/control.sourcebin.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'debian') 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 -- cgit v1.2.3