[oe] Default SRCREV value

Holger Freyther zecke at selfish.org
Thu Mar 20 00:20:47 UTC 2008


On Thursday 20 March 2008 00:50:35 Philip Balister wrote:

> Setting SRCREV to 1 is not a good solution, but it is better than all
> the alternatives. Personally, I wish bitbake would print a HUGE message
> when it tries to fetch a SRCREV of 1 telling people to update a
> preferred version file or add AUTOREV to a local conf file.

Or as Mikhail suggested:
${@bb.fatal("You want to specify a sane srvrev")}

The only down-side I can think of, now parsing will fail for a recipe you do 
not even care for in your distribution, with having a default value 1 you 
just parse fine.


z.




More information about the Openembedded-devel mailing list