From bab84ed1f4f426dbcd223672431827444768848e Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Sat, 3 Jan 2015 11:46:06 +0800 Subject: [PATCH] cdn.debian.net has been deprecated, replace it with http.debian.net https://lists.debian.org/CAG2RKXMdBLL-vSFW6dEu4P0NwT7qqor3PxVQDu-mwrM1J-6opw@mail.gmail.com --- modules/schroot/files/schroot-dsa/config | 2 +- modules/schroot/files/schroot-setup.d/99porterbox-extra-sources | 2 +- modules/schroot/files/setup-dchroot | 2 +- modules/schroot/templates/default-mirror.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/schroot/files/schroot-dsa/config b/modules/schroot/files/schroot-dsa/config index ba94f6fed..d2cc36869 100644 --- a/modules/schroot/files/schroot-dsa/config +++ b/modules/schroot/files/schroot-dsa/config @@ -43,7 +43,7 @@ CHROOT_FILE_UNPACK_DIR=/srv/chroot/schroot-unpack if [ -e /etc/schroot/dsa/default-mirror ]; then MIRROR=$(cat /etc/schroot/dsa/default-mirror ) fi -MIRROR=${MIRROR:-cdn.debian.net} +MIRROR=${MIRROR:-http.debian.net} if [ "$(basename "$0")" = "00check" ] && [ "$CHROOT_TYPE" = "file" ] && diff --git a/modules/schroot/files/schroot-setup.d/99porterbox-extra-sources b/modules/schroot/files/schroot-setup.d/99porterbox-extra-sources index 029b3828e..a65532e02 100755 --- a/modules/schroot/files/schroot-setup.d/99porterbox-extra-sources +++ b/modules/schroot/files/schroot-setup.d/99porterbox-extra-sources @@ -26,7 +26,7 @@ fi if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then SRCL="${CHROOT_PATH}/etc/apt/sources.list.d/auto.list" rm -f "$SRCL" - mirror=${MIRROR:-http://cdn.debian.net/debian} + mirror=${MIRROR:-http://http.debian.net/debian} case "${SUITE_BASE:-}" in experimental) diff --git a/modules/schroot/files/setup-dchroot b/modules/schroot/files/setup-dchroot index aeadf902d..998ad4147 100755 --- a/modules/schroot/files/setup-dchroot +++ b/modules/schroot/files/setup-dchroot @@ -150,7 +150,7 @@ arch="$THISARCH" if [ -e /etc/schroot/dsa/default-mirror ]; then mirror=$(cat /etc/schroot/dsa/default-mirror ) fi -mirror="${mirror:-http://cdn.debian.net/debian}" +mirror="${mirror:-http://http.debian.net/debian}" configonly="" force="" basedir="/srv/chroot" diff --git a/modules/schroot/templates/default-mirror.erb b/modules/schroot/templates/default-mirror.erb index a5822f9a4..0208890bc 100644 --- a/modules/schroot/templates/default-mirror.erb +++ b/modules/schroot/templates/default-mirror.erb @@ -3,6 +3,6 @@ ninfo = scope.lookupvar('site::nodeinfo') if ninfo['hoster'].has_key?('mirror-debian') then ninfo['hoster']['mirror-debian'] else - 'http://cdn.debian.net/debian' + 'http://http.debian.net/debian' end %> -- 2.20.1