#!/bin/sh # # $dotat: buildworld/doetc.sh,v 1.9 2002/07/25 10:24:04 fanf2 Exp $ MAKEOPTS='' # location of the buildworld scripts cd ${0%/*} SCRIPTS=`pwd -P` # set up a load of the other stuff . $SCRIPTS/common.sh banner build /etc rm -Rf $ROOT $ROOT.tmp mkdir $ROOT $ROOT.tmp cd $SRC/etc make NO_MAKEDEV_RUN=YES INSTALL="sh $SRC/tools/install.sh" DESTDIR=$ROOT.tmp distrib-dirs distribution rm $ROOT.tmp/etc/pwd.db $ROOT.tmp/etc/spwd.db $ROOT.tmp/etc/passwd mv $ROOT.tmp/dev/MAKEDEV* $ROOT.tmp/etc mv $ROOT.tmp/etc $ROOT/etc rm -Rf $ROOT.tmp if [ -e $ROOT.old ] then banner compare old and new root files errok diff -Nru -x sys $ROOT.old $ROOT >$SCRIPTS/logs/root.diff.$DATE cat $SCRIPTS/logs/root.diff.$DATE fi