Changed blocksizes and root sizes around
This commit is contained in:
parent
102a3b180c
commit
e44aebef68
2 changed files with 4 additions and 6 deletions
|
@ -8,8 +8,5 @@ make hdboot || exit 1
|
|||
cp ../boot/boot /boot/boot || exit 1
|
||||
cd /usr/src || exit 1
|
||||
make clean
|
||||
# Put compiler and libraries on root (ramdisk if enabled)
|
||||
cp /usr/lib/* /lib
|
||||
cp /usr/lib/i386/* /lib/i386/
|
||||
exit 0
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@ CDFILES=/usr/tmp/cdreleasefiles
|
|||
ISO=minix.iso
|
||||
ISOGZ=minix.iso.gz
|
||||
RAM=/dev/ram
|
||||
rootmb=16
|
||||
BS=2048
|
||||
rootmb=2
|
||||
rootkb=`expr $rootmb \* 1024`
|
||||
rootbytes=`expr $rootkb \* 1024`
|
||||
if [ `wc -c $RAM | awk '{ print $1 }'` -ne $rootbytes ]
|
||||
|
@ -37,7 +38,7 @@ echo " * Cleanup old files"
|
|||
rm -rf $RELEASEDIR $ISO $IMAGE $ROOTIMAGE $ISOGZ $CDFILES
|
||||
mkdir -p $CDFILES || exit
|
||||
mkdir -p $RELEASEDIR
|
||||
mkfs -b 16384 -B 1024 $RAM || exit
|
||||
mkfs -b 1024 -B $BS $RAM || exit
|
||||
echo " * chowning to bin"
|
||||
chown -R bin /usr/src
|
||||
echo " * mounting $RAM as $RELEASEDIR"
|
||||
|
@ -45,7 +46,7 @@ mount $RAM $RELEASEDIR || exit
|
|||
mkdir -m 755 $RELEASEDIR/usr
|
||||
mkdir -m 1777 $RELEASEDIR/tmp
|
||||
|
||||
mkfs $TMPDISK || exit
|
||||
mkfs -B $BS $TMPDISK || exit
|
||||
echo " * mounting $TMPDISK as $RELEASEDIR/usr"
|
||||
mount $TMPDISK $RELEASEDIR/usr || exit
|
||||
mkdir -p $RELEASEDIR/tmp
|
||||
|
|
Loading…
Reference in a new issue