From 568ba4e277e93e615a16e520d2ba200ff4ee5d50 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 2 Jan 2008 14:09:29 +0000 Subject: * 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 --- installer/OpenSLX/OSSetup/Packager/dpkg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'installer') 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; -- cgit v1.2.3-55-g7522