aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-apt-config
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-apt-config')
-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