Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 10:00:43 +0100 (BST)
From:      Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/70245: Change to src/release/Makefile to aid documentation
Message-ID:  <200408100900.i7A90h3t071899@buffy.york.ac.uk>
Resent-Message-ID: <200408100910.i7A9ANCk056351@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70245
>Category:       bin
>Synopsis:       Change to src/release/Makefile to aid documentation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 09:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Atkinson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD buffy.york.ac.uk 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Thu Jun 24 15:03:29 BST 2004 root@buffy.york.ac.uk:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Section 1.5.6 in the INSTALL.TXT file distributed with releases describes how to install FreeBSD over a serial console when FreeBSD has failed to detect the fact there is no keyboard attached. This description relies on being able to count beeps so that you know when to press space and break to the loader. However, (I believe since revision 1.835 of src/release/Makefile) there are no longer any beeps which makes it hard to document. Attached is a patch to change this so that a beep is heard before the beastie menu. This patch has survived a full i386 make release with expected results.

	I am currently working on bringing the installation documentation up-to-date ready for 5.3-RELEASE but it is not possible to correct section 1.5.6 without this change.
>How-To-Repeat:
	Boot off the install floppies and try to guess when the beastie menu is on screen without looking.
>Fix:

	(Patch also at http://www.devrandom.co.uk/freebsd/releasebeep.diff)

Index: release/Makefile
===================================================================
RCS file: /usr/cvs/src/release/Makefile,v
retrieving revision 1.850
diff -u -r1.850 Makefile
--- release/Makefile	6 Aug 2004 17:07:40 -0000	1.850
+++ release/Makefile	9 Aug 2004 14:04:06 -0000
@@ -1130,7 +1130,9 @@
 	@cp ${BOOTDIR}/loader ${IMAGEDIR}/boot
 .endif
 	@cp -Rp ${BOOTDIR}/*.4th ${BOOTDIR}/defaults ${BOOTDIR}/loader.help \
-	    ${BOOTDIR}/loader.rc ${IMAGEDIR}/boot
+	    ${IMAGEDIR}/boot
+	@awk '/beastie-start/ {printf "echo \\007\\007\n"} {print}' \
+	    ${BOOTDIR}/loader.rc > ${IMAGEDIR}/boot/loader.rc
 .if exists(${HINTSFILE})
 	@gzip -9nc ${HINTSFILE} > ${IMAGEDIR}/boot/device.hints.gz
 .endif

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408100900.i7A90h3t071899>