From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TZOkg-00038r-Bo for openembedded-core@lists.openembedded.org; Fri, 16 Nov 2012 17:26:46 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id qAGGCmVY001104; Fri, 16 Nov 2012 16:12:48 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01049-01; Fri, 16 Nov 2012 16:12:44 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id qAGGCcuA001096 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 16 Nov 2012 16:12:39 GMT Message-ID: <1353082360.3709.108.camel@ted> From: Richard Purdie To: Otavio Salvador Date: Fri, 16 Nov 2012 16:12:40 +0000 In-Reply-To: References: <1353079960.3709.93.camel@ted> X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: openembedded-core Subject: Re: [PATCH] sstate: Implement a setscene dependency validation routine to allow skipping of some sstate installation X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 16:26:46 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2012-11-16 at 13:58 -0200, Otavio Salvador wrote: > On Fri, Nov 16, 2012 at 1:32 PM, Richard Purdie > wrote: > This is a first attempt at logic to determine when a sstate > dependency needs > to be installed and when it does not. Its a start at the logic > and errs on the > > s/errs/errors/ It is actually meant to be errs :) > + # do_package_write_* and do_package doesn't need > do_package > + if taskdependees[task][1] == "do_package" and > taskdependees[dep][1] in ['do_package', > 'do_package_write_deb', 'do_package_write_ipk', > 'do_package_write_rpm']: > + continue > > I understand why you does this but it would be better if we had a > central place to have the do_package_write_$pkg recorded or when > adding new type this could be forgotten. Its a nice idea but I can't see any practical way to do this at the moment. Cheers, Richard