From owner-freebsd-doc@FreeBSD.ORG Tue Aug 4 11:56:51 2009 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 488BC1065670; Tue, 4 Aug 2009 11:56:51 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 067DA8FC14; Tue, 4 Aug 2009 11:56:51 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id ADE4546B37; Tue, 4 Aug 2009 07:56:50 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 9249A8A0A5; Tue, 4 Aug 2009 07:56:49 -0400 (EDT) From: John Baldwin To: freebsd-doc@freebsd.org Date: Tue, 4 Aug 2009 07:56:45 -0400 User-Agent: KMail/1.9.7 References: <200908040829.n748T39v029223@www.freebsd.org> In-Reply-To: <200908040829.n748T39v029223@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908040756.45593.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 04 Aug 2009 07:56:49 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-gnats-submit@freebsd.org, Yuri Gorchakov 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 List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 11:56:51 -0000 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