[elbe-devel] [PATCH v2 02/13] use qemu from backports instead of self packaged

Manuel Traut manut at linutronix.de
Mon Dec 4 11:20:13 CET 2017


the self packaged qemu was introduced to avoid issues if e.g. mono was
installed on armhf.

monos postinst step runs the mono interpreter. To terminate the
interpreter a TERM signal is send by the main thread to all childs. But
due to a bug in qemu-user the signal was not delivered to all childs and
the postinst step stalled forever.

The self packaged qemu-user package included a workaround for this issue
in qemu.

The issue should be resolved in upstream now:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748043

And a newer qemu is available via backports. So there is no longer a
reason to use the self-packaged qemu-user.

This should also resolve elbe issue #128 "pbuilder aarch64: multithreading
problems" reported on github.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---

changes since v1:

  * specify qemu-user-static in pkg-list instead of template to avoid bricking
     installations from bin-cdrom.iso

  * not reverting 'use debootstrap from backports' commit


 elbepack/init/default-init.xml  | 1 +
 elbepack/init/preseed.cfg.mako  | 2 +-
 examples/elbe-init-with-ssh.xml | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/elbepack/init/default-init.xml b/elbepack/init/default-init.xml
index e1f61ed7..2df7a3f7 100644
--- a/elbepack/init/default-init.xml
+++ b/elbepack/init/default-init.xml
@@ -42,6 +42,7 @@
 		<pkg-list>
 			<pkg>openssh-server</pkg>
 			<pkg>debootstrap/jessie-backports</pkg>
+			<pkg>qemu-user-static/jessie-backports</pkg>
 		</pkg-list>
 		<preseed>
 			<conf owner="pbuilder" key="pbuilder/mirrorsite" type="string" value="http://ftp.de.debian.org/debian"/>
diff --git a/elbepack/init/preseed.cfg.mako b/elbepack/init/preseed.cfg.mako
index 086ad849..9f616612 100644
--- a/elbepack/init/preseed.cfg.mako
+++ b/elbepack/init/preseed.cfg.mako
@@ -105,7 +105,7 @@ apt-mirror-setup apt-setup/use_mirror boolean false
 d-i finish-install/reboot_in_progress note
 d-i pkgsel/include string rng-tools btrfs-tools openssh-client \
 debathena-transform-lighttpd \
-elbe-soap elbe-buildenv qemu-elbe-user-static \
+elbe-soap elbe-buildenv \
 % for n in pkgs:
 % if n.tag == "pkg":
 %   if prj.has("mirror/primary_host") or not prj.node("mirror/cdrom") or n.et.text.find('/') == -1:
diff --git a/examples/elbe-init-with-ssh.xml b/examples/elbe-init-with-ssh.xml
index b41063bf..f4f3c91b 100644
--- a/examples/elbe-init-with-ssh.xml
+++ b/examples/elbe-init-with-ssh.xml
@@ -30,6 +30,7 @@
 		<pkg-list>
 			<pkg>openssh-server</pkg>
 			<pkg>debootstrap/jessie-backports</pkg>
+			<pkg>qemu-user-static/jessie-backports</pkg>
 		</pkg-list>
 		<portforwarding>
 			<forward>
-- 
2.15.1




More information about the elbe-devel mailing list