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

Annotation of openbsd/fill_chroot/fill_chroot, Revision 1.6

1.1       andrew      1: #!/bin/sh
1.6     ! andrew      2: # $RedRiver: fill_chroot,v 1.5 2006/07/18 02:47:35 andrew Exp $
1.1       andrew      3:
                      4: CHROOT=${CHROOT:=/home/andrew/www}
                      5: export CHROOT
                      6:
                      7: perl_to_chroot
                      8: mkdir -p ${CHROOT}/usr/local/lib
1.5       andrew      9:
1.6     ! andrew     10: if [ -e ${CHROOT}/bin/mini_sendmail ]; then
        !            11:        mkdir -p ${CHROOT}/usr/sbin
        !            12:        cd ${CHROOT}/usr/sbin
        !            13:        ln -sf ../../bin/mini_sendmail sendmail
        !            14:        cd ${OLDPWD}
1.5       andrew     15: else
                     16:        echo mini_sendmail not installed!  Please install it and link it to
                     17:        echo "    ${CHROOT}/usr/sbin/sendmail"
                     18: fi
1.1       andrew     19:
1.4       andrew     20: find ${CHROOT} -name *.so.* -or -name *.so | xargs find_depends | \
1.2       andrew     21:      sort -u | xargs -I {} pax -r -w -L -p e {} ${CHROOT}
1.1       andrew     22:
                     23: fix_ldconfig

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