Subject: Re: alternate pkg tree
To: Urban Boquist <>
From: James K. Lowden <>
List: tech-pkg
Date: 11/09/2002 11:51:24
On Sat, 9 Nov 2002 11:47:40 +0100, Urban Boquist <>
> >>  This functionality already exists, just use
> >pkgsrc/mk/bulk/mksandbox.
> James> The only trick appears to be merging the
> James> /etc directories, if need be.
> The easiest is probably to build binary packages, as someone else
> mentioned. I.e., just use "make package" instead of "make
> install". After that your "recipe" for switching over to the new
> packages would be something like:
> 	  mv /usr/pkg /usr/pkg.old
> 	  mv /var/db/pkg /var/db/pkg.old
> 	  pkg_add /usr/pkgsrc/packages/All/*
> The /etc files will be taken care of by pkg_add just as for a "make
> install".
> James> Should Packages.txt be updated to mention this script?

Thanks again, Urban.  If I get it to work (and thus understand and have
some experience), I'll send a patch for Packages.txt.