From owner-freebsd-current@FreeBSD.ORG Tue Jan 26 13:05:04 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B01D106568F for ; Tue, 26 Jan 2010 13:05:04 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id E8D5F8FC08 for ; Tue, 26 Jan 2010 13:05:03 +0000 (UTC) Received: from [195.4.92.14] (helo=4.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NZl6M-0004Lt-OT; Tue, 26 Jan 2010 14:05:02 +0100 Received: from p57ae1443.dip0.t-ipconnect.de ([87.174.20.67]:52270 helo=ernst.jennejohn.org) by 4.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NZl6M-0006OA-ET; Tue, 26 Jan 2010 14:05:02 +0100 Date: Tue, 26 Jan 2010 14:04:59 +0100 From: Gary Jennejohn To: David Naylor Message-ID: <20100126140459.61e3951d@ernst.jennejohn.org> In-Reply-To: <201001252039.16220.naylor.b.david@gmail.com> References: <201001231233.18832.naylor.b.david@gmail.com> <201001252039.16220.naylor.b.david@gmail.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.16.2; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: "tinderbox" using stacked unionfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 13:05:04 -0000 On Mon, 25 Jan 2010 20:39:11 +0200 David Naylor wrote: > On Saturday 23 January 2010 12:33:14 David Naylor wrote: > > Hi, > > > > I have been experimenting with using unionfs to build ports in a > > "tinderbox" environment. This avoids having to remove and extract files > > for the build of each port and it allows the discovery of > > installed/modified files by the port. > > > > Please see attached for a (updated) shell script that handles all the > > "heavy lifting" of building ports. Of importance is LOCALBASE and > > BUILDDIR. If you want to override LOCALBASE please use `env` as the > > script needs to know about it. BUILDDIR (/usr/build by default) is where > > the script stores everything (including PKG_DBDIR). > > Please see attached for an updated script. This no longer uses `sort -u` but > removed duplicates while maintaining dependency order. (See below) > ENOSCRIPT --- Gary Jennejohn