Change the loader.rc in the boot floppy to:

1. Enable use of serial console for installation by using autoboot
  instead of boot.

2. Beep when the mfs root floppy needs to be placed in the fdd.

3. Beep again when mfs root image is loaded and the loader waits
  for ten seconds before it starts booting for any input.  (Serial
  console users can say " boot -h" here.)
This commit is contained in:
Masafumi Max NAKANE 1999-04-25 16:42:46 +00:00
parent 3e977c59cf
commit 78e52c11c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46065

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.476 1999/03/31 11:18:52 sada Exp $
# $Id: Makefile,v 1.477 1999/04/20 11:41:59 obrien Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@ -663,10 +663,12 @@ doMFSKERN:
@cp /boot/boot[12] /boot/loader ${RD}/image.${FSIMAGE}/boot
.if !defined(BIGBOOT) || ${MACHINE_ARCH} == "alpha"
@echo "load /kernel" > ${RD}/image.${FSIMAGE}/boot/loader.rc
@printf "echo \a\a\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "read" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "boot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@printf "echo \a\a\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@touch ${RD}/image.${FSIMAGE}/boot/loader.config
.endif
.if defined(BIGBOOT)