From e44aebef68b82291b5e00a7db135e4e97be5a568 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 9 Aug 2005 17:02:01 +0000 Subject: [PATCH] Changed blocksizes and root sizes around --- tools/chrootmake.sh | 3 --- tools/release.sh | 7 ++++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 7a42f9d7e..f7557efb0 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -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 diff --git a/tools/release.sh b/tools/release.sh index 3d0ac10bc..4e2cef898 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -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 -- 2.44.0