[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>
This commit is contained in:
parent
5b9eba924d
commit
f3a3526ab0
@ -18,9 +18,9 @@ build ()
|
|||||||
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"
|
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"
|
||||||
|
|
||||||
# Add hosts support files+dns
|
# 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_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)
|
add_binary $(readlink -f /lib/libnss_dns.so.2)
|
||||||
echo "hosts: files dns" > $BUILDROOT/etc/nsswitch.conf
|
echo "hosts: files dns" > $BUILDROOT/etc/nsswitch.conf
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user