Source: linux
Version: 5.6.7-1
Severity: wishlist
It's very difficult to write architecture independent code in Debian for
image-generation and other kernel-related tasks due to missing meta packages
that can be used. For example:
- in image generation code, we need to have a hardcoded list of kernel packages per
architecture. e.g. autopkgtest-build-qemu(1) from autopkgtest has
this:
case "$architecture" in
(armhf)
kernel=linux-image-armmp
;;
(hppa)
kernel=linux-image-parisc
;;
(i386)
case "$release" in
(jessie)
kernel=linux-image-586
;;
(*)
kernel=linux-image-686
;;
esac
;;
(ppc64)
kernel=linux-image-powerpc64
;;
(*)
kernel="linux-image-$architecture"
;;
esac
I'm sure there are several instances of similar code around the
archive.
- in dkms, it's not possible to have the correct dependencies to get
kernel headers. See for example #959976 in autodep8.
Please provide generic metapackages that can be used to get the current
linux image and headers on each architecture. Those could be called
linux-image and linux-headers (plus variants like -cloud, -rt etc).
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Attachment:
signature.asc
Description: PGP signature