From: Ben Gras Date: Mon, 12 Sep 2005 15:44:05 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~112 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=e0f3b6039850eaae6dafc4ce5c6e28f0430ded37;p=minix.git *** empty log message *** --- diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 0a831e70f..68fc3bb4b 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -14,6 +14,9 @@ cd /usr/src || exit 1 make clean # Let man find the manpages makewhatis /usr/man +makewhatis /usr/gnu/man makewhatis /usr/local/man +mv /usr/src/commands /usr/src.commands +mv /usr/src/contrib /usr/src.contrib exit 0 diff --git a/tools/release.sh b/tools/release.sh index d1f686ff5..897f16de4 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -58,6 +58,7 @@ IMAGE=cdfdimage ROOTIMAGE=rootimage CDFILES=/usr/tmp/cdreleasefiles sh tell_config OS_RELEASE . OS_VERSION >/tmp/rel.$$ +version_pretty=`sed 's/[" ]//g;/^$/d' $RELEASEDIR/.usrkb +echo $version_pretty >$RELEASEDIR/etc/version echo " * Counting files" +df $TMPDISK | tail -1 | awk '{ print $4 }' >$RELEASEDIR/.usrkb +du -s $RELEASEDIR/usr/src.* | awk '{ t += $1 } END { print t }' >$RELEASEDIR/.extrasrckb +( for d in $RELEASEDIR/usr/src.*; do find $d; done) | wc -l >$RELEASEDIR/.extrasrcfiles find $RELEASEDIR/usr | wc -l >$RELEASEDIR/.usrfiles find $RELEASEDIR -xdev | wc -l >$RELEASEDIR/.rootfiles umount $TMPDISK || exit