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

Manuel Traut manut at linutronix.de
Thu Nov 30 15:15:04 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.

This also reverts commit eac67717f80eb502e854041604c13929f4d2a222 that
specified qemu/backports in an example initvm.xml because this is no
longer needed.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/init/preseed.cfg.mako  | 2 +-
 examples/elbe-init-with-ssh.xml | 9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/elbepack/init/preseed.cfg.mako b/elbepack/init/preseed.cfg.mako
index 086ad849..5cbd461d 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 qemu-user-static/jessie-backports \
 % 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..c982cd4b 100644
--- a/examples/elbe-init-with-ssh.xml
+++ b/examples/elbe-init-with-ssh.xml
@@ -16,20 +16,11 @@
 					<source>http://debian.linutronix.de/elbe-common jessie main</source>
 					<key>http://debian.linutronix.de/elbe-common/elbe-repo.pub</key>
 				</url>
-				<url>
-					<binary>
-						http://ftp.de.debian.org/debian jessie-backports main
-					</binary>
-					<source>
-						http://ftp.de.debian.org/debian jessie-backports main
-					</source>
-				</url>
 			</url-list>
 		</mirror>
 		<suite>jessie</suite>
 		<pkg-list>
 			<pkg>openssh-server</pkg>
-			<pkg>debootstrap/jessie-backports</pkg>
 		</pkg-list>
 		<portforwarding>
 			<forward>
-- 
2.15.1




More information about the elbe-devel mailing list