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

Torben Hohn torben.hohn at linutronix.de
Wed Apr 3 17:56:07 CEST 2019


On Wed, Apr 03, 2019 at 12:34:53PM +0200, Manuel Traut wrote:
> 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>

Reviewed-by: Torben Hohn <torben.hohn 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
> 

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190403/81a6d0a0/attachment.sig>


More information about the elbe-devel mailing list