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

Diff for /openbsd/fill_chroot/fill_chroot between version 1.11 and 1.13

version 1.11, 2008/09/16 23:28:04 version 1.13, 2008/09/17 21:08:17
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: fill_chroot,v 1.10 2008/09/16 22:13:21 andrew Exp $  # $RedRiver: fill_chroot,v 1.12 2008/09/16 22:38:35 andrew Exp $
   
 CHROOT=${CHROOT:=/home/andrew/www}  CHROOT=${CHROOT:=/home/andrew/www}
 export CHROOT  export CHROOT
Line 15 
Line 15 
         install -d -m 0555 -o root -g wheel $d          install -d -m 0555 -o root -g wheel $d
 done  done
   
 echo Installing ld.so  
 echo pax -r -w -L -p e /usr/libexec/ld.so ${CHROOT}  
 pax -r -w -L -p e /usr/libexec/ld.so ${CHROOT}  
   
 echo Making devices  echo Making devices
 cd ${CHROOT}/dev  cd ${CHROOT}/dev
 /dev/MAKEDEV std  /dev/MAKEDEV std
 cd ${OLDPWD}  cd ${OLDPWD}
   
 echo Installing perl  echo Installing perl into ${CHROOT}
 perl_to_chroot  perl_to_chroot
   
 if [ -e /usr/local/sbin/femail ]; then  if [ -e /usr/local/sbin/femail ]; then
         echo Installing femail          echo Installing femail into ${CHROOT}
         echo pax -r -w -L -p e /usr/local/sbin/femail ${CHROOT}          echo pax -r -w -L -p e /usr/local/sbin/femail ${CHROOT}
         pax -r -w -L -p e /usr/local/sbin/femail ${CHROOT}          pax -r -w -L -p e /usr/local/sbin/femail ${CHROOT}
 else  else
Line 44 
Line 40 
 fi  fi
   
 if [ -e /usr/local/bin/aspell ]; then  if [ -e /usr/local/bin/aspell ]; then
         echo Installing aspell          echo Installing aspell into ${CHROOT}
         for d in \          for d in \
                 /usr/local/bin/aspell \                  /usr/local/bin/aspell \
                 /usr/local/lib/aspell \                  /usr/local/lib/aspell \
Line 57 
Line 53 
         _find="${_find} -o ( -name aspell -a -type f )"          _find="${_find} -o ( -name aspell -a -type f )"
 fi  fi
   
 echo Installing dependencies  echo Installing dependencies into ${CHROOT}
 for d in `find ${CHROOT}/usr ${_find} | \  for d in `find ${CHROOT}/usr ${_find} | \
      xargs find_depends | \       xargs find_depends | \
      sort -u `; do       sort -u `; do

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

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