Subject: Re: build followed by install can die?
To: Luke Mewburn <lukem@netbsd.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: current-users
Date: 06/26/2003 22:11:04
    Date:        Fri, 27 Jun 2003 00:31:41 +1000
    From:        Luke Mewburn <lukem@netbsd.org>
    Message-ID:  <20030626143141.GA13538@mewburn.net>

  |   | But, my real question is, what target should be used to ENSURE that 
  |   | everything is in good order, and install=/ should not fail?
  | 
  | "distribution" ?

I'd do (I do do) "release" - actually bulding the tarballs pretty much
guarantees that all the files expected for the distribuion sets exist
correctly.   The nice side effect of having a release format set of
files that can trivially be copied onto CD is an additional benefit.

For the other side of this, after booting the new kernel, I run all the
basic stuff by doing a "chroot $DESTDIR" and making sure that there are
no obvious problems (aside from the ones to be expected from not running
in the real root directory - other random directories can be null-mounted
so the system looks complete - has /usr/pkg, a real /var, and all that stuff).

That gives a pretty good feeling that when installed, the system will work
well enough at least to build a replacement system, if bugs are found.

kre