Package: qemu
Version: 3.1+dfsg-4
Severity: normal
Tags: patch

While setting up a hppa debian buildd server, I noticed that the hppa
architecture is not handled in the qemu-debootstrap program. Since hppa
is missing in the list, I noticed another bug in qemu-debootstrap that
the error message is referring to a wrong variable and thus the arch is
not printed.

Can you please apply the trivial patch which is included below in the next 
upload?

Thanks,
Helge


diff -up ./debian/qemu-debootstrap.org ./debian/qemu-debootstrap
--- ./debian/qemu-debootstrap.org       2019-02-27 20:55:49.366838616 +0100
+++ ./debian/qemu-debootstrap   2019-02-27 20:56:44.318469290 +0100
@@ -134,7 +134,7 @@ fi
 
 qemu_arch=""
 case "$deb_arch" in
-  
alpha|arm|armeb|i386|m68k|mips|mipsel|mips64el|ppc64|riscv32|riscv64|sh4|sh4eb|sparc|sparc64|s390x)
+  
alpha|arm|armeb|hppa|i386|m68k|mips|mipsel|mips64el|ppc64|riscv32|riscv64|sh4|sh4eb|sparc|sparc64|s390x)
     qemu_arch="$deb_arch"
   ;;
   amd64)
@@ -156,7 +156,7 @@ case "$deb_arch" in
     qemu_arch="ppc64le"
   ;;
   *)
-    die "Sorry, I don't know how to support arch %s" "$arch"
+    die "Sorry, I don't know how to support arch %s" "$deb_arch"
   ;;
 esac
 

Reply via email to