diff options
author | Oliver Tappe | 2007-11-29 14:04:56 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-11-29 14:04:56 +0100 |
commit | f02ab2e06a9cf5e13b597e3aba287cdae3b44763 (patch) | |
tree | 96e16a0f1fe8b9567717a5fac302560fd660d52f /installer | |
parent | Fixing the SuSE10.3 device mount/access problem reported ... (at least for (diff) | |
download | core-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.pm | 3 |
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"); |