Bug 90738

Summary: Missing distribution elements when compiling 6.0 kernel
Product: Documentation Reporter: Witold Rugowski <rugowski1spm>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Witold Rugowski 2005-12-21 12:10:10 UTC
Clean, minimal instalation of 6.0-RELEASE with following source pagages
-base
-sys
does not allow to make installkernel (missing etc directory or something like this). Adding etc src distribution allows to do make installkernel (without etc it is possible to compile new kernel). In Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html) etc is not mentioned as required part of distribution to install.

Fix: 

Install src/etc
How-To-Repeat: Install minimal 6.0-RELASE with src/sys and src/base, then

make buildkernel
make installkernel
Comment 1 John Baldwin freebsd_committer freebsd_triage 2005-12-21 15:42:46 UTC
On Wednesday 21 December 2005 07:04 am, Witold Rugowski wrote:
> >Number:         90738
> >Category:       docs
> >Synopsis:       Missing distribution elements when compiling 6.0 kernel
> >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:   Wed Dec 21 12:10:10 GMT 2005
> >Closed-Date:
> >Last-Modified:
> >Originator:     Witold Rugowski
> >Release:        6.0-RELEASE
> >Organization:
> >Environment:
>
> In Bochs 2.2.1
>
> >Description:
>
> Clean, minimal instalation of 6.0-RELEASE with following source pagages
> -base
> -sys
> does not allow to make installkernel (missing etc directory or something
> like this). Adding etc src distribution allows to do make installkernel
> (without etc it is possible to compile new kernel). In Handbook
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-bui
>lding.html) etc is not mentioned as required part of distribution to
> install.
>
> >How-To-Repeat:
>
> Install minimal 6.0-RELASE with src/sys and src/base, then
>
> make buildkernel
> make installkernel
>
> >Fix:
>
> Install src/etc

Actually, I think that make installkernel should work with just src/sys 
installed.  I think this has actually been fixed in HEAD.  ru@ would know if 
it has and if it has been MFC'd yet.  I think this should be fixed for 6.1.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Comment 2 ru freebsd_committer freebsd_triage 2005-12-21 15:56:36 UTC
State Changed
From-To: open->closed

Fixed in 7.0-CURRENT and 6.0-STABLE.