summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-11-29 14:04:56 +0100
committerOliver Tappe2007-11-29 14:04:56 +0100
commitf02ab2e06a9cf5e13b597e3aba287cdae3b44763 (patch)
tree96e16a0f1fe8b9567717a5fac302560fd660d52f /installer
parentFixing the SuSE10.3 device mount/access problem reported ... (at least for (diff)
downloadcore-f02ab2e06a9cf5e13b597e3aba287cdae3b44763.tar.gz
core-f02ab2e06a9cf5e13b597e3aba287cdae3b44763.tar.xz
core-f02ab2e06a9cf5e13b597e3aba287cdae3b44763.zip
* when setting up the resolver for stage1a, we now copy nsswitch.conf from
the host system, too, as otherwise the resolver would not work on a opensuse-10.3 host (so nothing can be installed). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1411 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index 7e0296be..42a1923f 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -1221,7 +1221,8 @@ sub _stage1A_setupResolver
}
copyFile('/etc/resolv.conf', "$self->{stage1aDir}/etc");
- spitFile("$self->{stage1aDir}/etc/hosts", '127.0.0.1 localhost');
+ copyFile('/etc/nsswitch.conf', "$self->{stage1aDir}/etc");
+ spitFile("$self->{stage1aDir}/etc/hosts", "127.0.0.1 localhost\n");
copyFile("$libcFolder/libresolv*", "$self->{stage1aDir}$libcFolder");
copyFile("$libcFolder/libnss_dns*", "$self->{stage1aDir}$libcFolder");
copyFile("$libcFolder/libnss_files*", "$self->{stage1aDir}$libcFolder");