From 9e8bc60ad1ccf3a25ce7890526b70059f3e770de Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Wed, 19 Oct 2016 00:14:57 +0200 Subject: Switch default mirror to deb.debian.org. --- README | 2 +- debian/changelog | 1 + debootstrap | 4 ++-- debootstrap.8 | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README b/README index 1e9402a..d258e00 100644 --- a/README +++ b/README @@ -27,7 +27,7 @@ If you are running a multi-stage boot strap (for example for a QEMU rootfs) you don't even need root: export DEBOOTSTRAP_DIR=`pwd` - fakeroot ./debootstrap --foreign --arch=armhf testing my-testing-dir http://httpredir.debian.org/debian + fakeroot ./debootstrap --foreign --arch=armhf testing my-testing-dir http://deb.debian.org/debian Of course you will need to execute the second stage as root to finish the bootstrap: diff --git a/debian/changelog b/debian/changelog index 4040824..d9c326b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ debootstrap (1.0.85) UNRELEASED; urgency=medium [ Julien Cristau ] * Add support for downloading and validating InRelease files, by splitting up detached signature from signed data. + * Switch default mirror to deb.debian.org. [ Colin Watson ] * Add (Ubuntu) zesty as a symlink to gutsy. diff --git a/debootstrap b/debootstrap index 0d6cb54..3bf5908 100755 --- a/debootstrap +++ b/debootstrap @@ -46,8 +46,8 @@ CERTIFICATE="" CHECKCERTIF="" PRIVATEKEY="" -DEF_MIRROR="http://httpredir.debian.org/debian" -DEF_HTTPS_MIRROR="https://mirrors.kernel.org/debian" +DEF_MIRROR="http://deb.debian.org/debian" +DEF_HTTPS_MIRROR="https://deb.debian.org/debian" export LANG USE_COMPONENTS umask 022 diff --git a/debootstrap.8 b/debootstrap.8 index bb590d7..d1adf26 100644 --- a/debootstrap.8 +++ b/debootstrap.8 @@ -169,14 +169,14 @@ Read the private key from file .PP To setup a \fIwheezy\fR system: .PP - debootstrap wheezy ./wheezy-chroot http://httpredir.debian.org/debian + debootstrap wheezy ./wheezy-chroot http://deb.debian.org/debian .PP debootstrap wheezy ./wheezy-chroot file:///LOCAL_MIRROR/debian .PP Full process to create a complete Debian installation of \fIsid\fR (unstable) in a chroot: .PP - main # debootstrap sid sid-root http://httpredir.debian.org/debian/ + main # debootstrap sid sid-root http://deb.debian.org/debian/ [ ... watch it download the whole system ] main # echo "proc sid-root/proc proc defaults 0 0" >> /etc/fstab main # mount proc sid-root/proc -t proc -- cgit v0.12