From f3a3526ab01ceea9cf84828c44a718a46f6311ee Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 29 Nov 2011 09:39:30 -0300 Subject: [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 --- archiso/install/archiso_pxe_common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archiso/install/archiso_pxe_common') 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 } -- cgit v1.2.3-70-g09d2