1
0
mirror of synced 2026-04-15 23:51:03 +00:00

Preliminary support for Debian Jessie and Ubuntu Raring

Also set the default mirror for Ubuntu Natty to
old-releases.ubuntu.com as it's end of life and will move there soon.
This commit is contained in:
Axel Beckert
2012-11-15 16:55:10 +01:00
parent b116f1cca7
commit 026e47ac83
5 changed files with 13 additions and 6 deletions

View File

@@ -1309,17 +1309,17 @@ sub setupDefaultOptions
$CONFIG{ 'mirror' } = '';
# Initialize per distribution mirror defaults: Debian
foreach my $debdist (qw(squeeze wheezy sid testing oldstable stable unstable)) {
foreach my $debdist (qw(squeeze wheezy jessie sid testing oldstable stable unstable)) {
$CONFIG{ 'mirror_'.$debdist } = $CONFIG{ 'mirror' }
}
foreach my $debdist (qw(sarge etch lenny)) {
$CONFIG{ 'mirror_'.$debdist } = 'http://archive.debian.org/debian';
}
# Initialize per distribution mirror defaults: Ubuntu
foreach my $ubuntudist (qw(hardy lucid natty oneiric precise quantal)) {
foreach my $ubuntudist (qw(hardy lucid oneiric precise quantal raring)) {
$CONFIG{ 'mirror_'.$ubuntudist } = 'http://archive.ubuntu.com/ubuntu';
}
foreach my $ubuntudist (qw(dapper edgy feisty gutsy intrepid jaunty karmic maverick)) {
foreach my $ubuntudist (qw(dapper edgy feisty gutsy intrepid jaunty karmic maverick natty)) {
$CONFIG{ 'mirror_'.$ubuntudist } = 'http://old-releases.ubuntu.com/ubuntu';
}
$CONFIG{ 'apt_proxy' } = '';
@@ -1874,7 +1874,7 @@ sub checkArguments
#
# Lucid and probably all later Ubuntus, too, don't work without pygrub
#
if ( $CONFIG{ 'dist' } =~ /lucid|maverick|natty|oneiric|precise|quantal/ )
if ( $CONFIG{ 'dist' } =~ /lucid|maverick|natty|oneiric|precise|quantal|raring/ )
{
$CONFIG{ 'pygrub' } = 1;
}