03.07.2023 17:05, Benjamin Drung wrote:
Package: qemu-system-arm
Version: 1:8.0.2+dfsg-3
Severity: normal
X-Debbugs-Cc: bdr...@debian.org

Dear Maintainer,

qemu 8.0 added symlinks to run qemu-system-${DEB_HOST_ARCH_CPU}. This is
a great improvement, but you still have to install `dpkg-dev` to
determine `DEB_HOST_ARCH_CPU`.

Please add symlinks to run `qemu-system-$(dpkg --print-architecture)` to
avoid needing to depend on `dpkg-dev`. Here is a use case for it:
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/80

The non-exhaustive list of additional symlinks would be:

* armhf -> arm
* armel -> arm

When I worked on providing symlinks for debian architectures, I asked in a few
places which other aliases needs to be created.  Somehow no one mentioned these
two.

I guess this boils down to:

diff --git a/debian/rules b/debian/rules
index d71aefbf92..3335bd311b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -143,2 +143,3 @@ system-archlist-arm = aarch64 arm
 system-alias-aarch64 = arm64
+system-alias-arm = armel armhf
 system-kvmcpus-arm = arm64 arm

(this will create qemu-system-armel & qemu-system-armhf symlinks).
We probably need to create ppc65le => ppc64el too, but I'm not sure.

What other names are needed?

Thanks,

/mjt

Reply via email to