[PATCH v2 0/2] Correct linux-custom dependencies

6 views
Skip to first unread message

Quirin Gylstorff

unread,
Sep 1, 2025, 8:29:23 AM (6 days ago) Sep 1
to isar-...@googlegroups.com, srinuv...@siemens.com
From: Quirin Gylstorff <quirin.g...@siemens.com>

This fixes the dependencies of linux-headers-<custom> to avoid a build
error on Debian trixie.

It removes the direct dependency to libssl* and corrects the use of
Debian template variables.

Changes v2:
- change patch order

Quirin Gylstorff (2):
linux-custom/d/control.tmpl: correct typo
linux-custom.inc: drop library dependencies from kernel headers

meta/recipes-kernel/linux/files/debian/control.tmpl | 6 +++---
meta/recipes-kernel/linux/linux-custom.inc | 7 +------
2 files changed, 4 insertions(+), 9 deletions(-)

--
2.50.1

Quirin Gylstorff

unread,
Sep 1, 2025, 8:29:24 AM (6 days ago) Sep 1
to isar-...@googlegroups.com, srinuv...@siemens.com
From: Quirin Gylstorff <quirin.g...@siemens.com>

The debian macro is ${shlibs:Depends} to generate the shared library
dependencies

Signed-off-by: Quirin Gylstorff <quirin.g...@siemens.com>
---
meta/recipes-kernel/linux/files/debian/control.tmpl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl b/meta/recipes-kernel/linux/files/debian/control.tmpl
index a79b86c4..112ff9bf 100644
--- a/meta/recipes-kernel/linux/files/debian/control.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/control.tmpl
@@ -16,7 +16,7 @@ Description: ${KERNEL_NAME_PROVIDED} Linux kernel, version @KR@
Package: linux-headers-${KERNEL_NAME_PROVIDED}
Build-Profiles: <kernel>
Architecture: any
-Depends: ${KERNEL_HEADERS_DEBIAN_DEPENDS}, ${perl:Depends}, ${shlib:Depends}
+Depends: ${KERNEL_HEADERS_DEBIAN_DEPENDS}, ${perl:Depends}, ${shlibs:Depends}
Description: ${KERNEL_NAME_PROVIDED} Linux kernel headers for @KR@
This package provides kernel header files for @KR@ on ${DISTRO_ARCH}
.
@@ -57,7 +57,7 @@ Description: Linux kernel debugging symbols for @KR@
Package: linux-kbuild-${KERNEL_NAME_PROVIDED}
Build-Profiles: <kbuild !cross>
Architecture: any
-Depends: ${perl:Depends}, ${shlib:Depends}
+Depends: ${perl:Depends}, ${shlibs:Depends}
Description: ${KERNEL_NAME_PROVIDED} Linux kbuild scripts and tools for @KR@
This package provides kernel kbuild scripts and tools for @KR@
This is useful for people who need to build external modules
@@ -66,7 +66,7 @@ Package: linux-kbuild-${KERNEL_NAME_PROVIDED}-${DISTRO_ARCH}-cross
Build-Profiles: <kbuild cross>
Architecture: any
Multi-Arch: foreign
-Depends: ${perl:Depends}, ${shlib:Depends}
+Depends: ${perl:Depends}, ${shlibs:Depends}
Conflicts: linux-kbuild-${KERNEL_NAME_PROVIDED}
Description: ${KERNEL_NAME_PROVIDED} Linux kbuild scripts and tools for @KR@
This package provides kernel kbuild scripts and tools for @KR@
--
2.50.1

Reply all
Reply to author
Forward
0 new messages