[elbe-devel] [PATCH 05/10] initvm: use stretch instead of jessie

Manuel Traut manut at linutronix.de
Wed Apr 3 12:34:53 CEST 2019


build the initvm with Debian stretch instead of jessie.
jessie-backports was removed from the official debian mirrors.
The initvm used debootstrap from jessie-backports to be able to
build at least stretch targets.

To be still able to build targets with Debian/stretch the initvm
is updated to use stretch.

Debootstrap and pbuilder will be used from stretch-backports to
also support building buster targets.

The kernel is also used from stretch-backports.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/init/default-init.xml     | 25 ++++++++++++-------------
 examples/elbe-init-big-machine.xml | 25 ++++++++++++-------------
 2 files changed, 24 insertions(+), 26 deletions(-)

diff --git a/elbepack/init/default-init.xml b/elbepack/init/default-init.xml
index 9bd595a2..c8bd05ca 100644
--- a/elbepack/init/default-init.xml
+++ b/elbepack/init/default-init.xml
@@ -8,18 +8,18 @@
 			<url-list>
 				<url>
 					<binary>
-						http://security.debian.org/debian-security jessie/updates main
+						http://security.debian.org/debian-security stretch/updates main
 					</binary>
 					<source>
-						http://security.debian.org/debian-security jessie/updates main
+						http://security.debian.org/debian-security stretch/updates main
 					</source>
 				</url>
 				<url>
 					<binary>
-						http://debian.linutronix.de/elbe jessie main
+						http://debian.linutronix.de/elbe stretch main
 					</binary>
 					<source>
-						http://debian.linutronix.de/elbe jessie main
+						http://debian.linutronix.de/elbe stretch main
 					</source>
 					<key>
 						http://debian.linutronix.de/elbe/elbe-repo.pub
@@ -27,10 +27,10 @@
 				</url>
 				<url>
 					<binary>
-						http://debian.linutronix.de/elbe-common jessie main
+						http://debian.linutronix.de/elbe-common stretch main
 					</binary>
 					<source>
-						http://debian.linutronix.de/elbe-common jessie main
+						http://debian.linutronix.de/elbe-common stretch main
 					</source>
 					<key>
 						http://debian.linutronix.de/elbe-common/elbe-repo.pub
@@ -38,21 +38,20 @@
 				</url>
 				<url>
 					<binary>
-						http://ftp.de.debian.org/debian jessie-backports main
+						http://ftp.de.debian.org/debian stretch-backports main
 					</binary>
 					<source>
-						http://ftp.de.debian.org/debian jessie-backports main
+						http://ftp.de.debian.org/debian stretch-backports main
 					</source>
 				</url>
 			</url-list>
 		</mirror>
-		<suite>jessie</suite>
+		<suite>stretch</suite>
 		<pkg-list>
 			<pkg>openssh-server</pkg>
-			<pkg pin="jessie-backports">debootstrap</pkg>
-			<pkg pin="jessie-backports">qemu-user-static</pkg>
-			<pkg pin="jessie-backports">linux-image-amd64</pkg>
-			<pkg pin="jessie-backports">pbuilder</pkg>
+			<pkg pin="stretch-backports">debootstrap</pkg>
+			<pkg pin="stretch-backports">linux-image-amd64</pkg>
+			<pkg pin="stretch-backports">pbuilder</pkg>
 		</pkg-list>
 		<preseed>
 			<conf owner="pbuilder" key="pbuilder/mirrorsite" type="string" value="http://ftp.de.debian.org/debian"/>
diff --git a/examples/elbe-init-big-machine.xml b/examples/elbe-init-big-machine.xml
index f6342c4d..10d1979e 100644
--- a/examples/elbe-init-big-machine.xml
+++ b/examples/elbe-init-big-machine.xml
@@ -8,18 +8,18 @@
 			<url-list>
 				<url>
 					<binary>
-						http://security.debian.org/debian-security jessie/updates main
+						http://security.debian.org/debian-security stretch/updates main
 					</binary>
 					<source>
-						http://security.debian.org/debian-security jessie/updates main
+						http://security.debian.org/debian-security stretch/updates main
 					</source>
 				</url>
 				<url>
 					<binary>
-						http://debian.linutronix.de/elbe jessie main
+						http://debian.linutronix.de/elbe stretch main
 					</binary>
 					<source>
-						http://debian.linutronix.de/elbe jessie main
+						http://debian.linutronix.de/elbe stretch main
 					</source>
 					<key>
 						http://debian.linutronix.de/elbe/elbe-repo.pub
@@ -27,10 +27,10 @@
 				</url>
 				<url>
 					<binary>
-						http://debian.linutronix.de/elbe-common jessie main
+						http://debian.linutronix.de/elbe-common stretch main
 					</binary>
 					<source>
-						http://debian.linutronix.de/elbe-common jessie main
+						http://debian.linutronix.de/elbe-common stretch main
 					</source>
 					<key>
 						http://debian.linutronix.de/elbe-common/elbe-repo.pub
@@ -38,21 +38,20 @@
 				</url>
 				<url>
 					<binary>
-						http://ftp.de.debian.org/debian jessie-backports main
+						http://ftp.de.debian.org/debian stretch-backports main
 					</binary>
 					<source>
-						http://ftp.de.debian.org/debian jessie-backports main
+						http://ftp.de.debian.org/debian stretch-backports main
 					</source>
 				</url>
 			</url-list>
 		</mirror>
-		<suite>jessie</suite>
+		<suite>stretch</suite>
 		<pkg-list>
 			<pkg>openssh-server</pkg>
-			<pkg pin="jessie-backports">debootstrap</pkg>
-			<pkg pin="jessie-backports">qemu-user-static</pkg>
-			<pkg pin="jessie-backports">linux-image-amd64</pkg>
-			<pkg pin="jessie-backports">pbuilder</pkg>
+			<pkg pin="stretch-backports">debootstrap</pkg>
+			<pkg pin="stretch-backports">linux-image-amd64</pkg>
+			<pkg pin="stretch-backports">pbuilder</pkg>
 		</pkg-list>
 		<preseed>
 			<conf owner="pbuilder" key="pbuilder/mirrorsite" type="string" value="http://ftp.de.debian.org/debian"/>
-- 
2.20.1




More information about the elbe-devel mailing list