[v2,05/11] linux-kernel: Reverse linux-libc-dev package arch selection logic

Message ID 20260629094624.855927-6-amikan@ilbers.de
State New
Headers show
Series Add new targets and required fixes | expand

Commit Message

Anton Mikanovich June 29, 2026, 9:46 a.m. UTC
It looks like "all" package architecture of linux-libc-dev is a new
standard for Debian, while "any" is left only for older distro
versions.
Ubuntu still use separate packages for any distro even for the most
recent distros, so keep it to "any" for it.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/classes-recipe/linux-kernel.bbclass | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/classes-recipe/linux-kernel.bbclass b/meta/classes-recipe/linux-kernel.bbclass
index fffdf12c..09323e57 100644
--- a/meta/classes-recipe/linux-kernel.bbclass
+++ b/meta/classes-recipe/linux-kernel.bbclass
@@ -38,8 +38,12 @@  KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool | dracut, \
 
 KERNEL_HEADERS_DEBIAN_DEPENDS ?= ""
 
-KERNEL_LIBC_DEV_ARCH_ALL = "0"
-KERNEL_LIBC_DEV_ARCH_ALL:trixie = "1"
+KERNEL_LIBC_DEV_ARCH_ALL = "1"
+KERNEL_LIBC_DEV_ARCH_ALL:buster = "0"
+KERNEL_LIBC_DEV_ARCH_ALL:bullseye = "0"
+KERNEL_LIBC_DEV_ARCH_ALL:bookworm = "0"
+KERNEL_LIBC_DEV_ARCH_ALL:ubuntu = "0"
+
 KERNEL_LIBC_DEV_DEPLOY ?= "0"
 
 # Settings that may be changed on a per distro, machine or layer basis