[elbe-devel] [PATCH stable 2/3] Use a global debian mirror in the example files.

Manuel Traut manut at linutronix.de
Mon Dec 24 09:46:36 CET 2018


Hi Richard,

On 13:53 Sat 22 Dec     , Richard Cochran wrote:
> Debian has a number of regional mirrors, but the example files all
> contain the site for Germany.  This patch changes the URLs to the
> generic name that gets redirected to a local server.

we had that once, but a lot of users ran into the problems described here [0].

Probably deb.debian.org would be the correct thing to use [1] however i don't
want to change the URL in the examples without intensive testing, because a lot
of users use it as a starting point.

[0] https://lists.debian.org/debian-mirrors/2017/02/msg00000.html
[1] https://wiki.debian.org/DebianGeoMirror

> Signed-off-by: Richard Cochran <richardcochran at gmail.com>
> ---
>  examples/arm64-qemu-virt.xml                            | 2 +-
>  examples/armel-rescue-busybox-cpio.xml                  | 2 +-
>  examples/armel-versatile-ubi-tightenmode.xml            | 2 +-
>  examples/armel-with-additional-adk-pkgs.xml             | 2 +-
>  examples/armhf-nfs-with-build-tools.xml                 | 2 +-
>  examples/armhf-qemu-vexpress.xml                        | 2 +-
>  examples/armhf-ti-beaglebone-black-rt.xml               | 2 +-
>  examples/armhf-ti-beaglebone-black.xml                  | 2 +-
>  examples/armhf-zynq-zedboard.xml                        | 2 +-
>  examples/elbe-init-with-ssh.xml                         | 6 +++---
>  examples/powerpc.xml                                    | 2 +-
>  examples/x86_32-pc-hdimg-minimal-grub-legacy-wheezy.xml | 2 +-
>  examples/x86_32-pc-hdimg-minimal-grub-stretch.xml       | 2 +-
>  examples/x86_32-pc-hdimg-minimal-grub-wheezy.xml        | 2 +-
>  examples/x86_32-pc-hdimg-with-include-development.xml   | 2 +-
>  examples/x86_32-pc-hdimg-with-include-production.xml    | 2 +-
>  examples/x86_32-squashfs.xml                            | 2 +-
>  examples/x86_64-pc-hdimg-gnome3.xml                     | 2 +-
>  examples/x86_64-pc-hdimg-pbuilder-grub-jessie.xml       | 2 +-
>  examples/x86_64-pc-hdimg-readonly-rfs.xml               | 2 +-
>  examples/x86_64-pc-hdimg-with-additional-adk-pkgs.xml   | 2 +-
>  examples/x86_64-pc-hdimg-with-updated.xml               | 2 +-
>  22 files changed, 24 insertions(+), 24 deletions(-)
> 
> diff --git a/examples/arm64-qemu-virt.xml b/examples/arm64-qemu-virt.xml
> index 6b03b294..5a3538a3 100644
> --- a/examples/arm64-qemu-virt.xml
> +++ b/examples/arm64-qemu-virt.xml
> @@ -19,7 +19,7 @@
>  		</description>
>  		<buildtype>aarch64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armel-rescue-busybox-cpio.xml b/examples/armel-rescue-busybox-cpio.xml
> index 5e929a52..fd29152c 100644
> --- a/examples/armel-rescue-busybox-cpio.xml
> +++ b/examples/armel-rescue-busybox-cpio.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>armel</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armel-versatile-ubi-tightenmode.xml b/examples/armel-versatile-ubi-tightenmode.xml
> index fb7e5249..8fd6a4e5 100644
> --- a/examples/armel-versatile-ubi-tightenmode.xml
> +++ b/examples/armel-versatile-ubi-tightenmode.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>armel</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armel-with-additional-adk-pkgs.xml b/examples/armel-with-additional-adk-pkgs.xml
> index 6877a0de..b932bfcc 100644
> --- a/examples/armel-with-additional-adk-pkgs.xml
> +++ b/examples/armel-with-additional-adk-pkgs.xml
> @@ -8,7 +8,7 @@
>  		</description>
>  		<buildtype>armel</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armhf-nfs-with-build-tools.xml b/examples/armhf-nfs-with-build-tools.xml
> index bc141ef7..062ab4ca 100644
> --- a/examples/armhf-nfs-with-build-tools.xml
> +++ b/examples/armhf-nfs-with-build-tools.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>armhf</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armhf-qemu-vexpress.xml b/examples/armhf-qemu-vexpress.xml
> index 1dd2dc38..86e16df3 100644
> --- a/examples/armhf-qemu-vexpress.xml
> +++ b/examples/armhf-qemu-vexpress.xml
> @@ -22,7 +22,7 @@
>  		<buildtype>armhf</buildtype>
>  		<mirror>
>  			<!-- primary mirror is used by debootstrap -->
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armhf-ti-beaglebone-black-rt.xml b/examples/armhf-ti-beaglebone-black-rt.xml
> index 279d0f93..7dfbb42b 100644
> --- a/examples/armhf-ti-beaglebone-black-rt.xml
> +++ b/examples/armhf-ti-beaglebone-black-rt.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>armhf</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  			<url-list>
> diff --git a/examples/armhf-ti-beaglebone-black.xml b/examples/armhf-ti-beaglebone-black.xml
> index 9ea37e66..d58a882a 100644
> --- a/examples/armhf-ti-beaglebone-black.xml
> +++ b/examples/armhf-ti-beaglebone-black.xml
> @@ -10,7 +10,7 @@
>  		<buildtype>armhf</buildtype>
>  		<mirror>
>  			<!-- primary mirror is used by debootstrap -->
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/armhf-zynq-zedboard.xml b/examples/armhf-zynq-zedboard.xml
> index 873aae23..938d99b5 100644
> --- a/examples/armhf-zynq-zedboard.xml
> +++ b/examples/armhf-zynq-zedboard.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>armhf</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  			<url-list>
> diff --git a/examples/elbe-init-with-ssh.xml b/examples/elbe-init-with-ssh.xml
> index 24b43880..c7a550ab 100644
> --- a/examples/elbe-init-with-ssh.xml
> +++ b/examples/elbe-init-with-ssh.xml
> @@ -2,7 +2,7 @@
>  	<initvm>
>  		<buildtype>amd64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  			<url-list>
> @@ -18,10 +18,10 @@
>  				</url>
>  				<url>
>  					<binary>
> -						http://ftp.de.debian.org/debian jessie-backports main
> +						http://httpredir.debian.org/debian jessie-backports main
>  					</binary>
>  					<source>
> -						http://ftp.de.debian.org/debian jessie-backports main
> +						http://httpredir.debian.org/debian jessie-backports main
>  					</source>
>  				</url>
>  			</url-list>
> diff --git a/examples/powerpc.xml b/examples/powerpc.xml
> index 2f0f8284..a515d085 100644
> --- a/examples/powerpc.xml
> +++ b/examples/powerpc.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>ppc</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_32-pc-hdimg-minimal-grub-legacy-wheezy.xml b/examples/x86_32-pc-hdimg-minimal-grub-legacy-wheezy.xml
> index 5212b41c..b8cd7153 100644
> --- a/examples/x86_32-pc-hdimg-minimal-grub-legacy-wheezy.xml
> +++ b/examples/x86_32-pc-hdimg-minimal-grub-legacy-wheezy.xml
> @@ -5,7 +5,7 @@
>  		<description>for testing grub-legacy installation</description>
>  		<buildtype>i386</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_32-pc-hdimg-minimal-grub-stretch.xml b/examples/x86_32-pc-hdimg-minimal-grub-stretch.xml
> index 297b5bdf..fd4ab48e 100644
> --- a/examples/x86_32-pc-hdimg-minimal-grub-stretch.xml
> +++ b/examples/x86_32-pc-hdimg-minimal-grub-stretch.xml
> @@ -5,7 +5,7 @@
>  		<description>for testing 32bit with grub2</description>
>  		<buildtype>i386</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_32-pc-hdimg-minimal-grub-wheezy.xml b/examples/x86_32-pc-hdimg-minimal-grub-wheezy.xml
> index ceefaf5f..214eb53b 100644
> --- a/examples/x86_32-pc-hdimg-minimal-grub-wheezy.xml
> +++ b/examples/x86_32-pc-hdimg-minimal-grub-wheezy.xml
> @@ -5,7 +5,7 @@
>  		<description>for testing 32bit with grub2</description>
>  		<buildtype>i386</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_32-pc-hdimg-with-include-development.xml b/examples/x86_32-pc-hdimg-with-include-development.xml
> index ac9aa591..1ce1105c 100644
> --- a/examples/x86_32-pc-hdimg-with-include-development.xml
> +++ b/examples/x86_32-pc-hdimg-with-include-development.xml
> @@ -9,7 +9,7 @@
>  		<description>for testing 32bit with grub2</description>
>  		<buildtype>i386</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_32-pc-hdimg-with-include-production.xml b/examples/x86_32-pc-hdimg-with-include-production.xml
> index 5e41b150..aa603132 100644
> --- a/examples/x86_32-pc-hdimg-with-include-production.xml
> +++ b/examples/x86_32-pc-hdimg-with-include-production.xml
> @@ -9,7 +9,7 @@
>  		<description>for testing 32bit with grub2</description>
>  		<buildtype>i386</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_32-squashfs.xml b/examples/x86_32-squashfs.xml
> index 3352acf9..e93a1ff8 100644
> --- a/examples/x86_32-squashfs.xml
> +++ b/examples/x86_32-squashfs.xml
> @@ -20,7 +20,7 @@
>  		</description>
>  		<buildtype>i386</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_64-pc-hdimg-gnome3.xml b/examples/x86_64-pc-hdimg-gnome3.xml
> index f41e8b0f..4dbc0f33 100644
> --- a/examples/x86_64-pc-hdimg-gnome3.xml
> +++ b/examples/x86_64-pc-hdimg-gnome3.xml
> @@ -8,7 +8,7 @@
>  		</description>
>  		<buildtype>amd64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_64-pc-hdimg-pbuilder-grub-jessie.xml b/examples/x86_64-pc-hdimg-pbuilder-grub-jessie.xml
> index f4a4e31d..5bd83f94 100644
> --- a/examples/x86_64-pc-hdimg-pbuilder-grub-jessie.xml
> +++ b/examples/x86_64-pc-hdimg-pbuilder-grub-jessie.xml
> @@ -5,7 +5,7 @@
>  		<description>amd64 debian jessie mini RFS</description>
>  		<buildtype>amd64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_64-pc-hdimg-readonly-rfs.xml b/examples/x86_64-pc-hdimg-readonly-rfs.xml
> index 20f64180..953fb121 100644
> --- a/examples/x86_64-pc-hdimg-readonly-rfs.xml
> +++ b/examples/x86_64-pc-hdimg-readonly-rfs.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>amd64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  			<url-list>
> diff --git a/examples/x86_64-pc-hdimg-with-additional-adk-pkgs.xml b/examples/x86_64-pc-hdimg-with-additional-adk-pkgs.xml
> index d19eaee6..a7e5e6f2 100644
> --- a/examples/x86_64-pc-hdimg-with-additional-adk-pkgs.xml
> +++ b/examples/x86_64-pc-hdimg-with-additional-adk-pkgs.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>amd64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  		</mirror>
> diff --git a/examples/x86_64-pc-hdimg-with-updated.xml b/examples/x86_64-pc-hdimg-with-updated.xml
> index 6cfdafe5..43cd8606 100644
> --- a/examples/x86_64-pc-hdimg-with-updated.xml
> +++ b/examples/x86_64-pc-hdimg-with-updated.xml
> @@ -7,7 +7,7 @@
>  		</description>
>  		<buildtype>amd64</buildtype>
>  		<mirror>
> -			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_host>httpredir.debian.org</primary_host>
>  			<primary_path>/debian</primary_path>
>  			<primary_proto>http</primary_proto>
>  			<url-list>
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list