From: Ian Jackson Subject: Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir Date: Wed, 16 Jul 2014 11:18:28 +0100 Message-ID: <21446.20852.804852.321588@mariner.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> <1405505186.7019.45.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X7MIi-0006xU-8z for xen-devel@lists.xenproject.org; Wed, 16 Jul 2014 10:19:04 +0000 In-Reply-To: <1405505186.7019.45.camel@kazak.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 Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir"): > 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"): > > > 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? No. build_clone always gives you a fresh tree. ts-xen-build always builds in a directory from build_clone. The rumpuserxen xen.git build is done (also, must be done) in a tree which has not had any ordinary build done in it. > Perhaps prepbuilddirs should take a list of paths to clean? That would be fine if it was in fact necessary to use that feature :-). Ian.