[718] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Changes to your install script.

daemon@ATHENA.MIT.EDU (John Hawkinson)
Wed Apr 19 06:52:17 1995

Date: Wed, 19 Apr 1995 10:51:50 GMT
To: ghudson@MIT.EDU
Cc: netbsd-dev@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>


I spent far too much time tonight working on the install script.
Most of my time was wasted getting the *$%@#$% /usr/src/distrib
stuff to work right, and I ended up doing the build into AFS.
This was probably a poor idea, since chrunchgen built a whole lot
of stuff in its source directories, but...

I've decided to leave the cruft around just in case more work
should be done (don't want to rebuild the whole damn thing).

Attached is the rlog from install.sh, where the bulk of the
changes were; it should clarify things. Most important is
probably auto link-flag detection. 

Incidently, at the end I noticed the script suggests the user
should type ``halt'', but when I tried that, I got the whole
list of ``instbin'' commands (including reboot and shutdown, both
of which seem far more reasonable than reboot), but no halt.
Does that mean I built the dist wrong?

Interestingly enough, your script doesn't instruct people to change
the root password, or prompt for one, but it advises them to
reboot the machine (presumably into "multiuser mode"). This is
poor, since then the machine comes up with no root password.

--jhawk


RCS file: RCS/install.sh,v
Working file: install.sh
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 1995/04/19 10:39:57;  author: jhawk;  state: Stab;  lines: +56 -20
Changes:
*	Cleaned up phrasing on hostname/NIS/YP questions
*	Changed "network interfaces" to "external network interfaces"
*	Interfaces have names, but not hostnames :-)
*	Ask for IP addresses of *interfaces* not *machines*
*	Apply detailed (decmips-derived) heuristic to determine
	proper subnet mask, default router, and broadcast address.
*	Implement guessing for interface flags (automagic, but slow)
*	Give a time estimate before starting to untar (10 minutes; I
	clocked it as taking about 8.5 minutes for the tarballs, and
	then another full minute on MAKEDEV).
*	Print a period every 3rd file when un-tarring.

Outstanding issues:
*	Kicking some of these into Configure().
*	Handing back some of these to the NetBSD project
*	Brief instructions on how to perform the Athena
	installation should be provided at the end of the script,
	as well as an option to continue.
*	Script should have an "ask-me-the-questions-up-front" mode
	for unattended installation. This should happen while the
	hard drive questions are asked.
*	Partitioning should be automated. At the very least, the
	NetBSD disklabel stuff should have sane defaults.
*	The script should advertise netbsd-help@mit.edu and perhaps
	253-7788 as a source of further information. Remember not
	everyone with the software will have read, or had access to,
	the docs. (FOAF syndrome).
----------------------------
revision 1.2
date: 1995/04/19 06:45:24;  author: ghudson;  state: Exp;  lines: +167 -15
(checked in by jhawk) Interim version.
----------------------------
revision 1.1
date: 1995/04/16 21:19:16;  author: ghudson;  state: Exp;
Initial revision
=============================================================================


home help back first fref pref prev next nref lref last post