RELEASEDIR=/usr/r/release
IMAGE=cdfdimage
ROOTIMAGE=rootimage
-CDFILES=/tmp/cdreleasefiles
+CDFILES=/usr/tmp/cdreleasefiles
ISO=minix.iso
ISOGZ=minix.iso.gz
RAM=/dev/ram
umount $RAM
( cd .. && make clean )
+echo " * Cleanup old files"
rm -rf $RELEASEDIR $ISO $IMAGE $ROOTIMAGE $ISOGZ $CDFILES
-mkdir $CDFILES || exit
+mkdir -p $CDFILES || exit
mkdir -p $RELEASEDIR
mkfs -b 1440 -B 1024 $RAM || exit
echo " * mounting $RAM as $RELEASEDIR"
chown -R bin $RELEASEDIR/usr/src
date >$RELEASEDIR/CD
( cd $RELEASEDIR && find . -name CVS | xargs rm -rf )
+echo " * Making source .tgz for on ISO filesystem"
+( cd $RELEASEDIR/usr/src && tar cf - . | gzip > $CDFILES/MINIXSRC.TGZ )
echo " * Chroot build"
chroot $RELEASEDIR '/bin/sh -x /usr/src/tools/chrootmake.sh' || exit 1
echo " * Chroot build done"
\r
This CD is intended to be booted. It contains a MINIX system that you\r
can run (a so-called "Live CD"). You can also install MINIX to your\r
-harddisk with it. It's contents aren't visible here though.\r
+harddisk with it. It's contents aren't visible here.\r
+\r
+In this directory:\r
+ . README.TXT - thisfile\r
+ . PRESZ134.ZIP - a utility to resize your current partition.\r
+ This may be convenient to make space for MINIX.\r
+ . MINIXSRC.TGZ - an archive all minix sources.\r
+ It's a gzip-compressed .tar file. E.g. WinZip can read it.\r
\r
For more information and news that became available after this release,\r
please visit:\r