Subject: Re: Adding DESTDIR support to pkg_add
To: Hubert Feyrer <>
From: Moinak Ghosh <Moinak.Ghosh@Sun.COM>
List: tech-pkg
Date: 01/10/2006 21:26:57
Hubert Feyrer wrote:

> On Tue, 10 Jan 2006, Moinak Ghosh wrote:
>>  distribution and was thinking of doing a chroot for harddisk 
>> install. But this will
>>  require copying a minimal chroot environment to harddisk prior to 
>> running Pkgsrc
>>  to install the system packages.
> Do you understand that pkgsrc is for compiling only,
> and that pkg_add is for binary (precompiled) packages?
> Seriously, I don't think you want pkgsrc (== compiling) when installing
> a system. Unless you're Gentoo. ;)
> In summary, this should benefit your system, too.

   Indeed, that is what I was pointing out. Having DESTDIR will benefit 
   as  well. I'd like the installer to deal with binary packages during 
install and not
   having DESTDIR will require chroot tricks for pkg_add. Just apply a
   s/Pkgsrc/pkg_add/g  to my earlier email :)


>  - Hubert