[BACK]Return to fix_ldconfig CVS log [TXT][DIR] Up to [local] / openbsd / fill_chroot

Diff for /openbsd/fill_chroot/fix_ldconfig between version 1.3 and 1.4

version 1.3, 2005/12/21 19:14:12 version 1.4, 2006/06/29 19:44:19
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: fix_ldconfig,v 1.2 2005/12/21 18:16:03 andrew Exp $  # $RedRiver: fix_ldconfig,v 1.3 2005/12/21 19:14:12 andrew Exp $
   
 CHROOT=${CHROOT:=/var/www}  CHROOT=${CHROOT:=/var/www}
   
Line 12 
Line 12 
 mkdir -p ${CHROOT}/var/run  mkdir -p ${CHROOT}/var/run
   
 cp /sbin/ldconfig ${CHROOT}/bin  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  rm -f ${CHROOT}/bin/ldconfig

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>