Index: tinybsd =================================================================== RCS file: /home/ncvs/src/tools/tools/tinybsd/tinybsd,v retrieving revision 1.4 diff -u -r1.4 tinybsd --- tinybsd 11 Oct 2006 21:46:53 -0000 1.4 +++ tinybsd 24 Oct 2006 09:58:21 -0000 @@ -260,6 +260,15 @@ mtree -deU -f /etc/mtree/BSD.root.dist -p ${WORKDIR} mtree -deU -f /etc/mtree/BSD.usr.dist -p ${WORKDIR}/usr mtree -deU -f /etc/mtree/BSD.var.dist -p ${WORKDIR}/var + + for file in `cat ${CURRENTDIR}/conf/${CONF}/tinybsd.basefiles | grep -v "#" | \ + cut -f1 -d":" | sort | uniq` ; do + dir=`dirname ${file}` + if [ ! -d $WORKDIR/$dir ]; then + echo "Non-standard directory created: $dir." + mkdir -p $WORKDIR/$dir + fi + done }