From owner-freebsd-doc@FreeBSD.ORG Tue Aug 4 12:00:12 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD5F5106567A for ; Tue, 4 Aug 2009 12:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 924308FC1B for ; Tue, 4 Aug 2009 12:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n74C0Cir076377 for ; Tue, 4 Aug 2009 12:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n74C0CI0076376; Tue, 4 Aug 2009 12:00:12 GMT (envelope-from gnats) Date: Tue, 4 Aug 2009 12:00:12 GMT Message-Id: <200908041200.n74C0CI0076376@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: John Baldwin Cc: Subject: Re: docs/137415: Wrong letter capitalization of kernel name option in install.cfg X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 12:00:13 -0000 The following reply was made to PR docs/137415; it has been noted by GNATS. From: John Baldwin To: freebsd-doc@freebsd.org Cc: Yuri Gorchakov , freebsd-gnats-submit@freebsd.org Subject: Re: docs/137415: Wrong letter capitalization of kernel name option in install.cfg Date: Tue, 4 Aug 2009 07:56:45 -0400 On Tuesday 04 August 2009 4:29:03 am Yuri Gorchakov wrote: > > >Number: 137415 > >Category: docs > >Synopsis: Wrong letter capitalization of kernel name option in install.cfg > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-doc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: doc-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Aug 04 08:30:02 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Yuri Gorchakov > >Release: FreeBSD 7.1-RELEASE-p6 > >Organization: > Point Group > >Environment: > FreeBSD alienware.local 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #29: Tue Jun 23 16:26:25 NOVST 2009 root@alienware.local:/usr/obj/usr/src/sys/YNEW64 amd64 > >Description: > sysinstall documentation shows install.cfg option to install generic kernel as > dists=base generic > distSetCustom > but it doesn't work that way, it must be > dists=base GENERIC > distSetCustom > for sysinstall to pickup and install the kernel. > >How-To-Repeat: > write an install.cfg script with such options set: > mediaSetCDROM > dists=base generic lib32 > distSetCustom > disk=ad0 > partition=all > bootManager=boot > diskPartitionEditor > ad0s1-1=ufs 1048576 / > ad0s1-2=swap 1048576 none > ad0s1-3=ufs 2097152 /tmp 1 > ad0s1-4=ufs 8388608 /var 1 > ad0s1-5=ufs 0 /usr 1 > diskLabelEditor > installCommit > > put the script on either floppy or custom CD and make sysinstall pick it up and run. > >Fix: > fix the documentation to show > dists List of distributions to load. Possible distribution > values are: > > base The base binary distribution. > > GENERIC The GENERIC kernel. This should fix it: Index: install.c =================================================================== --- install.c (revision 196050) +++ install.c (working copy) @@ -939,7 +939,7 @@ if (RunningAsInit) { /* * Install something as /boot/kernel. Prefer SMP - * over generic--this should handle the case where + * over GENERIC--this should handle the case where * both SMP and GENERIC are installed (otherwise we * select the one kernel that was installed). * Index: sysinstall.8 =================================================================== --- sysinstall.8 (revision 196050) +++ sysinstall.8 (working copy) @@ -411,9 +411,9 @@ .Bl -tag -width indentxx .It Li base The base binary distribution. -.It Li generic +.It Li GENERIC The GENERIC kernel. -.It Li smp +.It Li SMP A kernel suitable for multiple processor systems. .It Li doc Miscellaneous documentation -- John Baldwin