docs/137415: Wrong letter capitalization of kernel name option in install.cfg

John Baldwin jhb at freebsd.org
Tue Aug 4 12:00:13 UTC 2009


The following reply was made to PR docs/137415; it has been noted by GNATS.

From: John Baldwin <jhb at freebsd.org>
To: freebsd-doc at freebsd.org
Cc: Yuri Gorchakov <yuri.gorchakov at point-group.ru>,
 freebsd-gnats-submit at 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 at 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



More information about the freebsd-doc mailing list