Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #67055
| From | Antonio Terceiro <terceiro@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#960209: linux: please provide image and header metapackages that have the same name on every architecture |
| Date | 2020-05-10 18:50 +0200 |
| Message-ID | <A4Xjk-IK-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#960209: linux: please provide image and header metapackages that have the same name on every architecture Antonio Terceiro <terceiro@debian.org> - 2020-05-10 18:50 +0200
Bug#960209: Provide linux-{image,headers}-default virtual packages on most architectures Ben Hutchings <ben@decadent.org.uk> - 2020-08-25 17:00 +0200
Bug#960209: marked as done (linux: please provide image and header metapackages that have the same name on every architecture) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-09-19 18:10 +0200
csiph-web