summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2008-01-02 15:09:29 +0100
committerOliver Tappe2008-01-02 15:09:29 +0100
commit568ba4e277e93e615a16e520d2ba200ff4ee5d50 (patch)
tree8b2ddf148ac20d6f5b797f537d32d895407997d3 /installer
parentcleaned up installation code in several ways: (diff)
downloadcore-568ba4e277e93e615a16e520d2ba200ff4ee5d50.tar.gz
core-568ba4e277e93e615a16e520d2ba200ff4ee5d50.tar.xz
core-568ba4e277e93e615a16e520d2ba200ff4ee5d50.zip
* Fixed problem with invocation of debootstrap that caused it to fail
downloading *some* Debian-packages, which in turn caused the whole process to fail. I do not precisely understand why, but invoking debootstrap via '.' instead of a second ash process fixes the problem. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1439 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-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 52ac70ca..573c2054 100644
--- a/installer/OpenSLX/OSSetup/Packager/dpkg.pm
+++ b/installer/OpenSLX/OSSetup/Packager/dpkg.pm
@@ -68,9 +68,9 @@ sub bootstrap
my $baseURL = $self->{engine}->{baseURLs}->[0];
my $debootstrapCmd = unshiftHereDoc(<<" END-OF-HERE");
/usr/sbin/debootstrap --arch $arch $releaseName \\
- /slxbootstrap/slxfinal $baseURL
+ /slxbootstrap/slxfinal $baseURL
END-OF-HERE
- if (slxsystem("ash", "-c", "/bin/ash $debootstrapCmd")) {
+ if (slxsystem("ash", "-c", ". $debootstrapCmd")) {
die _tr("unable to run debootstrap (%s)", $!);
}
return;