Subject: Re: building a kernel with a read-only /usr/src
To: matthew green <mrg@eterna.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 05/13/1998 10:49:17
On Wed, 13 May 1998 17:41:17 +1000 
 matthew green <mrg@eterna.com.au> wrote:

 > 
 >    Is it possible to build a kernel when /usr/src is mounted read-only?
 >    
 >    Is there a mechanism to make a kernel in /usr/obj?
 > 
 > 
 > i'm not sure if this really answers you question (ie, RO /usr/src), but i
 > use this to build kernels on machines that don't have /sys locally, but i'd
 > rather build on local disks:
 > 
 > cd /sys/arch/pmax/conf; config -b /orb/p/_aubrey-ii_ -s /sys _aubrey-ii_
 > 
 > which will build my pmax kernel in /orb/p/_aubrey-ii_, while looking for
 > sources in /sys.  someone added the -b/-s switches about a year or so ago.

You can put directives in the kernel config files, too... I forget
exactly what they are, however.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939