Subject: Re: bootstrap-pkgsrc: $pkgdbdir vs. /var/db/pkg
To: Jan Schaumann <jschauma@netmeister.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 11/24/2002 04:33:27
On Sat, 23 Nov 2002, Jan Schaumann wrote:
> > I think that the pkg_info (etc.) built by bootstrap-pkgsrc should use
> > $pkgdbdir by default, and not use /var/db/pkg. The patch below does this.
> > Can someone please review & commit?
>
> I haven't tried it, but shouldn't pkg_install do TRT since in
> bootstrap-pkgsrc/bootstrap, before we even build pkg_install, the
> variable PKG_DBDIR is initialized to $pkgdbdir (passed as a command-line
> argument) and exported ?
>
> Only if $pkgdbdir is not set on the command-line to boostrap is
> DEF_LOG_DIR used, I believe.

I had --pkgdbdir set, and it didn't get passed on properly.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/