From: Ben Gras Date: Tue, 30 Aug 2005 17:11:36 +0000 (+0000) Subject: Some small-minix tweaks. X-Git-Tag: v3.1.0~238 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.named-checkzone.html?a=commitdiff_plain;h=0908d7fa6ccb74e583b40515d5c3dacd0150ad6a;p=minix.git Some small-minix tweaks. --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 8243ebc88..090211b96 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -427,7 +427,7 @@ mount /dev/$usr /mnt >/dev/null || exit # Make bootable. installboot -d /dev/$root /usr/mdec/bootblock /boot/boot >/dev/null || exit -edparams /dev/$root "rootdev=$root; ramimagedev=$root; $disable; main() { echo By default, MINIX 3 will automatically load in 3 seconds.; echo Press ESC to enter the monitor for special configuration.; trap 3000 boot; menu; }; save" || exit +edparams /dev/$root "rootdev=$root; ramimagedev=$root; $disable; minix(=,Start MINIX 3) { unset image; boot; }; smallminix(+,Start Small MINIX 3) { image=/boot/image_small; boot; }; main() { echo By default, MINIX 3 will automatically load in 3 seconds.; echo Press ESC to enter the monitor for special configuration.; trap 3000 boot; menu; }; save" || exit pfile="/mnt/src/tools/fdbootparams" # echo "Remembering boot parameters in ${pfile}." echo "rootdev=$root; ramimagedev=$root; $disable; save" >$pfile || exit diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 5fca38b8c..0a831e70f 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -7,6 +7,9 @@ rm revision rm /boot/image/* make hdboot || exit 1 cp ../boot/boot /boot/boot || exit 1 +make clean +make image_small || exit 1 +cp image_small /boot || exit 1 cd /usr/src || exit 1 make clean # Let man find the manpages