mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
merge redundant cases for seed/mirror handling
This commit is contained in:
parent
caace43cb9
commit
f44c2aac8c
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -8,6 +8,7 @@ livecd-rootfs (23.10.33) UNRELEASED; urgency=medium
|
||||
* Drop references to ubuntu-netbook, obsolete since Ubuntu 11.04.
|
||||
* ubuntu-unity-live task exists, use it also instead of hard-coded list of
|
||||
packages.
|
||||
* live-build/auto/config: various refactors to eliminate code duplication
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 06 Sep 2023 11:23:17 -0700
|
||||
|
||||
|
@ -15,16 +15,12 @@ echo "Building on $(hostname --fqdn)"
|
||||
SEEDMIRROR=https://ubuntu-archive-team.ubuntu.com/seeds/
|
||||
if [ -z "$MIRROR" ]; then
|
||||
case $(hostname --fqdn) in
|
||||
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/
|
||||
SEEDMIRROR=http://archive-team.internal/seeds/
|
||||
;;
|
||||
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/
|
||||
SEEDMIRROR=http://archive-team.internal/seeds/
|
||||
;;
|
||||
*.ppa|*.scalingstack) MIRROR=http://ftpmaster.internal/ubuntu/
|
||||
SEEDMIRROR=http://archive-team.internal/seeds/
|
||||
;;
|
||||
*) case $ARCH in
|
||||
*.ubuntu.com|*.buildd|*.ppa|*.scalingstack)
|
||||
MIRROR=http://ftpmaster.internal/ubuntu/
|
||||
SEEDMIRROR=http://archive-team.internal/seeds/
|
||||
;;
|
||||
*)
|
||||
case $ARCH in
|
||||
i386|amd64) MIRROR=http://archive.ubuntu.com/ubuntu/ ;;
|
||||
*) MIRROR=http://ports.ubuntu.com/ubuntu-ports/ ;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user