Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA19203; Tue, 19 Dec 95 14:23:52 EST
Received: from pain.lcs.mit.edu by MIT.EDU with SMTP
	id AA05018; Tue, 19 Dec 95 14:23:48 EST
Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.12/8.6.9) id NAA09332; Tue, 19 Dec 1995 13:54:10 -0500
Received: from lestat.nas.nasa.gov by pain.lcs.mit.edu (8.6.12/8.6.9) with ESMTP id NAA09175 for <netbsd-developers@netbsd.org>; Tue, 19 Dec 1995 13:35:46 -0500
Received: from localhost (thorpej@localhost)
	by lestat.nas.nasa.gov (8.6.12/NAS.6.1) with SMTP id KAA00916; Tue, 19 Dec 1995 10:35:22 -0800
Message-Id: <199512191835.KAA00916@lestat.nas.nasa.gov>
X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost didn't use HELO protocol
To: Paul Kranenburg <pk@cs.few.eur.nl>
Cc: netbsd-developers@netbsd.org
Subject: Re: distrib/miniroot 
Reply-To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Jason Thorpe <thorpej@nas.nasa.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 19 Dec 1995 10:35:22 -0800
Sender: owner-netbsd-developers@NetBSD.ORG
Precedence: first-class
X-Loop: netbsd-developers@NetBSD.ORG

On Tue, 19 Dec 95 11:47:45 +0100 
 Paul Kranenburg <pk@cs.few.eur.nl> wrote:

 > Currently, the Makefile looks for a file `../<arch>/miniroot/list' containing
 > the machine-dependent actions and programs to be installed: kernels,bootblocks,
 > installation scripts, etc.. (it would be nice to have a MI base for the
 > installation scripts too, btw).

Paul ... after you grabbed the hp300 script for the sparc (and made some 
MI/MD separation, which I grabbed), I did some more separating.  The 
current hp300 install.sh (and upgrade.sh) *should* be really close to MI, 
with the exception of specific functions that are clearly commented as 
being MD.

I would propose the following:

	* src/distrib/miniroot/install.sh - The machine-independent
	  installation script.  .'s in machine dependent functions
	  which conform to a well-documented naming convention.

	* src/distrib/${MACHINE}/miniroot/install.md - machine-dependent
	  functions.

Lots of this can likely be shared with the upgrade script, too.  (Like, 
for example, all of the NFS, CD-ROM, FTP, etc functions which are 
basically identical in the install and upgrade scripts...)

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939
