Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install
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
commit7a9054d9a4f560179248a6e113244ba16a7dd9f0 (patch)
tree651c47c28e51b4499d4c2163223f6f9e7fc8035c /archiso/install
parente5e2dbbacefd172def3695440f1a21db1bc4d439 (diff)
[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>
Diffstat (limited to 'archiso/install')
-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
}