]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Mon, 12 Sep 2005 15:44:05 +0000 (15:44 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Sep 2005 15:44:05 +0000 (15:44 +0000)
tools/chrootmake.sh
tools/release.sh

index 0a831e70fba7145bf683be0ed320370a9ccd8df6..68fc3bb4b3cc16acd7015b0c890b1c4c47d9e089 100755 (executable)
@@ -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
 
index d1f686ff5b328fe71be54ccfdc4760c0dc5bf22a..897f16de4d8921068a647f41a9f78971cf3ccc6e 100755 (executable)
@@ -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' </tmp/rel.$$`
 version=`sed 's/["      ]//g;/^$/d' </tmp/rel.$$ | tr . _`
 ISO=minix${version}.iso
 ISOGZ=${ISO}.gz
@@ -222,8 +223,11 @@ then
        read xyzzy
 fi
 
-df $TMPDISK | tail -1 | awk '{ print $4 }' >$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