=================================================================== RCS file: /cvs/openbsd/fill_chroot/fix_ldconfig,v retrieving revision 1.2 retrieving revision 1.4 diff -u -r1.2 -r1.4 --- openbsd/fill_chroot/fix_ldconfig 2005/12/21 18:16:03 1.2 +++ openbsd/fill_chroot/fix_ldconfig 2006/06/29 19:44:19 1.4 @@ -1,7 +1,7 @@ #!/bin/sh -# $RedRiver: fix_ldconfig,v 1.1 2005/12/21 18:04:06 andrew Exp $ +# $RedRiver: fix_ldconfig,v 1.3 2005/12/21 19:14:12 andrew Exp $ -CHROOT=${CHROOT:=/home/andrew/www} +CHROOT=${CHROOT:=/var/www} if [ ${CHROOT}"X" == "X" ]; then echo No CHROOT Specified! @@ -12,5 +12,6 @@ mkdir -p ${CHROOT}/var/run cp /sbin/ldconfig ${CHROOT}/bin -chroot ${CHROOT} /bin/ldconfig /usr/local/lib +chroot ${CHROOT} /bin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib +#chroot ${CHROOT} /bin/ldconfig -r rm -f ${CHROOT}/bin/ldconfig