Date: Mon, 7 Aug 2006 17:12:29 +0200 From: cpghost <cpghost@cordula.ws> To: RW <list-freebsd-2004@morbius.sent.com> Cc: freebsd-questions@freebsd.org Subject: Re: Using pre-built packages with portmanager Message-ID: <20060807151229.GA8243@epia2.farid-hajji.net> In-Reply-To: <200608071603.01848.list-freebsd-2004@morbius.sent.com> References: <20060805171645.GA948@epia2.farid-hajji.net> <200608071603.01848.list-freebsd-2004@morbius.sent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 07, 2006 at 04:03:00PM +0100, RW wrote: > On Saturday 05 August 2006 18:16, cpghost wrote: > > Building packages for multiple machines on a fast CPU, > > with portmanager's -bu option populates a /usr/ports/packages tree. > > So far, so good. > > > > What I'd like though, is to be able to reuse that tree (mounted via > > NFS or rsynced over) on other machines with much slower CPUs. > > > > The fast build machine and the other slow machines are not synchronized > > w.r.t. the set of installed ports. What is needed is that portmanager > > uses packages from /usr/ports/packages if available, and compiles from > > source the remaining ports. > > A key design feature of portmanager is that everything is built with > up-to-date dependencies, having this kind of feature would, in general, > defeat that. Why would that? The port trees themselves are synchronized; just the set of installed ports ain't. The packages generated on the different machines are absolutely identical AFAICS; including their dependencies. There's no point in recompiling them separately if the result is the same on all machines. That's why I'd like to reuse the newly created packages. > In any case according to the man page -b means "Keep backup packages of the > old versions." >From portmanager(1): -bu or --back-up Make packages of updated ports The new/updated ports are being created with pkg_create(1) (after compilation). It's not about old versions... Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060807151229.GA8243>