Include version info in iso filenames
This commit is contained in:
parent
189a1cb738
commit
f224cf091d
1 changed files with 6 additions and 3 deletions
|
@ -57,8 +57,11 @@ RELEASEDIR=/usr/r/release
|
||||||
IMAGE=cdfdimage
|
IMAGE=cdfdimage
|
||||||
ROOTIMAGE=rootimage
|
ROOTIMAGE=rootimage
|
||||||
CDFILES=/usr/tmp/cdreleasefiles
|
CDFILES=/usr/tmp/cdreleasefiles
|
||||||
ISO=minix.iso
|
sh tell_config OS_RELEASE . OS_VERSION >/tmp/rel.$$
|
||||||
ISOGZ=minix.iso.gz
|
version=`sed 's/[" ]//g;/^$/d' </tmp/rel.$$ | tr . _`
|
||||||
|
ISO=minix${version}.iso
|
||||||
|
ISOGZ=${ISO}.gz
|
||||||
|
echo $ISOGZ
|
||||||
RAM=/dev/ram
|
RAM=/dev/ram
|
||||||
BS=4096
|
BS=4096
|
||||||
|
|
||||||
|
@ -156,7 +159,7 @@ mkdir -m 1777 $RELEASEDIR/tmp
|
||||||
mount $TMPDISK2 $RELEASEDIR/tmp
|
mount $TMPDISK2 $RELEASEDIR/tmp
|
||||||
|
|
||||||
echo " * Zeroing $TMPDISK"
|
echo " * Zeroing $TMPDISK"
|
||||||
dd if=/dev/zero of=$TMPDISK bs=$BS count=$USRBLOCKS
|
#dd if=/dev/zero of=$TMPDISK bs=$BS count=$USRBLOCKS
|
||||||
mkfs -B $BS -b $USRBLOCKS $TMPDISK || exit
|
mkfs -B $BS -b $USRBLOCKS $TMPDISK || exit
|
||||||
echo " * Mounting $TMPDISK as $RELEASEDIR/usr"
|
echo " * Mounting $TMPDISK as $RELEASEDIR/usr"
|
||||||
mount $TMPDISK $RELEASEDIR/usr || exit
|
mount $TMPDISK $RELEASEDIR/usr || exit
|
||||||
|
|
Loading…
Reference in a new issue