From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www.xora.org.uk ([80.68.91.202] helo=xora.vm.bytemark.co.uk) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1P5Gsi-000087-JH for openembedded-devel@lists.openembedded.org; Mon, 11 Oct 2010 13:49:29 +0200 Received: from localhost (localhost [127.0.0.1]) by xora.vm.bytemark.co.uk (Postfix) with ESMTP id 4B953A47F5 for ; Mon, 11 Oct 2010 12:49:04 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at xora.vm.bytemark.co.uk Received: from xora.vm.bytemark.co.uk ([127.0.0.1]) by localhost (xora.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mx8tfbYaPmQe for ; Mon, 11 Oct 2010 12:49:03 +0100 (BST) Received: from [192.168.1.10] (188-220-34-37.zone11.bethere.co.uk [188.220.34.37]) by xora.vm.bytemark.co.uk (Postfix) with ESMTPSA id 9DDAFA47A9 for ; Mon, 11 Oct 2010 12:49:03 +0100 (BST) Message-ID: <4CB2F9AF.6000607@xora.org.uk> Date: Mon, 11 Oct 2010 12:49:03 +0100 From: Graeme Gregory User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4CB2F93C.2060609@xora.org.uk> In-Reply-To: <4CB2F93C.2060609@xora.org.uk> X-Enigmail-Version: 1.1.1 X-SA-Exim-Connect-IP: 80.68.91.202 X-SA-Exim-Mail-From: dp@xora.org.uk X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: git & SRCREV X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2010 11:49:29 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 11/10/2010 12:47, Graeme Gregory wrote: > On 11/10/2010 12:45, Frans Meulenbroeks wrote: >> Roughly once a week i see a question on irc about someone getting a >> git error: "fatal: not a valid object name 1" >> this is because SRCREV is not defined for e.g. that machine. >> What about extending bitbake (guess it is in there) with an error >> message that more clearly explains the problem? >> > As 1 can never be valid for git, how about a if SRCREV==1 then exlode in > git.bbclass > Of course I meant the git class in the fetcher in bitbake :-) G