[oe] git & SRCREV

Graeme Gregory dp at xora.org.uk
Mon Oct 11 11:47:08 UTC 2010


 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

Graeme





More information about the Openembedded-devel mailing list