aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-02-06 14:42:16 +0100
committerLoïc Minier <lool@dooz.org>2010-02-06 14:42:16 +0100
commit6fe39d27f1f2a321bdd0be87996e315ea9a7bf22 (patch)
treef729b9f750039ec870804ec2a30e71a6dfd9878e
parente77b478cf00d7c6eb6f3ac14b529590936ecc9b3 (diff)
downloadpbuilder-6fe39d27f1f2a321bdd0be87996e315ea9a7bf22.tar
pbuilder-6fe39d27f1f2a321bdd0be87996e315ea9a7bf22.tar.gz
Add support for Ubuntu "old-releases"
-rwxr-xr-xpbuilder-apt-config8
1 files changed, 7 insertions, 1 deletions
diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index 20eb07e..f8a8e02 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -62,6 +62,9 @@ guess_dist_arch_archive() {
buzz|rex|bo|hamm|slink|potato|woody|sarge|etch|lenny|squeeze)
echo "debian-archive"
;;
+ warty|hoary|breezy|edgy|feisty|gutsy)
+ echo "ubuntu-old"
+ ;;
hardy|intrepid|jaunty|karmic|lucid)
case "$arch" in
amd64|i386)
@@ -136,6 +139,9 @@ builtin_mirror_map() {
ubuntu)
echo "http://archive.ubuntu.com/ubuntu/"
;;
+ ubuntu-old)
+ echo "http://old-releases.ubuntu.com/ubuntu/"
+ ;;
ubuntu-ports)
echo "http://ports.ubuntu.com/ubuntu-ports/"
;;
@@ -379,7 +385,7 @@ if [ -n "$profile" ]; then
;;
esac
;;
- ubuntu|ubuntu-ports)
+ ubuntu|ubuntu-old|ubuntu-ports)
if [ "$base_dist" != "${profile%%-*}" ]; then
die "Unknown Ubuntu based profile=$profile"
fi