1
0
mirror of synced 2026-04-25 03:54:31 +00:00

2007-06-12 00:56:30 by steve

BUGFIX:  When using per-distro mirrors we setup the apt.sources correctly.
This commit is contained in:
steve
2007-06-12 00:56:31 +00:00
parent 71fb34fae7
commit 90842dd4c5
2 changed files with 14 additions and 2 deletions

View File

@@ -564,7 +564,7 @@ Install an X11 server, using VNC and XDM
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.152 2007-06-11 23:33:18 steve Exp $
$Id: xen-create-image,v 1.153 2007-06-12 00:56:30 steve Exp $
=cut
@@ -1239,7 +1239,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.152 $';
my $REVISION = '$Revision: 1.153 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
@@ -2561,6 +2561,15 @@ sub installSystem
sub exportEnvironment
{
#
# Per-distribution mirror?
#
my $distMirror = "mirror_" . $CONFIG{'dist'};
if ( $CONFIG{$distMirror} && length( $CONFIG{$distMirror} ) )
{
$CONFIG{'mirror'} = $CONFIG{$distMirror};
}
foreach my $key ( keys %CONFIG )
{
if ( defined( $CONFIG{$key} ) )

3
debian/changelog vendored
View File

@@ -1,9 +1,12 @@
xen-tools (3.4-2) unstable; urgency=low
* Only add Debian sources for security.debian.org if enabled upon
the host.
* Allow per-dist mirrors. Which is useful when working with mixed
Debian + Ubuntu installations.
-- Radu Spineanu <radu@debian.org> Tue, 29 May 2007 01:09:40 +0300
xen-tools (3.4-1) unstable; urgency=low
[ Steve Kemp ]