[elbe-devel] [PATCH] default-init: install qemu-user-static from backports

Christian Teklenborg chris at linutronix.de
Tue Apr 27 16:12:33 CEST 2021


Make the initvm install qemu-user-static from buster-backports to avoid
a segfault when building arm64 targets with bullseye.

Signed-off-by: Christian Teklenborg <chris at linutronix.de>
---
 elbepack/init/default-init.xml     | 9 +++++++++
 examples/elbe-init-big-machine.xml | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/elbepack/init/default-init.xml b/elbepack/init/default-init.xml
index 7d47ad8f..c9c06279 100644
--- a/elbepack/init/default-init.xml
+++ b/elbepack/init/default-init.xml
@@ -14,6 +14,14 @@
 						http://security.debian.org/debian-security buster/updates main
 					</source>
 				</url>
+				<url>
+					<binary>
+						http://ftp.debian.org/debian buster-backports main
+					</binary>
+					<source>
+						http://ftp.debian.org/debian buster-backports main
+					</source>
+				</url>
 				<url>
 					<binary>
 						http://debian.linutronix.de/elbe buster main
@@ -40,6 +48,7 @@
 		</mirror>
 		<suite>buster</suite>
 		<pkg-list>
+			<pkg pin="buster-backports">qemu-user-static</pkg>
 			<pkg>openssh-server</pkg>
 			<pkg>debootstrap</pkg>
 			<pkg>pbuilder</pkg>
diff --git a/examples/elbe-init-big-machine.xml b/examples/elbe-init-big-machine.xml
index f14831ef..524fe35b 100644
--- a/examples/elbe-init-big-machine.xml
+++ b/examples/elbe-init-big-machine.xml
@@ -14,6 +14,14 @@
 						http://security.debian.org/debian-security buster/updates main
 					</source>
 				</url>
+				<url>
+					<binary>
+						http://ftp.debian.org/debian buster-backports main
+					</binary>
+					<source>
+						http://ftp.debian.org/debian buster-backports main
+					</source>
+				</url>
 				<url>
 					<binary>
 						http://debian.linutronix.de/elbe buster main
@@ -40,6 +48,7 @@
 		</mirror>
 		<suite>buster</suite>
 		<pkg-list>
+			<pkg pin="buster-backports">qemu-user-static</pkg>
 			<pkg>openssh-server</pkg>
 			<pkg>debootstrap</pkg>
 			<pkg>pbuilder</pkg>
-- 
2.20.1



More information about the elbe-devel mailing list