Download core click packages from the right place when building images

outside the Canonical datacentre.
This commit is contained in:
Colin Watson 2013-09-05 11:29:14 +01:00
parent d083723d88
commit 805633bc05
2 changed files with 10 additions and 1 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ livecd-rootfs (2.181) UNRELEASED; urgency=low
* Use new multiple-database scheme in click 0.4.3 to preinstall click
packages.
* Download core click packages from the right place when building images
outside the Canonical datacentre.
-- Colin Watson <cjwatson@ubuntu.com> Thu, 05 Sep 2013 11:28:15 +0100

View File

@ -4,7 +4,14 @@ set -e
echo "Setting up click packages"
click_uri=http://archive-team.internal/click_packages
case $(hostname --fqdn) in
*.ubuntu.com)
click_uri=http://archive-team.internal/click_packages
;;
*)
click_uri=http://people.canonical.com/~ubuntu-archive/click_packages
;;
esac
click_list=$click_uri/click_list
click_db=/usr/share/click/preinstalled