Subject: Re: Would pkgviews be appropriate for build-new-before-replace of, say, kde?
To: None <email@example.com>
From: Marc Tooley <netbsdMLposterNO@SPAM.quake.ca>
Date: 03/29/2004 10:28:59
On Monday 29 March 2004 10:16, Michal Pasternak wrote:
> Marc Tooley [Mon, Mar 29, 2004 at 10:06:26AM -0800]:
> > Or, is there some way to set LOCALBASE (and some other variable I'm
> > not aware of) to somewhere else to start with a simulated "clean
> > slate" as it were, and then when the complete builds are finished,
> > delete the old packages and rename the new build directories..?
> IMO easiest way is to create a chroot with "clean" / and /usr, then
> use mount_null to mount needed directories under it (eg. /usr/pkgsrc,
> but no /var/db/pkg and no /usr/pkg, of course).
Oh, piece of cake. Just thought there might be something quicker, so to
speak. :) Like an environment variable. Fine solution though. Thanks
for the note.