From: Ian Campbell Subject: Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir Date: Wed, 16 Jul 2014 11:06:26 +0100 Message-ID: <1405505186.7019.45.camel@kazak.uk.xensource.com> References: <1405437747-12753-1-git-send-email-ian.jackson@eu.citrix.com> <1405437747-12753-5-git-send-email-ian.jackson@eu.citrix.com> <1405502349.7019.7.camel@kazak.uk.xensource.com> <21446.19665.778768.287305@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X7M6Z-0005CW-7B for xen-devel@lists.xenproject.org; Wed, 16 Jul 2014 10:06:31 +0000 In-Reply-To: <21446.19665.778768.287305@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-16 at 10:58 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir"): > > On Tue, 2014-07-15 at 16:22 +0100, Ian Jackson wrote: > > > Make prepbuilddirs no longer delete $builddir; instead: > > > - have prepbuilddirs delete *-stamp files and dist/; > > > - have build_clone delete the specific source directories; > > > - any individual ts-*-build scripts that use other things > > > would have to delete them (but searching for $builddir > > > reveals none). > > > > Is it also implied that ts-*-build ought to do some sort of "make clean" > > like thing? Deleting dist is only really relevant for ts-xen-build I > > think, e.g. I don't think ts-kernel-build uses it. > > No, because the builds all happen in trees which have been recloned. You mean that currently happens to be the case for ts-foo-build for foo != xen, for Xen you are in the process or making this not hold, I think? Perhaps prepbuilddirs should take a list of paths to clean? Ian.