diff options
author | Oliver Tappe | 2008-01-02 15:09:29 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-01-02 15:09:29 +0100 |
commit | 568ba4e277e93e615a16e520d2ba200ff4ee5d50 (patch) | |
tree | 8b2ddf148ac20d6f5b797f537d32d895407997d3 /installer | |
parent | cleaned up installation code in several ways: (diff) | |
download | core-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.pm | 4 |
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; |