summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Packager/dpkg.pm
diff options
context:
space:
mode:
authorOliver Tappe2007-08-15 17:36:56 +0200
committerOliver Tappe2007-08-15 17:36:56 +0200
commitcfe31ca7acca396c4f2744114c08fc0802cef5c3 (patch)
treed7d3c8631b65547c9636ec8c0743f089531e4edf /installer/OpenSLX/OSSetup/Packager/dpkg.pm
parentCleaned up and corrected error messages (and german translations, see (diff)
downloadcore-cfe31ca7acca396c4f2744114c08fc0802cef5c3.tar.gz
core-cfe31ca7acca396c4f2744114c08fc0802cef5c3.tar.xz
core-cfe31ca7acca396c4f2744114c08fc0802cef5c3.zip
* switched from perl-based distro-configuration files to "real" configuration
files (handled by Config::General) * removed most version specific distribution modules (only Debian-3.1 remains as it requires some special treatment). For all the other distributions, the specific info is now contained in the configuration files * added configuration files (settings.default) for every supported distribution (only Fedora is still missing some info) * added support for inclusion of (externally generated) mirror lists and automatic selection of the five best (fastest) mirrors from that list (20 are tried). For each repository, a mirror configuration file is created (in /etc/opt/openslx/distro-info/<distro>/mirrors/<repo>) after that info has been gathered. * added current mirror lists for each distribution repository to the distro-info hierarchy * updated settings.example to reflect new configuration syntax git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1322 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Packager/dpkg.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Packager/dpkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSSetup/Packager/dpkg.pm b/installer/OpenSLX/OSSetup/Packager/dpkg.pm
index f1591a6c..52ac70ca 100644
--- a/installer/OpenSLX/OSSetup/Packager/dpkg.pm
+++ b/installer/OpenSLX/OSSetup/Packager/dpkg.pm
@@ -63,8 +63,8 @@ sub bootstrap
if (slxsystem("ash", "-c", "rm -f debian-binary *.tar.gz")) {
die _tr("unable to cleanup package '%s' (%s)", $debootstrapPkg, $!);
}
- my $arch = $self->{engine}->{distro}->{arch};
- my $releaseName = $self->{engine}->{distro}->{'release-name'};
+ my $arch = $self->{engine}->{'distro-info'}->{arch};
+ my $releaseName = $self->{engine}->{'distro-info'}->{'release-name'};
my $baseURL = $self->{engine}->{baseURLs}->[0];
my $debootstrapCmd = unshiftHereDoc(<<" END-OF-HERE");
/usr/sbin/debootstrap --arch $arch $releaseName \\