|
|
@ -1,21 +1,21 @@
|
|
|
|
#! /bin/sh
|
|
|
|
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
MIRROR=
|
|
|
|
if [ -z "$MIRROR" ]; then
|
|
|
|
case $(hostname --fqdn) in
|
|
|
|
case $(hostname --fqdn) in
|
|
|
|
bld-*.mmjgroup.com) ;;
|
|
|
|
bld-*.mmjgroup.com) ;;
|
|
|
|
*.mmjgroup.com)
|
|
|
|
*.mmjgroup.com)
|
|
|
|
case $ARCH in
|
|
|
|
case $ARCH in
|
|
|
|
i386|amd64) MIRROR=http://archive.mmjgroup.com/ubuntu/ ;;
|
|
|
|
i386|amd64) MIRROR=http://archive.mmjgroup.com/ubuntu/ ;;
|
|
|
|
*) MIRROR=http://archive.mmjgroup.com/ubuntu-ports/ ;;
|
|
|
|
*) MIRROR=http://archive.mmjgroup.com/ubuntu-ports/ ;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
*.0c3.net) MIRROR=http://ftp.iinet.net.au/linux/ubuntu/ ;;
|
|
|
|
*.0c3.net) MIRROR=http://ftp.iinet.net.au/linux/ubuntu/ ;;
|
|
|
|
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
|
|
|
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
|
|
|
*.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
|
|
|
*.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
|
|
|
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
|
|
|
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
|
|
|
*) ;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p config/chroot_local-tasklists config/chroot_local-packagelists
|
|
|
|
mkdir -p config/chroot_local-tasklists config/chroot_local-packagelists
|
|
|
|
rm -f config/chroot_local-tasklists/livecd-rootfs.list config/chroot_local-packagelists/livecd-rootfs.list
|
|
|
|
rm -f config/chroot_local-tasklists/livecd-rootfs.list config/chroot_local-packagelists/livecd-rootfs.list
|
|
|
|