Return to fix_ldconfig CVS log | Up to [local] / openbsd / fill_chroot |
File: [local] / openbsd / fill_chroot / fix_ldconfig (download)
Revision 1.2, Wed Dec 21 18:16:03 2005 UTC (18 years, 6 months ago) by andrew
spacing and get rid of a lot of old testing crap from find_depends |
#!/bin/sh # $RedRiver: fix_ldconfig,v 1.1 2005/12/21 18:04:06 andrew Exp $ CHROOT=${CHROOT:=/home/andrew/www} if [ ${CHROOT}"X" == "X" ]; then echo No CHROOT Specified! exit 255 fi mkdir -p ${CHROOT}/bin mkdir -p ${CHROOT}/var/run cp /sbin/ldconfig ${CHROOT}/bin chroot ${CHROOT} /bin/ldconfig /usr/local/lib rm -f ${CHROOT}/bin/ldconfig