Subject: Re: bootstrap-pkgsrc: $pkgdbdir vs. /var/db/pkg
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 11/23/2002 22:32:44
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de> 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.
-Jan
--
Except most of the good bits were about frogs, I remember that.
You would not believe some of the things about frogs.