Subject: Re: groff/-current build problems
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 12/08/2002 19:08:56
On Sun, Dec 08, 2002 at 12:00:45AM -0800, Jason Thorpe wrote:
  | On Sun, Dec 08, 2002 at 06:37:50PM +1100, Luke Mewburn wrote:
  | 
  |  > I regularly upgrade my systems from "old -current" or "earlier release"
  |  > to "-current" or "head of release branch" by running an UNPRIVED
  |  > DESTDIR!=/ build, creating the sets, extracting all sets *except*
  |  > etc.tgz, and then running one of:
  |  > 
  |  >     a)	if sources are available:
  |  > 		cd /usr/src
  |  > 		./etc/postinstall -s `pwd` check
  |  > 		./etc/postinstall -s `pwd` fix
  |  > 
  |  >     b)	if no sources available, but I have etc.tgz:
  |  > 		mkdir /tmp/foo
  |  > 		cd /tmp/foo
  |  > 		pax -zrvpe -f /path/to/etc.tgz
  |  > 		./etc/postinstall -s `pwd` check
  |  > 		./etc/postinstall -s `pwd` fix
  |  > 		cd /
  |  > 		rm -rf /tmp/foo
  | 
  | Oh, yah, that's really a lot simpler than the automatic check at the
  | end of a build.

cd /usr/src && make postinstall-check

'oooh, really hard'...