[oe] Hash based SCMs and OpenEmbedded/Bitbake

Holger Freyther zecke at selfish.org
Wed Sep 3 23:17:38 UTC 2008


On Wednesday 03 September 2008 19:39:39 Koen Kooi wrote:

> > Issue: The PV says something like PV = "1.0.0+gitr${SRCREV}". Now the
> > SRCREV is fixed and will not go through the python hook. So the resulting
> > package will be PV = "1.0.0+gitrdeadbeef" and if you want to upgrade to
> > the ref "affe" you will have a package called "1.0.0+gitraffe" which is
> > not upgradable.
>
> The trick I have been lately:
>
> PV = "0.0+${PR}+gitr${SRCREV}"
>
> You increment PR everytime you bump SRCREV. Ugly, but works quite well :)

I have seen that in the neuros recipes and removed that... I don't want to say 
what I thought when I saw this the first time.... :)




More information about the Openembedded-devel mailing list