linux-custom: generate linux-libc-dev package for all arch

Message ID 20250103072928.45916-1-arulpandiyan.vadivel@siemens.com
State Superseded, archived
Headers show
Series linux-custom: generate linux-libc-dev package for all arch | expand

Commit Message

Arulpandiyan Vadivel Jan. 3, 2025, 7:29 a.m. UTC
Generate linux-libc-dev package for all architecture instead of
desired machine architecture.

With this patch, when upstream Kernels is build above 6.11, It helps
to align with bookworm-backports, trixie versions of linux-libc-dev.

This change also fixes to build failures with libc6-dev dependencies as below
for upstream stable kernel 6.12.
| Broken libc6-dev:arm64 Depends on linux-libc-dev:arm64 < none @un pH >
|   Considering linux-libc-dev:arm64 1 as a solution to libc6-dev:arm64 10001
|   Considering linux-libc-dev:arm64 1 as a solution to libc6-dev:arm64 10001
| Done

Signed-off-by: Arulpandiyan Vadivel <arulpandiyan.vadivel@siemens.com>
---
 meta/recipes-kernel/linux/files/debian/control.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl b/meta/recipes-kernel/linux/files/debian/control.tmpl
index 04ad0f4f..cc9cbd44 100644
--- a/meta/recipes-kernel/linux/files/debian/control.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/control.tmpl
@@ -26,7 +26,7 @@  Package: linux-libc-dev
 Build-Profiles: <!nolibcdev kernel>
 Section: devel
 Provides: linux-kernel-headers
-Architecture: any
+Architecture: all
 Description: Linux support headers for userspace development
  This package provides userspaces headers from the Linux kernel. These headers
  are used by the installed headers for GNU glibc and other system libraries.