version 1.6, 2006/07/20 01:42:59 |
version 1.7, 2008/08/29 21:05:38 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: fill_chroot,v 1.5 2006/07/18 02:47:35 andrew Exp $ |
# $RedRiver: fill_chroot,v 1.6 2006/07/20 00:42:59 andrew Exp $ |
|
|
CHROOT=${CHROOT:=/home/andrew/www} |
CHROOT=${CHROOT:=/home/andrew/www} |
export CHROOT |
export CHROOT |
|
|
echo " ${CHROOT}/usr/sbin/sendmail" |
echo " ${CHROOT}/usr/sbin/sendmail" |
fi |
fi |
|
|
find ${CHROOT} -name *.so.* -or -name *.so | xargs find_depends | \ |
if [ -e /usr/local/bin/aspell ]; then |
|
mkdir -p ${CHROOT}/usr/local/bin/ |
|
cp /usr/local/bin/aspell ${CHROOT}/usr/local/bin/aspell |
|
_find="${_find} -or -name aspell" |
|
fi |
|
|
|
find ${CHROOT}/usr -name *.so.* -or -name *.so ${_find} | xargs find_depends | \ |
sort -u | xargs -I {} pax -r -w -L -p e {} ${CHROOT} |
sort -u | xargs -I {} pax -r -w -L -p e {} ${CHROOT} |
|
|
fix_ldconfig |
fix_ldconfig |