From: Ben Gras Date: Thu, 21 Jul 2005 08:35:06 +0000 (+0000) Subject: Added presz134.zip to go on install cd, modified release script to do it X-Git-Tag: v3.1.0~580 X-Git-Url: http://zhaoyanbai.com/repos/doc/tz-art.htm?a=commitdiff_plain;h=b343c1871248a2067dd22adab3b2735cacf09970;p=minix.git Added presz134.zip to go on install cd, modified release script to do it --- diff --git a/tools/release.sh b/tools/release.sh index f7b2e7595..4b1a7b0e1 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -4,6 +4,7 @@ COPYITEMS="usr/src usr/bin bin usr/lib" RELEASEDIR=/usr/r/release IMAGE=cdfdimage ROOTIMAGE=rootimage +CDFILES=/tmp/cdreleasefiles ISO=minix.iso ISOGZ=minix.iso.gz RAM=/dev/ram @@ -16,8 +17,7 @@ then echo "$RAM should be exactly ${rootkb}k." fi echo "Warning: I'm going to mkfs $RAM!" echo "Temporary (sub)partition to use to make the /usr FS image? " -echo "It has to be at least 40MB, not much more because it's going to be " -echo "appended to the .iso. It will be mkfsed!" +echo "It will be mkfsed!" echo -n "Device: /dev/" read dev || exit 1 TMPDISK=/dev/$dev @@ -32,7 +32,8 @@ umount $TMPDISK umount $RAM ( cd .. && make clean ) -rm -rf $RELEASEDIR $ISO $IMAGE $ROOTIMAGE ${IMAGE}.z +rm -rf $RELEASEDIR $ISO $IMAGE $ROOTIMAGE $ISOGZ $CDFILES +mkdir $CDFILES || exit mkdir -p $RELEASEDIR mkfs -b 1440 -B 1024 $RAM || exit echo " * mounting $RAM as $RELEASEDIR" @@ -61,7 +62,8 @@ make programs image (cd ../boot && make) make image || exit 1 sh mkboot cdfdboot -writeisofs -l MINIX -b $IMAGE /tmp $ISO || exit 1 +cp release/cd/* $CDFILES +writeisofs -l MINIX -b $IMAGE $CDFILES $ISO || exit 1 echo "Appending Minix root and usr filesystem" cat $ISO $ROOTIMAGE $TMPDISK | gzip >$ISOGZ || exit 1 ls -al $ISOGZ