From e0f3b6039850eaae6dafc4ce5c6e28f0430ded37 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 12 Sep 2005 15:44:05 +0000 Subject: [PATCH] *** empty log message *** --- tools/chrootmake.sh | 3 +++ tools/release.sh | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.44.0