shutils/chroot.sh: create /bin/sh symlinks while installing the utils.

--HG--
extra : convert_revision : 68973ca2649c22f28896c3e9dd5c43bc63aff860
This commit is contained in:
Juan RP 2009-05-06 07:19:32 +02:00
parent 36c84fe45b
commit 08ba62ccdf

View file

@ -93,6 +93,7 @@ nameserver 208.67.220.220
_EOF
touch $XBPS_MASTERDIR/.xbps_perms_done
}
rebuild_ldso_cache()
@ -115,6 +116,7 @@ install_xbps_utils()
done
if [ -n "$needed" ]; then
cd ${XBPS_MASTERDIR}/bin && ln -s dash sh
echo "=> Building and installing xbps utils."
chroot $XBPS_MASTERDIR sh -c \
"echo /usr/local/lib > /etc/ld.so.conf"