Skip to content

Commit f077f41

Browse files
authored
Let debootstrap uses the same sources link as apt (#1279)
1 parent 45bf130 commit f077f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_debian.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ touch $FILESYSTEM_ROOT/$PLATFORM_DIR/firsttime
6868

6969
## Build a basic Debian system by debootstrap
7070
echo '[INFO] Debootstrap...'
71-
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch amd64 jessie $FILESYSTEM_ROOT http://ftp.us.debian.org/debian
71+
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch amd64 jessie $FILESYSTEM_ROOT http://debian-archive.trafficmanager.net/debian
7272

7373
## Config hostname and hosts, otherwise 'sudo ...' will complain 'sudo: unable to resolve host ...'
7474
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '$HOSTNAME' > /etc/hostname"

0 commit comments

Comments
 (0)