Subject: Re: CVS commit: src/etc
To: Sean Davis <dive@endersgame.net>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/13/2003 15:36:27
On Tue, May 13, 2003 at 01:32:54AM -0400, Sean Davis wrote:
  | On Tue, May 13, 2003 at 03:29:18PM +1000, Luke Mewburn wrote:
  | > On Mon, May 12, 2003 at 11:46:33PM -0400, Sean Davis wrote:
  | >   | Does this fix the issue where postinstall complains if /var/db/obsolete
  | >   | exists but is empty?:
  | > 
  | > Probably not.
  | > 
  | > The question is, how are you building so that you don't have a populated /var/db/obsolete?
  | 
  | I run a script I wrote that does build.sh to a destdir, pax's up rescue,
  | libexec, lib, bin, sbin, and usr, and then install that via cd / && pax
  | -zrvpe -f /path/to/userland.tgz. that way i can just install from that .tgz
  | on other i386 machines here. I then run etcupdate. /var/db/obsolete was
  | initially created by /etc/postinstall at the end of an etcupdate a while
  | back, and this has been going on since then.

So add destdir/var/db/obsolete to your .tgz file lists.
/var/db/obsolete is part of the base set.

For that matter, why don't you just build the sets (build.sh has a friendy "sets" target :)
and install from those?

Luke.