Subject: Re: groff/-current build problems
To: Luke Mewburn <lukem@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: current-users
Date: 12/08/2002 00:00:45
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.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>