Package: qemu-user-static
Version: 1:2.11+dfsg-1
Severity: normal
Tags: patch

Hi!
In Debian packaging, commit 9895d26195e38bb062561ec040e685ff14d6a9a8, you
added binfmt data for hppa, but failed to include it in the list at the top
of the file.  The attached patch fixes this.

Untested (other than manually enabling binfmt), but obvious enough to be
likely to work.

Obviously, #891260 makes hppa emulation not very usable right now, but these
are separate issues.


Meow!
-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-rc2-debug-00027-g42a5c5c629e3 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

qemu-user-static depends on no packages.

Versions of packages qemu-user-static recommends:
ii  binfmt-support  2.1.8-2

Versions of packages qemu-user-static suggests:
pn  sudo  <none>

-- no debconf information
>From 236751f432ee8081f2cf4d43c6005b832abca013 Mon Sep 17 00:00:00 2001
From: Adam Borowski <kilob...@angband.pl>
Date: Fri, 23 Feb 2018 23:14:48 +0100
Subject: [PATCH] Enable hppa binfmt.

---
 debian/binfmt-update-in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/binfmt-update-in b/debian/binfmt-update-in
index 4bd4cc1643..f5adaceb88 100644
--- a/debian/binfmt-update-in
+++ b/debian/binfmt-update-in
@@ -5,7 +5,7 @@ grep -zqs ^container= /proc/1/environ && exit 0
 # == binfmt registration/deregistration ==
 if command -v update-binfmts > /dev/null ; then
 
-fmts="aarch64 alpha arm armeb cris i386 m68k microblaze mips mipsel mipsn32 
mipsn32el mips64 mips64el ppc ppc64 ppc64abi32 ppc64le s390x sh4 sh4eb sparc 
sparc32plus sparc64 x86_64"
+fmts="aarch64 alpha arm armeb cris hppa i386 m68k microblaze mips mipsel 
mipsn32 mipsn32el mips64 mips64el ppc ppc64 ppc64abi32 ppc64le s390x sh4 sh4eb 
sparc sparc32plus sparc64 x86_64"
 
 # linux ELF_OSABI(byte7) can be 0 (traditional,SYSV) or 3 (GNU/LINUX 
extensions)
 # binfmt registration does not allow a enum, only value&mask.  So we use 
broader mask
-- 
2.16.1

Reply via email to