summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-29 09:39:30 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-29 09:42:46 -0300
commitf3a3526ab01ceea9cf84828c44a718a46f6311ee (patch)
treef431f4564e4cce2b8224dc2d2a44512fd164f6fc
parent5b9eba924d0e700ba9023e5f73bcccc5f8ee28c8 (diff)
downloadarchiso32-f3a3526ab01ceea9cf84828c44a718a46f6311ee.tar.xz
[archiso] Fix libnss symlinks.
Otherwise does not work. 22100 Nov 29 09:29 ./lib/libnss_dns-2.14.1.so 20 Nov 29 09:29 ./lib/libnss_dns.so.2 -> libnss_dns-2.14.1.so 46732 Nov 29 09:29 ./lib/libnss_files-2.14.1.so 22 Nov 29 09:29 ./lib/libnss_files.so.2 -> libnss_files-2.14.1.so Looks like my test was made before introducing symlinks and using directly libnss_dns-$VERSION.so.2 as libnss_dns.so.2. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rw-r--r--archiso/install/archiso_pxe_common4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiso/install/archiso_pxe_common b/archiso/install/archiso_pxe_common
index 7dc1ebb..ce54f7a 100644
--- a/archiso/install/archiso_pxe_common
+++ b/archiso/install/archiso_pxe_common
@@ -18,9 +18,9 @@ build ()
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"
# Add hosts support files+dns
- add_symlink $(readlink /lib/libnss_files.so.2) /lib/libnss_files.so.2
+ add_symlink /lib/libnss_files.so.2 $(readlink /lib/libnss_files.so.2)
add_binary $(readlink -f /lib/libnss_files.so.2)
- add_symlink $(readlink /lib/libnss_dns.so.2) /lib/libnss_dns.so.2
+ add_symlink /lib/libnss_dns.so.2 $(readlink /lib/libnss_dns.so.2)
add_binary $(readlink -f /lib/libnss_dns.so.2)
echo "hosts: files dns" > $BUILDROOT/etc/nsswitch.conf
}