Added presz134.zip to go on install cd, modified release script to do it
This commit is contained in:
parent
43ac66556e
commit
b343c18712
1 changed files with 6 additions and 4 deletions
|
@ -4,6 +4,7 @@ COPYITEMS="usr/src usr/bin bin usr/lib"
|
||||||
RELEASEDIR=/usr/r/release
|
RELEASEDIR=/usr/r/release
|
||||||
IMAGE=cdfdimage
|
IMAGE=cdfdimage
|
||||||
ROOTIMAGE=rootimage
|
ROOTIMAGE=rootimage
|
||||||
|
CDFILES=/tmp/cdreleasefiles
|
||||||
ISO=minix.iso
|
ISO=minix.iso
|
||||||
ISOGZ=minix.iso.gz
|
ISOGZ=minix.iso.gz
|
||||||
RAM=/dev/ram
|
RAM=/dev/ram
|
||||||
|
@ -16,8 +17,7 @@ then echo "$RAM should be exactly ${rootkb}k."
|
||||||
fi
|
fi
|
||||||
echo "Warning: I'm going to mkfs $RAM!"
|
echo "Warning: I'm going to mkfs $RAM!"
|
||||||
echo "Temporary (sub)partition to use to make the /usr FS image? "
|
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 "It will be mkfsed!"
|
||||||
echo "appended to the .iso. It will be mkfsed!"
|
|
||||||
echo -n "Device: /dev/"
|
echo -n "Device: /dev/"
|
||||||
read dev || exit 1
|
read dev || exit 1
|
||||||
TMPDISK=/dev/$dev
|
TMPDISK=/dev/$dev
|
||||||
|
@ -32,7 +32,8 @@ umount $TMPDISK
|
||||||
umount $RAM
|
umount $RAM
|
||||||
|
|
||||||
( cd .. && make clean )
|
( 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
|
mkdir -p $RELEASEDIR
|
||||||
mkfs -b 1440 -B 1024 $RAM || exit
|
mkfs -b 1440 -B 1024 $RAM || exit
|
||||||
echo " * mounting $RAM as $RELEASEDIR"
|
echo " * mounting $RAM as $RELEASEDIR"
|
||||||
|
@ -61,7 +62,8 @@ make programs image
|
||||||
(cd ../boot && make)
|
(cd ../boot && make)
|
||||||
make image || exit 1
|
make image || exit 1
|
||||||
sh mkboot cdfdboot
|
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"
|
echo "Appending Minix root and usr filesystem"
|
||||||
cat $ISO $ROOTIMAGE $TMPDISK | gzip >$ISOGZ || exit 1
|
cat $ISO $ROOTIMAGE $TMPDISK | gzip >$ISOGZ || exit 1
|
||||||
ls -al $ISOGZ
|
ls -al $ISOGZ
|
||||||
|
|
Loading…
Reference in a new issue