Date: Thu, 25 Aug 2005 14:01:48 -0400 From: Vivek Khera <vivek@khera.org> To: FreeeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Sharing /usr/ports between RELENG_6 and RELENG_5 Message-ID: <69AC86FC-2711-41F3-A15D-28E29933553E@khera.org> In-Reply-To: <wtzhjCHxNgDDFwLR@lap.knigma.org> References: <wtzhjCHxNgDDFwLR@lap.knigma.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 25, 2005, at 1:44 PM, Mark Knight wrote: > Up until today I had two RELENG_5 machines sharing /usr/ports via NFS. > Each night one does a cvsup and a portsdb -uU. > > I have just upgraded the NFS client to RELENG_6 (painless enough :). > However, now a couple of questions arise: > > 1) Can the RELENG_5 machine create INDEX-6 as well as INDEX-5? Yes. Your script that runs portsdb -uU should be changed to something like this: cd /usr/ports make fetchindex env INDEXFILE=INDEX make fetchindex env INDEXFILE=INDEX-6 make fetchindex portsdb -u this gets the INDEX INDEX-5 and INDEX-6 files (I run on a 5.4 machine so the default is to get the INDEX-5 file, then builds the .db file from INDEX-5 which is ok enough for portupgrade to run. > > 2) At the moment INDEX.db is shared; I presume this is bad. > Can I > persuade one machine to use INDEX-6.db everywhere? Don't know, and don't care. It seems to work ok :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69AC86FC-2711-41F3-A15D-28E29933553E>