From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 10 09:10:23 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8205416A4D0 for ; Tue, 10 Aug 2004 09:10:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6214443D45 for ; Tue, 10 Aug 2004 09:10:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7A9ANbD056352 for ; Tue, 10 Aug 2004 09:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7A9ANCk056351; Tue, 10 Aug 2004 09:10:23 GMT (envelope-from gnats) Resent-Date: Tue, 10 Aug 2004 09:10:23 GMT Resent-Message-Id: <200408100910.i7A9ANCk056351@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gavin Atkinson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DCAC16A4CF for ; Tue, 10 Aug 2004 09:00:47 +0000 (GMT) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9480643D41 for ; Tue, 10 Aug 2004 09:00:46 +0000 (GMT) (envelope-from ga9@buffy.york.ac.uk) Received: from buffy.york.ac.uk (buffy.york.ac.uk [144.32.226.160]) by mail-gw1.york.ac.uk (8.12.10/8.12.10) with ESMTP id i7A90hH6011626 for ; Tue, 10 Aug 2004 10:00:43 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.12.11/8.12.11) with ESMTP id i7A90hWk071900 for ; Tue, 10 Aug 2004 10:00:43 +0100 (BST) (envelope-from ga9@buffy.york.ac.uk) Received: (from root@localhost) by buffy.york.ac.uk (8.12.11/8.12.11/Submit) id i7A90h3t071899; Tue, 10 Aug 2004 10:00:43 +0100 (BST) (envelope-from ga9) Message-Id: <200408100900.i7A90h3t071899@buffy.york.ac.uk> Date: Tue, 10 Aug 2004 10:00:43 +0100 (BST) From: Gavin Atkinson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/70245: Change to src/release/Makefile to aid documentation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gavin Atkinson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 09:10:23 -0000 >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: