Subject: Re: running (DE)INSTALL scripts vs. noexec mounted /var
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 11/13/2001 10:17:09
On Tue, 13 Nov 2001, Hubert Feyrer wrote:

> On Mon, 12 Nov 2001, David Brownlee wrote:
> > 	If everyone was in an xpkgwedge world (I know... "if"), that would
> > 	be less of a problem.
> >
> > 	${PREFIX}/cross should be just a special case of ${PREFIX} and
> > 	have the pkg DB in the same place. /usr/X11R6 is a PITA, and
> > 	unless we force xpkgwedge (which I would like, but its maybe
> > 	a little much) its probably best to keep its pkgdb in PREFIX.
>
> The crosscompile code uses it's own base directory, CROSSBASE, at least it
> did when I looked last. That can be set to something VERY different than
> /usr/pkg (== LOCALBASE), and thinking of it as some special case of the
> latter will probably break many things.

	We currently have a single package dir in /var/db/pkg - at the
	worst case the same mechanism should work as ${PREFIX}/db (or
	similar), with a little checking of code.

-- 
		David/absolute		-- www.netbsd.org: No hype required --