|
|
@ -15,16 +15,12 @@ echo "Building on $(hostname --fqdn)"
|
|
|
|
SEEDMIRROR=https://ubuntu-archive-team.ubuntu.com/seeds/
|
|
|
|
SEEDMIRROR=https://ubuntu-archive-team.ubuntu.com/seeds/
|
|
|
|
if [ -z "$MIRROR" ]; then
|
|
|
|
if [ -z "$MIRROR" ]; then
|
|
|
|
case $(hostname --fqdn) in
|
|
|
|
case $(hostname --fqdn) in
|
|
|
|
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/
|
|
|
|
*.ubuntu.com|*.buildd|*.ppa|*.scalingstack)
|
|
|
|
|
|
|
|
MIRROR=http://ftpmaster.internal/ubuntu/
|
|
|
|
SEEDMIRROR=http://archive-team.internal/seeds/
|
|
|
|
SEEDMIRROR=http://archive-team.internal/seeds/
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/
|
|
|
|
*)
|
|
|
|
SEEDMIRROR=http://archive-team.internal/seeds/
|
|
|
|
case $ARCH in
|
|
|
|
;;
|
|
|
|
|
|
|
|
*.ppa|*.scalingstack) MIRROR=http://ftpmaster.internal/ubuntu/
|
|
|
|
|
|
|
|
SEEDMIRROR=http://archive-team.internal/seeds/
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
*) case $ARCH in
|
|
|
|
|
|
|
|
i386|amd64) MIRROR=http://archive.ubuntu.com/ubuntu/ ;;
|
|
|
|
i386|amd64) MIRROR=http://archive.ubuntu.com/ubuntu/ ;;
|
|
|
|
*) MIRROR=http://ports.ubuntu.com/ubuntu-ports/ ;;
|
|
|
|
*) MIRROR=http://ports.ubuntu.com/ubuntu-ports/ ;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|